From d41ca28234e4a45c33b21f29cf877c318d4fc095 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Fri, 8 May 2020 16:55:16 +0300 Subject: [PATCH] Fixed command to run localxpose --- Defs/ActionManager/Server/server_runner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Defs/ActionManager/Server/server_runner.py b/Defs/ActionManager/Server/server_runner.py index db0558e..50d2e01 100644 --- a/Defs/ActionManager/Server/server_runner.py +++ b/Defs/ActionManager/Server/server_runner.py @@ -186,7 +186,8 @@ def start_localxpose(port): | | | ]__| ]__| |__ | \| {0}|__ || |__{1} {0}http://github.com/darksecdevelopers {0}** BY:DARKSEC ** \n\n-------------------------------\n{0}[ RANDOM LOCALXPOSE URL ]{1}!! {0}\n-------------------------------'''.format(default_palette[1], default_palette[2])) - run_command('./Server/loclx tunnel http --to :%s > link.url 2> /dev/null &' % (port)) + #run_command('./Server/loclx tunnel http --to :%s > link.url 2> /dev/null &' % (port)) + run_command(['Server/loclx', 'tunnel', 'http', '--to', ':{0}'.format(port), '>', 'link.url'], stdout=DEVNULL, stderr=DEVNULL) wait(8) try: output = check_output(