Skip to content

Commit

Permalink
Resolves #1
Browse files Browse the repository at this point in the history
  • Loading branch information
s0md3v authored Dec 18, 2019
1 parent 839414b commit cd04661
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions silver.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@

hostfile = ''
if not host:
host = ' '
hostfile = '-iL ' + input_file
else:
host = ' %s ' % host

use_cpe = True
if method == 'software':
Expand All @@ -67,6 +70,7 @@
exclude = ' --exclude ' + ','.join(exclude) + ' '
else:
exclude = ''

os.system('masscan %s -p%s --rate 10000 -oG %s %s%s>/dev/null 2>&1' % (host, ports_to_scan, savefile, hostfile, exclude))
master_db = parse_masscan(savefile)
for host in masscan_saved:
Expand Down

0 comments on commit cd04661

Please sign in to comment.