MythicAgents / Apollo

A .NET Framework 4.0 Windows Agent
BSD 3-Clause "New" or "Revised" License
439 stars 89 forks source link

Fix command_line argument in Keylog #11

Closed reznok closed 3 years ago

reznok commented 3 years ago

Attempting to use keylog would fail at the Mythic level with:

keylog {"PID":22196,"Process Architecture":"x64"}
[-] Mythic error while creating/running create_tasking: 
load_args_from_json_string() missing 1 required positional argument: 'command_line'

Modified agent_functions/keylog.py to load the command_line args like every other agent function. Really minor fix :)

djhohnstein commented 3 years ago

Looks good to me, good catch!