Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cs-get-last-error — An aggressor script for Cobalt Strike to query Windows' GetLastError messages | Kitploit
Tools/GitHubGitHub/henkru/cs-get-last-error
Post-ExploitationUtilities & FrameworksRed Teaming
GitHubhenkru/cs-get-last-error

cs-get-last-error

An aggressor script for Cobalt Strike to query Windows' GetLastError messages

View Repository
1853 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

cs-get-last-error

build

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

root@kitploit:~
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.
Download Tool