mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Removed useless set_php() output
This commit is contained in:
parent
285163f5f9
commit
039811370d
|
@ -9,9 +9,8 @@ exit_server_www = chdir("../..")
|
|||
|
||||
|
||||
def set_php(host = '127.0.0.1', port = 80):
|
||||
#run_background_command(["php", "-S", "{0}:{1}".format(host, port), "-t", "Server/www"], stdout=DEVNULL, stderr=DEVNULL)
|
||||
run_command(['killall','-2','php'], stdout=DEVNULL, stderr=DEVNULL)
|
||||
run_background_command(["php", "-S", "{0}:{1}".format(host, port), "-t", "Server/www"])
|
||||
run_background_command(["php", "-S", "{0}:{1}".format(host, port), "-t", "Server/www"], stdout=DEVNULL, stderr=DEVNULL)
|
||||
def set_port(port = 80):
|
||||
run_background_command(["fuser", "-k", "{0}/tcp".format(port)], stdout=DEVNULL, stderr=DEVNULL)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user