
Windows के GetLastError संदेशों को क्वेरी करने के लिए Cobalt Strike के लिए एक Aggressor स्क्रिप्ट।
GetLastError कोड से त्रुटि संदेश सीधे Cobalt Strike क्लाइंट के अंदर प्राप्त करें, बिना Google खोज, net helpmsg, या Microsoft Error Lookup Tool की सहायता के। त्रुटि संदेश एग्रेसर स्क्रिप्ट में शामिल होते हैं, और बीकन के साथ किसी इंटरैक्शन की आवश्यकता नहीं होती है।
एग्रेसर स्क्रिप्ट windows-lasterror-json फ़ाइलों से स्वचालित रूप से उत्पन्न और अद्यतन की जाती है।
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.