https://github.com/j3ers3/cscan
🐝 C段快速扫描工具 Cscan
https://github.com/j3ers3/cscan
cscan hacktool pentest portscan scanner
Last synced: 5 months ago
JSON representation
🐝 C段快速扫描工具 Cscan
- Host: GitHub
- URL: https://github.com/j3ers3/cscan
- Owner: j3ers3
- Created: 2020-06-07T13:47:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-26T09:36:42.000Z (over 3 years ago)
- Last Synced: 2025-04-09T08:51:16.285Z (12 months ago)
- Topics: cscan, hacktool, pentest, portscan, scanner
- Language: Python
- Homepage:
- Size: 1.33 MB
- Stars: 96
- Watchers: 2
- Forks: 20
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🍺 Cscan  [](http://www.python.org/download/) 
🔧 一款C段扫描工具,支持python3.7以上
- ~~V1版本已废弃~~
- V2版本使用协程重构
> 线程过大会导致丢包
## 1. Install
```
git clone https://github.com/j3ers3/Cscan
pip3 install -r requirement.txt
```
## 2. 配置端口(可选)
- web端口: `Ports_web = [80, 8080]`
- 非web端口:`Ports_other = [21, 22, 3306]`
## 3. Usage
- 普通扫描
```python
python3 cscanV2.py -i 192.168.0.1/24
```

- 只扫描web端口,并使用安静模式
```python
python3 cscanV2.py -i 192.168.0.1/24 -t 100 -web -q
```
- 扫描web端口,并指定路径来发现敏感信息
```python
python3 cscanV2.py -i 192.168.0.1/24 -web -path /phpinfo.php
python3 cscanV2.py -f domain.txt -web -path /phpinfo.php
```


## 4. ChangeLog
#### 2.2.0
- 添加`-key`匹配关键内容
- 添加`-ip` 输出目标IP
- 添加`-port` 指定自定义端口
- 优化了文件模式输出
#### 2.1.1
- 修复了一些bug
#### v2.1.0
- 增加`-path`指定路径扫描
- 增加`-web`只扫描web端口
- 增加`-q`安静模式
- 做了一些优化输出
- 修复了http头信息错误