mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Temporarily Removed TinyUrl
Removed Tinyurl Due to a Error.. Will Add it later..
This commit is contained in:
parent
fae5f8f751
commit
17956e7f1e
|
@ -112,9 +112,7 @@ def runNgrok():
|
||||||
| | | ]__| ]__| |__ | \| {0}|__ || |__{1}
|
| | | ]__| ]__| |__ | \| {0}|__ || |__{1}
|
||||||
{0}http://github.com/darksecdevelopers
|
{0}http://github.com/darksecdevelopers
|
||||||
{0}** BY:DARKSEC ** \n\n-------------------------------\n{0}[ ATTACK IS IN PROGRESS ]{1}!! {0}\n-------------------------------\n\n\n {0}[{1}*{0}]{1} Ngrok URL: {2}'''.format(RED, DEFAULT, GREEN) + url + '''{1}'''.format(RED, DEFAULT, GREEN))
|
{0}** BY:DARKSEC ** \n\n-------------------------------\n{0}[ ATTACK IS IN PROGRESS ]{1}!! {0}\n-------------------------------\n\n\n {0}[{1}*{0}]{1} Ngrok URL: {2}'''.format(RED, DEFAULT, GREEN) + url + '''{1}'''.format(RED, DEFAULT, GREEN))
|
||||||
link = check_output("curl -s 'http://tinyurl.com/api-create.php?url='"+url, shell=True).decode().replace('http', 'https')
|
|
||||||
print('''\n {0}[{1}*{0}]{1} TINYURL: {2}'''.format(RED, DEFAULT, GREEN) + link + '''{1}'''.format(RED, DEFAULT, GREEN))
|
|
||||||
print('''\n''')
|
|
||||||
break
|
break
|
||||||
|
|
||||||
def runServeo():
|
def runServeo():
|
||||||
|
@ -137,11 +135,7 @@ def runServeo():
|
||||||
url = str(output).strip("b ' \ n r")
|
url = str(output).strip("b ' \ n r")
|
||||||
print("\n{0}[{1}*{0}]{1} SERVEO URL: {2}".format(RED, DEFAULT, GREEN) + url + "{1}".format(RED, DEFAULT, GREEN))
|
print("\n{0}[{1}*{0}]{1} SERVEO URL: {2}".format(RED, DEFAULT, GREEN) + url + "{1}".format(RED, DEFAULT, GREEN))
|
||||||
print("\n")
|
print("\n")
|
||||||
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(RED, DEFAULT, GREEN) + link + "{1}".format(RED, DEFAULT, GREEN))
|
|
||||||
print("\n")
|
|
||||||
except CalledProcessError:
|
except CalledProcessError:
|
||||||
print (_('''\n\n{0}FAILED TO GET THIS DOMAIN. !!!\n\n{0}LOOKS LIKE CUSTOM URL IS NOT VALID or ALREADY OCCUPIED BY SOMEONE ELSE. !!!\n\n{0}[{1}!{0}]TRY TO SELECT ANOTHER CUSTOM DOMAIN{1} (GOING BACK).. !! \n
|
print (_('''\n\n{0}FAILED TO GET THIS DOMAIN. !!!\n\n{0}LOOKS LIKE CUSTOM URL IS NOT VALID or ALREADY OCCUPIED BY SOMEONE ELSE. !!!\n\n{0}[{1}!{0}]TRY TO SELECT ANOTHER CUSTOM DOMAIN{1} (GOING BACK).. !! \n
|
||||||
''').format(RED, DEFAULT))
|
''').format(RED, DEFAULT))
|
||||||
|
@ -149,6 +143,7 @@ def runServeo():
|
||||||
system('clear')
|
system('clear')
|
||||||
return runServeo()
|
return runServeo()
|
||||||
|
|
||||||
|
|
||||||
def runMainMenu(): #menu where user select what they wanna use
|
def runMainMenu(): #menu where user select what they wanna use
|
||||||
|
|
||||||
if 256 != system('which php'): #Checking if user have PHP
|
if 256 != system('which php'): #Checking if user have PHP
|
||||||
|
|
Loading…
Reference in New Issue
Block a user