Super PortScan是一款Python编写的高效端口扫描器,可对IP和IP段进行批量扫描,报告生成可以提供TXT文本文件和HTML文件。
_____ _____ _ _____
/ ____| | __ | | / ____|
| (___ _ _ _ __ ___ _ __ | |__) |__ _ __| |_| (___ ___ __ _ _ __
___ | | | | '_ / _ '__| | ___/ _ | '__| __|___ / __/ _` | '_
____) | |_| | |_) | __/ | | | | (_) | | | |_ ____) | (_| (_| | | | |
|_____/ __,_| .__/ ___|_| |_| ___/|_| __|_____/ _____,_|_| |_|
| |
|_|
github: https://github.com/qianxiao996/Super-PortScan
Usage: Super-PortScan.py [OPTIONS]
Options:
--version Show the version and exit.
-i, --ip TEXT 输入一个或一段ip,例如:192.168.1.1、192.168.1.1/24、192.168.1.1
-99
-f, --file TEXT 从文件加载ip列表
-p, --port TEXT 定义扫描的端口,例如:80、80,8080、80-8000
-pf, --port_file TEXT 从文件加载端口列表,使用逗号分隔
-rp, --remove_port TEXT 定义排除的端口,例如:25,110
-jp, --jump_port 跳过主机发现
-to, --timeout INTEGER 设置超时时间 [default: 1]
-v, --verbose 显示详细信息
-t, --threads INTEGER 定义扫描的线程 [default: 400]
--txt TEXT 定义输出文本文件
--html TEXT 定义输出html文件
--help Show this message and exit.
- 使用方式 -
python3 Super-PortScan.py -i 127.0.0.1
python3 Super-PortScan.py -i 127.0.0.1-200 -p 80
python3 Super-PortScan.py -i 127.0.0.1/24 -p 80,8080
python3 Super-PortScan.py -i 127.0.0.1 -p 80-999
python3 Super-PortScan.py -i 127.0.0.1 -p 80,111,45-222
ip.txt:
127.0.0.1/24
127.0.0.2
127.0.0.3
python3 Super-PortScan.py -f ip.txt
python3 Super-PortScan.py -i ip.txt -p 80
python3 Super-PortScan.py -f ip.txt -p 80,8080
python3 Super-PortScan.py -f ip.txt -p 80-999
python3 Super-PortScan.py -f ip.txt -p 80,111,45-222
python3 Super-PortScan.py -i 127.0.0.1 -v #显示扫描的全部端口
python3 Super-PortScan.py -i 127.0.0.1 -t 100 #执行线程
python3 Super-PortScan.py -i 127.0.0.1:443 #单端口扫描
python3 Super-PortScan.py -i 127.0.0.1:443 -v
ip_port.txt:
127.0.0.1-3:443
127.0.0.1/24:443
127.0.0.1-3:442-443
127.0.0.1/24:442-443
python3 Super-PortScan.py -f ip_port.txt --ip-port
#报告生成:
python3 Super-PortScan.py -i 127.0.0.1 --txt result.txt
python3 Super-PortScan.py -i 127.0.0.1 --html result.html #数据量较大时不建议使用html。
- 效果展示 -
- 项目地址 -
https://github.com/qianxiao996/Super-PortScan
原文始发于微信公众号(安全攻防渗透):优质工具1:Super PortScan【信息收集-端口扫描】
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论