From b3dd36067bf62539b7cf60ef61a91e2723b56fdd Mon Sep 17 00:00:00 2001 From: Cx01N Date: Wed, 13 May 2020 18:53:26 -0400 Subject: [PATCH] Fixed issue with keys being printed to screen instead of file --- lib/common/agents.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/common/agents.py b/lib/common/agents.py index a10496285..66f3cb4fb 100644 --- a/lib/common/agents.py +++ b/lib/common/agents.py @@ -1735,7 +1735,6 @@ def process_agent_packet(self, sessionID, responseName, taskID, data): # Update result with data cur.execute("UPDATE results SET data=? WHERE id=?",(data, taskID)) - else: try: keyLogTaskID = cur.execute("SELECT id FROM taskings WHERE agent=? AND data LIKE \"function Get-Keystrokes%\"", [sessionID]).fetchone()[0] except Exception as e: