forked from RiZoeLX/SpamX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsh.py
32 lines (30 loc) · 760 Bytes
/
sh.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import os, sys
from resources import *
os.system("clear")
# ------ main ------ #
start = input(f"{ask}Want to fill vars ? if yes type Y/yes else press enter: ")
if start in ['Y', 'y', 'Yes', 'YES', 'yes']:
if os.path.exists(".env"):
x = open(".env", "r")
check = x.read()
lines = check.splitlines()
x.close()
if not len(lines) == 30:
os.system("rm -rf .env")
y = open(".env", "w")
y.write(evn_vars)
y.close()
os.system("clear")
SpamX_Setup()
else:
os.system("clear")
SpamX_Setup()
elif not os.path.exists(".env"):
y = open(".env", "w")
y.write(evn_vars)
y.close()
os.system("clear")
SpamX_Setup()
else:
clear()
os.system("python3 -m SpamX")