mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Replaced all EULA_controller.py strings with VIEW entries
This commit is contained in:
parent
5946b52955
commit
a39335fcc4
|
@ -43,24 +43,10 @@ class EULAController:
|
|||
return False
|
||||
|
||||
def confirm_eula(self):
|
||||
# FIXME replace those strings with View entries
|
||||
print(
|
||||
f"{self.license.read()}\nGreat Power Comes With Great Responsibility\n"
|
||||
)
|
||||
print(
|
||||
"The use of the HiddenEye & its resources/phishing-pages is COMPLETE RESPONSIBILITY of the END-USER."
|
||||
)
|
||||
print(
|
||||
"Developers assume NO liability and are NOT responsible for any damage caused by this program."
|
||||
)
|
||||
print(
|
||||
"Also we want to inform you that some of your actions may be ILLEGAL and you CAN NOT use this"
|
||||
)
|
||||
print(
|
||||
"software to test device, company or any other type of target without WRITTEN PERMISSION from them."
|
||||
)
|
||||
print('Do you accept EULA? \n\nEnter: "I accept EULA" to continue\n')
|
||||
answer = input("HiddenEye EULA>> ").lower().replace(" ", "")
|
||||
print(f'{self.license.read()}\n{EULAView().EULA_messages["eula_power_and_responsibility_message"]}\n')
|
||||
print(EULAView().EULA_messages["eula_full_disclaimer"])
|
||||
print(f'{EULAView().EULA_messages["eula_do_you_accept"]} \n\n{EULAView().EULA_messages["eula_enter_to_continue"]}\n')
|
||||
answer = input(EULAView().EULA_messages["eula_input_prompt"]).lower().replace(" ", "")
|
||||
if answer == "iaccepteula":
|
||||
eula_temp_input = open(self.eula, "rt")
|
||||
eula_temp_data = eula_temp_input.read().replace(
|
||||
|
|
|
@ -12,5 +12,14 @@ class EULAView:
|
|||
"eula_start_of_file_unconfirmed": _("# Please read and accept EULA below\n eula = False"),
|
||||
"eula_start_of_file_confirmed": _("# Please read and accept EULA below\n eula = True"),
|
||||
"eula_was_just_accepted": _("You accepted EULA, you can enjoy your HiddenEye experience"),
|
||||
"eula_was_just_rejected": _("You rejected EULA, you are not allowed to use HiddenEye")
|
||||
"eula_was_just_rejected": _("You rejected EULA, you are not allowed to use HiddenEye"),
|
||||
"eula_power_and_responsibility_message": _("Great Power Comes With Great Responsibility"),
|
||||
"eula_do_you_accept": _("Do you accept EULA?"),
|
||||
"eula_enter_to_continue": _('Enter: "I accept EULA" to continue'),
|
||||
"eula_input_prompt": _("HiddenEye EULA>> "),
|
||||
"eula_full_disclaimer": _('''
|
||||
The use of the HiddenEye & its resources/phishing-pages is COMPLETE RESPONSIBILITY of the END-USER.
|
||||
Developers assume NO liability and are NOT responsible for any damage caused by this program.
|
||||
Also we want to inform you that some of your actions may be ILLEGAL and you CAN NOT use this
|
||||
software to test device, company or any other type of target without WRITTEN PERMISSION from them.''')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user