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
8 changes: 1 addition & 7 deletions analyze_hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,8 @@
import time
import warnings


try:
import nmap
except ImportError:
print(
"[-] Please install python-nmap, e.g. pip3 install python-nmap", file=sys.stderr
)
sys.exit(-1)
try:
import requests
import yaml
import Wappalyzer
Expand All @@ -45,6 +38,7 @@
file=sys.stderr,
)
sys.stderr.flush()
sys.exit(-1)

# Workaround for https://github.com/chorsley/python-Wappalyzer/issues/40
warnings.simplefilter("ignore")
Expand Down