Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
sys.exit(1)

print("masscan version: {}".format(mas.masscan_version))
mas.scan('192.168.1.1', ports='T:80,1900')
mas.scan('1.1.1.1', ports='T:80,1900')
print("masscan command line: {}".format(mas.command_line))
print('maascan has_host: {}'.format(mas.has_host("192.168.1.1")))
print('maascan has_host: {}'.format(mas.has_host("1.1.1.1")))
print(mas.scan_result)
for host in mas.all_hosts:
print("Host: %s %s" % (host, mas[host]))
Expand Down