You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`# Check if Firefox is installed
if (!(Test-Path "C:\Program Files\Mozilla Firefox\firefox.exe")) {
Write-Error "Firefox is not installed. Please install Firefox before attempting to install the FireSheep extension."
exit 1
}
`# Check if Firefox is installed
if (!(Test-Path "C:\Program Files\Mozilla Firefox\firefox.exe")) {
Write-Error "Firefox is not installed. Please install Firefox before attempting to install the FireSheep extension."
exit 1
}
Download the FireSheep extension ZIP file
$downloadURL = "https://codeload.github.com/codebutler/firesheep/zip/refs/heads/master"
$downloadPath = "$env:TEMP\firesheep.zip"
(New-Object Net.WebClient).DownloadFile($downloadURL, $downloadPath)
Extract the extension files to a temporary directory
$extractionPath = "$env:TEMP\firesheep-extract"
New-Item -ItemType Directory -Path $extractionPath
Extract-Zip -Path $downloadPath -DestinationPath $extractionPath
Get the Firefox profile directory
$profilePath = (Get-Profile -Directory Firefox -ErrorAction SilentlyContinue | Select-Object -First 1).Path
Move the extension files to the profile directory
$extensionPath = Join-Path $extractionPath "firesheep-master\Install"
$extensionFiles = Get-ChildItem -Path $extensionPath
Move-Item -Path $extensionFiles.FullName -Destination $profilePath
Restart Firefox to enable the extension
Restart-Process -Name firefox
`
The text was updated successfully, but these errors were encountered: