-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuilder.py
42 lines (34 loc) · 2.45 KB
/
builder.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
import os
os.system("color 5")
os.system("cls")
print("""
▄████▄ ██▀███ ▓██ ██▓ ██▓███ ▄▄▄█████▓ ▒█████ ▒██ ██▒ ██▓ ███▄ █
▒██▀ ▀█ ▓██ ▒ ██▒▒██ ██▒▓██░ ██▒▓ ██▒ ▓▒▒██▒ ██▒▒▒ █ █ ▒░▓██▒ ██ ▀█ █
▒▓█ ▄ ▓██ ░▄█ ▒ ▒██ ██░▓██░ ██▓▒▒ ▓██░ ▒░▒██░ ██▒░░ █ ░▒██▒▓██ ▀█ ██▒
▒▓▓▄ ▄██▒▒██▀▀█▄ ░ ▐██▓░▒██▄█▓▒ ▒░ ▓██▓ ░ ▒██ ██░ ░ █ █ ▒ ░██░▓██▒ ▐▌██▒
▒ ▓███▀ ░░██▓ ▒██▒ ░ ██▒▓░▒██▒ ░ ░ ▒██▒ ░ ░ ████▓▒░▒██▒ ▒██▒░██░▒██░ ▓██░
░ ░▒ ▒ ░░ ▒▓ ░▒▓░ ██▒▒▒ ▒▓▒░ ░ ░ ▒ ░░ ░ ▒░▒░▒░ ▒▒ ░ ░▓ ░░▓ ░ ▒░ ▒ ▒
░ ▒ ░▒ ░ ▒░▓██ ░▒░ ░▒ ░ ░ ░ ▒ ▒░ ░░ ░▒ ░ ▒ ░░ ░░ ░ ▒░
░ ░░ ░ ▒ ▒ ░░ ░░ ░ ░ ░ ░ ▒ ░ ░ ▒ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░ ░
""")
input("Press Enter to continue...")
os.system("color 5")
os.system("cls")
def main():
choice = input("[1] Build Encryption Script\n[2] Build Decryption Script\n[Enter Choice]:> ")
if choice == "1":
os.system("pyinstaller --onefile --noconsole -n encrypt encrypt.py")
print("[*] Successfully built the encryption script.")
elif choice == "2":
os.system("pyinstaller --onefile --noconsole -n decrypt decrypt.py")
print("[*] Successfully built the decryption script.")
else:
print("[!] Invalid choice, please choose 1 or 2.")
main()
print("[*] Done.")
print("[*] Check the following directory: [ {} ] for the built script.".format(os.path.dirname(os.path.realpath(__file__))))
input("[*] Press enter to exit.")
if __name__ == "__main__":
main()