RedTeamGuides

RedTeamGuides

Awesome Maltego Transforms

Reza's avatar
Reza
Jan 26, 2025
∙ Paid

Cover by: Andreas Rocha

Local Port Scanner


	def extract_open_ports(nmap_output):
	    open_ports = []
	    for line in nmap_output.splitlines():
	        if "open" in line:
	            port = line.split("/")[0]
	            open_ports.append(port)
	    return open_ports
	
	
	
	class PortNumber(DiscoverableTransform):
	
	
		@classmethod
		def create_enti…
User's avatar

Continue reading this post for free, courtesy of Reza.

Or purchase a paid subscription.
© 2026 RedTeamGuides · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture