mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Add files via upload
This commit is contained in:
parent
4d59f0944f
commit
56a9aa844e
|
@ -35,10 +35,11 @@ if connected() == False:
|
|||
def checkNgrok():
|
||||
if path.isfile('Server/ngrok') == False:
|
||||
print '[*] Downloading Ngrok...'
|
||||
ostype = systemos().lower()
|
||||
if architecture()[0] == '64bit':
|
||||
filename = 'ngrok-stable-linux-arm.zip'
|
||||
filename = 'ngrok-stable-{0}-amd64.zip'.format(ostype)
|
||||
else:
|
||||
filename = 'ngrok-stable-linux-arm.zip'
|
||||
filename = 'ngrok-stable-{0}-386.zip'.format(ostype)
|
||||
url = 'https://bin.equinox.io/c/4VmDzA7iaHb/' + filename
|
||||
download(url)
|
||||
system('unzip ' + filename)
|
||||
|
@ -198,7 +199,7 @@ def runPEnv():
|
|||
def runNgrok():
|
||||
system('./Server/ngrok http 8080 > /dev/null &')
|
||||
sleep(10)
|
||||
system('curl -s http://127.0.0.1:4040/status | grep -P "https://.*?ngrok.io" -oh > ngrok.url')
|
||||
system('curl -s http://127.0.0.1:4040/status | grep "https://[0-9a-z]*\.ngrok.io" -oh > ngrok.url')
|
||||
url = open('ngrok.url', 'r')
|
||||
print('\n {0}[{1}*{0}]{1} Ngrok URL: {2}' + url.read() + '{1}').format(CYAN, END, GREEN)
|
||||
url.close()
|
||||
|
|
Loading…
Reference in New Issue
Block a user