Skip to content
 
 

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

httpscan V1.2

Update log

  1. 改为python3

  2. 增加支持指定端口范围扫描。

  3. 增加指定文件扫描。文件格式为:

    {"ipaddr":"192.168.62.201","ports":[80,8080]}
    {"ipaddr":"192.168.62.202","ports":[80,8080]}
    ...
    

    每行是一个json字符串,包含ipaddrports字段。其中ports的值为数组。

Usage

python3 httpscan.py IP/CIDR –t threads -p portrange

python3 httpscan.py -f xxx.txt

Example:

python3 httpscan.py 10.20.30.0/24 –t 10 -p 80,443

python3 httpscan.py 10.20.30.0/24 –t 10 -p 8000-8080

python3 .\httpscan.py -f .\conf\ip.txt

httpscan> python3 .\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                          |
+---------------------+------+--------------------+------------------------------+

About

httpscan改进版

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages