mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Added checking for local Ipv4 address
This commit is contained in:
parent
1b8e41deba
commit
5ca3c9ffda
|
@ -30,8 +30,10 @@ def start_localhost(port):
|
||||||
| | | ]__| ]__| |__ | \| {0}|__ || |__{1}
|
| | | ]__| ]__| |__ | \| {0}|__ || |__{1}
|
||||||
{0}http://github.com/darksecdevelopers
|
{0}http://github.com/darksecdevelopers
|
||||||
{0}** BY:DARKSEC ** \n\n-------------------------------\n{0}[ LOCALHOST SERVER ]{1}!! {0}\n-------------------------------'''.format(default_palette[0], default_palette[2]))
|
{0}** BY:DARKSEC ** \n\n-------------------------------\n{0}[ LOCALHOST SERVER ]{1}!! {0}\n-------------------------------'''.format(default_palette[0], default_palette[2]))
|
||||||
print("\n {0}[{1}*{0}]{0}Enter Your LocalHost/Router Address [ifconfig]:{1}".format(default_palette[0], default_palette[4]))
|
#print("\n {0}[{1}*{0}]{0}Enter Your LocalHost/Router Address [ifconfig]:{1}".format(default_palette[0], default_palette[4]))
|
||||||
host = input(" \n{0}HiddenEye >>> {1}".format(default_palette[0], default_palette[2]))
|
#host = input(" \n{0}HiddenEye >>> {1}".format(default_palette[0], default_palette[2]))
|
||||||
|
host = simple_informant.get_ip_addr
|
||||||
|
print("Your Localhost is {0}".format(host))
|
||||||
set_port
|
set_port
|
||||||
#run_command("cd Server/www/
|
#run_command("cd Server/www/
|
||||||
# && php -S {0}:{1} > /dev/null 2>&1 &".format(host, port))
|
# && php -S {0}:{1} > /dev/null 2>&1 &".format(host, port))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user