Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

xhycccc/httpscan

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
16 Commits
 
 
 
 
 
 

Repository files navigation

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改进版

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.