RedTeamGuides

RedTeamGuides

Awesome Maltego Transforms

Reza's avatar
Reza
Jan 26, 2025
∙ Paid
Share

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…

Keep reading with a 7-day free trial

Subscribe to RedTeamGuides to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 RedTeamGuides
Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture