对naabu的端口扫描结果,调用nmap进行指纹识别
127.0.0.1:22
127.0.0.1:80
127.0.0.1:8080
需要root权限
➜ sudo python3 scan.py -h
usage: scan.py [-h] [-f FILE] [-o OUTPUT]
please enter two parameters ...
optional arguments:
-h, --help show this help message and exit
-f FILE, --file FILE
-o OUTPUT, --output OUTPUT
➜ sudo python3 scan.py -f naabu_result.txt -o nmap_result.csv
保存为csv格式的文件
ip | port | name | product | version | extrainfo |
---|---|---|---|---|---|
127.0.0.1 | 8080 | http-proxy | Burp Suite Professional http proxy |