Awesome
cs-get-last-error
Obtain error messages from GetLastError
codes directly inside the Cobalt Strike client without the help of Google search, net helpmsg
, or Microsoft Error Lookup Tool. The error messages are included in the aggressor script, and no interaction with the beacon is required.
The aggressor script is automatically generated and updated from the windows-lasterror-json
files.
Example usage
beacon> ls //does-not-exists/c$
[*] Tasked beacon to list files in //does-not-exists/c$
[+] host called home, sent: 38 bytes
[-] could not open //does-not-exists/c$\*: 53
beacon> get-last-error 53
[*] ERROR_BAD_NETPATH
The network path was not found.