Skip to content

Commit

Permalink
feat: use version first, to enable better sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterMosmans committed May 28, 2020
1 parent 10e5e4f commit 3692207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyze_hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def preflight_checks(options):
if tool == 'droopescan':
version = 'stats'
result, stdout, stderr = execute_command([get_binary(tool), version], options)
options[f"{tool}_version"] = stdout
options[f"version_{tool}"] = stdout
if not result:
if tool == 'nmap':
if not options['dry_run'] and not options['no_portscan']:
Expand Down

0 comments on commit 3692207

Please sign in to comment.