11# httpscan V1.1
22
3- 增加支持指定端口范围扫描。
3+ ### Update log
44
5- ** Usage ** : ` python httpscan.py IP/CIDR –t threads -p portrange `
5+ 1 . 增加支持指定端口范围扫描。
66
7- Example:` python httpscan.py 10.20.30.0/24 –t 10 -p 80,443 `
7+ 2 . 增加指定文件扫描。文件格式为:
8+
9+ ```
10+ {"ipaddr":"192.168.62.201","ports":[80,8080]}
11+ {"ipaddr":"192.168.62.202","ports":[80,8080]}
12+ ...
13+ ```
14+
15+ 每行是一个` json ` 字符串,包含` ipaddr ` 和` ports ` 字段。其中` ports ` 的值为数组。
16+
17+ ## Usage
18+
19+ ` python httpscan.py IP/CIDR –t threads -p portrange `
20+
21+ 或
22+
23+ ` python httpscan.py -f xxx.txt `
24+
25+ Example:
26+
27+ ` python httpscan.py 10.20.30.0/24 –t 10 -p 80,443 `
828
929` python httpscan.py 10.20.30.0/24 –t 10 -p 8000-8080 `
1030
31+ ` python .\httpscan.py -f .\conf\ip.txt `
32+
1133```
1234httpscan> python .\httpscan.py 192.168.62.201 -p 80,8080
1335+---------------------+------+--------------------+------------------------------+
@@ -17,5 +39,13 @@ httpscan> python .\httpscan.py 192.168.62.201 -p 80,8080
1739+---------------------+------+--------------------+------------------------------+
1840|192.168.62.201:80 |200 |Apache/2.4.39 (Win64|None |
1941+---------------------+------+--------------------+------------------------------+
42+ httpscan> python .\httpscan.py -f .\conf\ip.txt
43+ +---------------------+------+--------------------+------------------------------+
44+ | IP |Status| Server | Title |
45+ +---------------------+------+--------------------+------------------------------+
46+ |192.168.62.201:8080 |401 |Oracle XML DB/Oracle|None |
47+ +---------------------+------+--------------------+------------------------------+
48+ |192.168.62.201:80 |200 |Apache/2.4.39 (Win64|None |
49+ +---------------------+------+--------------------+------------------------------+
2050```
2151
0 commit comments