httpscan V1.1
Update log
-
增加支持指定端口范围扫描。
-
增加指定文件扫描。文件格式为:
{"ipaddr":"192.168.62.201","ports":[80,8080]} {"ipaddr":"192.168.62.202","ports":[80,8080]} ...
每行是一个
json
字符串,包含ipaddr
和ports
字段。其中ports
的值为数组。
Usage
python httpscan.py IP/CIDR –t threads -p portrange
或
python httpscan.py -f xxx.txt
Example:
python httpscan.py 10.20.30.0/24 –t 10 -p 80,443
python httpscan.py 10.20.30.0/24 –t 10 -p 8000-8080
python .\httpscan.py -f .\conf\ip.txt
httpscan> python .\httpscan.py 192.168.62.201 -p 80,8080
+---------------------+------+--------------------+------------------------------+
| IP |Status| Server | Title |
+---------------------+------+--------------------+------------------------------+
|192.168.62.201:8080 |401 |Oracle XML DB/Oracle|None |
+---------------------+------+--------------------+------------------------------+
|192.168.62.201:80 |200 |Apache/2.4.39 (Win64|None |
+---------------------+------+--------------------+------------------------------+
httpscan> python .\httpscan.py -f .\conf\ip.txt
+---------------------+------+--------------------+------------------------------+
| IP |Status| Server | Title |
+---------------------+------+--------------------+------------------------------+
|192.168.62.201:8080 |401 |Oracle XML DB/Oracle|None |
+---------------------+------+--------------------+------------------------------+
|192.168.62.201:80 |200 |Apache/2.4.39 (Win64|None |
+---------------------+------+--------------------+------------------------------+