https://github.com/zema1/pscanner
A simple and convenient PortScanner written in Python3
https://github.com/zema1/pscanner
Last synced: 12 months ago
JSON representation
A simple and convenient PortScanner written in Python3
- Host: GitHub
- URL: https://github.com/zema1/pscanner
- Owner: zema1
- Created: 2016-12-16T03:48:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-16T03:49:53.000Z (over 9 years ago)
- Last Synced: 2025-03-01T00:35:48.022Z (over 1 year ago)
- Language: Python
- Size: 48.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Simple PortScanner
> 在轮子上造轮子
## 简介
尝试以优美的Python语法来写一个简易而顺手的端口扫描器。
## 用法
```python
python3 pscaner.py -h
Usage: python pscaner.py -t -p
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-t TARGET_HOST, --target=TARGET_HOST
specify target host(s)
-p TARGET_PORT, --port=TARGET_PORT
: Only scan specified ports
--thread=THREAD specify thread count
```
默认线程是30, 若不指定端口,将扫描最常见的几十个端口
端口指定支持两种方式:
+ 10-100
+ 100, 200, 300,
## 感谢
+ [https://github.com/OpenFireTechnologies/PortScanner](https://github.com/OpenFireTechnologies/PortScanner)
+ [https://github.com/chprice/PortScanner](https://github.com/chprice/PortScanner)