Update builder.py
This commit is contained in:
parent
ab007d08b1
commit
8abe6dfb0a
15
builder.py
15
builder.py
|
@ -9,7 +9,6 @@ from urllib.request import urlopen
|
||||||
|
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
from alive_progress import alive_bar
|
|
||||||
from colorama import Fore, Style, init
|
from colorama import Fore, Style, init
|
||||||
|
|
||||||
class Builder:
|
class Builder:
|
||||||
|
@ -496,16 +495,6 @@ class Builder:
|
||||||
|"""
|
|"""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
with alive_bar(40) as bar:
|
|
||||||
for _ in range(40):
|
|
||||||
print(img)
|
|
||||||
time.sleep(random.randint(1, 3) / 40)
|
|
||||||
os.system('cls')
|
|
||||||
bar()
|
|
||||||
|
|
||||||
os.system('cls')
|
|
||||||
|
|
||||||
print(Style.RESET_ALL)
|
print(Style.RESET_ALL)
|
||||||
|
|
||||||
|
@ -580,6 +569,10 @@ class Builder:
|
||||||
os.rename(f"./obfuscated_compressed_{filename}.exe", f"./{filename}.exe")
|
os.rename(f"./obfuscated_compressed_{filename}.exe", f"./{filename}.exe")
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
try:
|
||||||
|
os.rename(f"./obfuscated_{filename}.exe", f"./{filename}.exe")
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
def mk_file(self, filename, webhook):
|
def mk_file(self, filename, webhook):
|
||||||
print(f'{Fore.GREEN}[{Fore.RESET}{Fore.WHITE}+{Fore.RESET}{Fore.GREEN}]{Fore.RESET} {Fore.WHITE}Generating source code...{Fore.RESET}')
|
print(f'{Fore.GREEN}[{Fore.RESET}{Fore.WHITE}+{Fore.RESET}{Fore.GREEN}]{Fore.RESET} {Fore.WHITE}Generating source code...{Fore.RESET}')
|
||||||
|
|
Loading…
Reference in New Issue