-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,39 @@ | ||
# 🍺 Cscan ![Stage](https://img.shields.io/badge/Release-STABLE-brightgreen.svg) [![Python 3.7](https://img.shields.io/badge/Python-3.7-yellow.svg)](http://www.python.org/download/) ![Build Status](https://img.shields.io/badge/Version-2.0-red.svg) | ||
|
||
🔧 一款C段扫描工具,支持python3 | ||
🔧 一款C段扫描工具,支持python3.7以上 | ||
|
||
- ~~V1版本已废弃~~ | ||
- V2版本使用协程重构 | ||
|
||
> 线程过大会导致丢包 | ||
## Install | ||
## 1. Install | ||
``` | ||
git clone https://github.com/j3ers3/Cscan | ||
pip3 install -r requirement.txt | ||
配置端口 | ||
- web端口: Ports_web = [80, 8080] | ||
- 非web端口:Ports_other = [21, 22, 3306] | ||
``` | ||
|
||
## Usage | ||
- C段扫描 | ||
## 2. 配置端口 | ||
- web端口: `Ports_web = [80, 8080]` | ||
- 非web端口:`Ports_other = [21, 22, 3306]` | ||
|
||
``` | ||
|
||
## 3. Usage | ||
- C段扫描模式 | ||
|
||
```python | ||
python3 cscanV2.py -i 192.168.0.1/24 -t 100 | ||
``` | ||
<img src="./media/15915372292964.jpg" width="500" height="450"> | ||
|
||
|
||
- 域名或ip文件扫描 | ||
|
||
``` | ||
```python | ||
python3 cscanV2.py -f domain.txt -t 100 | ||
``` | ||
<img src="./media/15915374071366.jpg" width="600" height="400"> | ||
|
||
## ToDo | ||
## 4. ToDo | ||
- [ ] 优化输出 | ||
- [ ] 增加IP反查 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.