{"id":13585781,"url":"https://github.com/Leeon123/CC-attack","last_synced_at":"2025-04-07T10:31:42.945Z","repository":{"id":37432007,"uuid":"151080627","full_name":"Leeon123/CC-attack","owner":"Leeon123","description":"Using Socks4/5 or http proxies to make a multithreading Http-flood/Https-flood (cc) attack.","archived":false,"fork":false,"pushed_at":"2023-10-15T16:36:55.000Z","size":216,"stargazers_count":966,"open_issues_count":32,"forks_count":419,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-11-17T11:44:21.056Z","etag":null,"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"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Leeon123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-01T11:55:39.000Z","updated_at":"2024-11-16T23:50:24.000Z","dependencies_parsed_at":"2024-01-07T22:47:04.442Z","dependency_job_id":"e00fd7bd-c4f9-4fab-87f5-7f5cc486c94e","html_url":"https://github.com/Leeon123/CC-attack","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leeon123%2FCC-attack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leeon123%2FCC-attack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leeon123%2FCC-attack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leeon123%2FCC-attack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leeon123","download_url":"https://codeload.github.com/Leeon123/CC-attack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247636571,"owners_count":20970957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["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"],"created_at":"2024-08-01T15:05:08.565Z","updated_at":"2025-04-07T10:31:42.712Z","avatar_url":"https://github.com/Leeon123.png","language":"Python","readme":"       /////    /////    /////////////\n      CCCCC/   CCCCC/   | CC-attack |/\n     CC/      CC/       |-----------|/ \n     CC/      CC/       |  Layer 7  |/ \n     CC/////  CC/////   | ddos tool |/ \n      CCCCC/   CCCCC/   |___________|/\n\n# CC-attack ![](https://img.shields.io/badge/Version-3.7.1-brightgreen.svg) ![](https://img.shields.io/badge/license-GPLv2-blue.svg)\n A script for using socks4/5 or http proxies to attack http(s) server.\n\n News:\n- [x] Added Support of HTTP proxies\n- [x] Added More proxies api to download \n\n Info:\n- [x] Using Python3\n- [x] Added more human-like options\n- [x] Http Get/Head/Post/Slow Flood\n- [x] Random Http Header/Data\n- [x] Socks4/5 Proxies Downloader\n- [x] Socks4/5 Proxies Checker\n- [x] Customize Cookies\n- [x] Customize Post Data \n- [x] Support HTTPS\n- [x] Support Socks4/5\n\n## Showcase\nUsing multiproc.sh with socks4 on a vps\n![](https://i.imgur.com/KLJIZs8.png)\n\n## Install\n\n    pip3 install requests pysocks\n    git clone https://github.com/Leeon123/CC-attack.git\n    cd CC-attack\n\n## Usage\n\n    python3 cc.py \u003carguments\u003e\n\n```\n===============  CC-attack help list  ===============\n   -h/help   | showing this message\n   -url      | set target url\n   -m/mode   | set program mode\n   -data     | set post data path (only works on post mode)\n             | (Example: -data data.json)\n   -cookies  | set cookies (Example: 'id:xxx;ua:xxx')\n   -v        | set proxy type (4/5/http, default:5)\n   -t        | set threads number (default:800)\n   -f        | set proxies file (default:proxy.txt)\n   -b        | enable/disable brute mode\n             | Enable=1 Disable=0  (default:0)\n   -s        | set attack time(default:60)\n   -down     | download proxies\n   -check    | check proxies\n=====================================================\n```\n### Some example of the usage\nDownload socks5 proxies as proxy.txt:\n```\npython3 cc.py -down -f proxy.txt -v 5\n```\nAttack a target with custom proxies list(socks4.txt) for 30 seconds :\n```\npython3 cc.py -url http://target.com -f socks4.txt -v 4 -s 30\n```\n\n## Usage of multiproc.sh\n```\nThis script is using for increasing the performance of cc.py.\nDue to the suck performance of python since it has a GIL lock,\nAnd I am lazy to make a multiprocess version.\nThere is a option for linux user to increase their performance of cc.py\n\nThis script basicly just run cc.py multiple times to make it \"multi-processing\"\n\nFirst, put this script and cc.py in the same folder.\n\nThen prepare the proxies list by yourself or just run \"python3 cc.py -down -v 4\" (-v socks version)\n\nAfter that, change the number of process.\n\nAt last, change atk_cmd to your command and run the script by \"bash multiproc.sh\"\n```\nExample setup of multiproc.sh (-v socks version) (-s attack time)\n```\natk_cmd=\"python3 cc.py -url http://target.com -v 4 -s 60\"\n\n#number of process that you want\nprocess=10\n\n```\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeeon123%2FCC-attack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeeon123%2FCC-attack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeeon123%2FCC-attack/lists"}