xhycccc / httpscan

httpscan改进版

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

httpscan V1.1

Update log

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

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

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

    每行是一个json字符串,包含ipaddrports字段。其中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                          |
+---------------------+------+--------------------+------------------------------+

About

httpscan改进版


Languages

Language:Python 100.0%