Skip to content

Commit b0e121f

Browse files
committed
Update README.md
1 parent 1d9e293 commit b0e121f

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

README.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,35 @@
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
```
1234
httpscan> 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

Comments
 (0)