Skip to content
/ HPscan Public

Scan hosts & port,using python socket & threading

Notifications You must be signed in to change notification settings

36huo/HPscan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

HPscan V1.0 By 36huo

Scan hosts & port,using python socket & threading

Usage

python2 HPscan.py -i ipaddress [-p port] [-P max-procs] [-t timeout]

-h: help

-i: ip address,like: 192.168.0.1, 192.168.0.100-200, 192.168.2.1/25 default:127.0.0.1

-p: port,like: 22:80-81 default: 80

-P: max-procs default: 400

-t: socket timeout(seconds) default: 3

Output

OPEN! Tcp port open

10061 - Connection refused

10049 - Cannot assign requested address

Example

python2 HPscan.py -i 192.168.1.0/24

python2 HPscan.py -i 192.168.1.0/24 -p 22,80 -P 200 -t 4

python2 HPscan.py -i 192.168.1.1,192.168.1.0/24,192.168.2.1-14 -p 22,80-88 -P 400 -t 2

About

Scan hosts & port,using python socket & threading

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages