Bug fix in some packet responses.

1.6
Harmj0y 2015-11-02 14:52:46 -05:00
parent c26a63ad94
commit 55709598d5
3 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,8 @@
11/2/2015
---------
-Fixed small bug in TASK_CMD_WAIT response parsing
10/30/2015
----------
-Version 1.3.1

View File

@ -910,14 +910,16 @@ class Agents:
# see if there are any credentials to parse
time = helpers.get_datetime()
creds = helpers.parse_credentials(data)
for cred in creds:
hostname = cred[4]
if hostname == "":
hostname = self.get_agent_hostname(sessionID)
if(creds):
for cred in creds:
self.mainMenu.credentials.add_credential(cred[0], cred[1], cred[2], cred[3], hostname, cred[5], time)
hostname = cred[4]
if hostname == "":
hostname = self.get_agent_hostname(sessionID)
self.mainMenu.credentials.add_credential(cred[0], cred[1], cred[2], cred[3], hostname, cred[5], time)
# update the agent log
self.save_agent_log(sessionID, data)

View File

@ -9,7 +9,7 @@ menu loops.
"""
# make version for Empire
VERSION = "1.3.1"
VERSION = "1.3.2"
from pydispatch import dispatcher