Fixed tabs in recent merge

readme-wiki
xorrior 2017-11-01 13:22:14 -04:00
parent 87ad884085
commit 64e4b370df
1 changed files with 4 additions and 4 deletions

View File

@ -1534,10 +1534,10 @@ class Agents:
pk = (pk + 1) % 65536
cur.execute("INSERT INTO results (id, agent, data) VALUES (?,?,?)",(pk, sessionID, data))
else:
try:
keyLogTaskID = cur.execute("SELECT id FROM taskings WHERE agent=? AND data LIKE \"function Get-Keystrokes%\"", [sessionID]).fetchone()[0]
except Exception as e:
pass
try:
keyLogTaskID = cur.execute("SELECT id FROM taskings WHERE agent=? AND data LIKE \"function Get-Keystrokes%\"", [sessionID]).fetchone()[0]
except Exception as e:
pass
cur.execute("UPDATE results SET data=data||? WHERE id=? AND agent=?", [data, taskID, sessionID])
finally: