-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathRun.py
115 lines (91 loc) · 2.87 KB
/
Run.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# ---------------- Imports
import os
import shutil
try:
import pyzipper
import colorama
from rich import print
from rich.panel import Panel
import re
except ImportError:
_ = os.system('pip install colorama' if os.name == 'nt' else 'pip3 install colorama')
_ = os.system('pip install pyzipper' if os.name == 'nt' else 'pip3 install pyzipper')
_ = os.system('pip install rich' if os.name == 'nt' else 'pip3 install rich')
os.system('git pull')
os.system("npm install")
import pyzipper
import sys
from time import sleep
from getpass import getpass
from colorama import Fore
from rich.panel import Panel
import os
my_dir = 'files'
os.makedirs(my_dir,exist_ok=True)
file_path = os.path.join(my_dir,'numbers.json')
with open(file_path,"w") as file:
file.write('''{
}''')
# -------------------Colors
r = "\033[1;31m"
g = "\033[1;32m"
y = "\033[1;33m"
b = "\033[1;34m"
d = "\033[2;37m"
R = "\033[1;41m"
Y = "\033[1;43m"
B = "\033[1;44m"
w = "\033[1;37m"
gr = "\033[0;90m"
y = r
os.system("clear")
# ------------------banners
logo = Panel(""" [bold green]
\t</> Developer : STARK-404 </>
\t</> Github : STARK-404 </>
\t</> INSTA : la1uuuuu </>
""",width=50,style="bold hot_pink2",title='(Wp-venom)')
def banner():
print(logo)
def cls_clear_func():
os.system('cls' if os.name=='nt' else 'clear')
def exixting_directory_file(file):
if os.path.exists(file):
os.system("node index.js")
def designprint(samaywrite):
print(logo)
print(R+"└─> "+d+g+samaywrite)
print("[bold green]Please Wait Files Are Extracting ...")
def front_design():
cls_clear_func()
banner()
front_design()
class Setup:
def __init__(self,user):
self.data = user
def mainFile(self):
self.save = self.data
try:
with pyzipper.AESZipFile('venom.zip', 'r', compression=pyzipper.ZIP_DEFLATED,
encryption=pyzipper.WZ_AES) as extracted_zip:
extracted_zip.extractall(pwd=str.encode(self.save))
designprint(f'{g}Password Correct !')
sleep(2.3)
front_design()
designprint(f'{g}Extraction Sucessfull..✓')
sleep(3.0)
exixting_directory_file('venom.zip')
os.system('node index.js' if os.name=='nt' else 'node index.js')
except Exception as samay:
designprint(f'{r}Password Incorrect !')
print(f"{gr}[{r}!{gr}]{r}Contact Admin For Password!")
os.system("xdg-open https://buymeacoffee.com/mrstarkin/e/347558")
os.system('python Run.py' if os.name=='nt' else 'python3 Run.py')
try:
user_ezip_unzipping = getpass(r+"[ "+g+"× "+r+"]" +g+"Enter password For Decrypt the Zip " +r+">" ).strip()
except:
pass
if __name__ == '__main__':
exixting_directory_file('node index.js')
main_start = Setup(user_ezip_unzipping)
main_start.mainFile()