forked from FDX100/GOD-KILLER
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.py
18 lines (16 loc) · 794 Bytes
/
install.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os
choice = raw_input('to install press (Y) to uninstall press (N) >> ')
run = os.system
if choice =='Y' or choice=='y':
run('chmod 777 GOD-KILLER')
run('mkdir /usr/share/god-killer')
run('cp GOD-KILLER /usr/share/god-killer/GOD-KILLER')
cmnd=(' #! /bin/sh \n exec /usr/share/god-killer/GOD-KILLER "$@"')
with open('/usr/bin/GOD-KILLER','w')as file:
file.write(cmnd)
run('chmod +x /usr/bin/GOD-KILLER & chmod +x /usr/share/god-killer/GOD-KILLER')
print('''\n\ncongratulation GOD-KILLER is installed successfully \nfrom now just type \x1b[6;30;42mGOD-KILLER\x1b[0m in terminal ''')
if choice=='N' or choice=='n':
run('rm -r /usr/share/god-killer ')
run('rm /usr/bin/GOD-KILLER ')
print('[!] now GOD-KILLER has been removed successfully')