Awesome Maltego Transforms
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.

