118 lines
3.1 KiB
Batchfile
118 lines
3.1 KiB
Batchfile
@echo off
|
|
title RCE.RIP Setup Script
|
|
color 0C
|
|
|
|
echo.
|
|
echo ██████╗ ██████╗███████╗ ██████╗ ██╗██████╗
|
|
echo ██╔══██╗██╔════╝██╔════╝██╗ ██╔══██╗██║██╔══██╗
|
|
echo ██████╔╝██║ █████╗ ╚═╝ ██████╔╝██║██████╔╝
|
|
echo ██╔══██╗██║ ██╔══╝ ██╗ ██╔══██╗██║██╔═══╝
|
|
echo ██║ ██║╚██████╗███████╗╚═╝ ██║ ██║██║██║
|
|
echo ╚═╝ ╚═╝ ╚═════╝╚══════╝ ╚═╝ ╚═╝╚═╝╚═╝
|
|
echo.
|
|
echo OPEN SOURCE xWORM RCE • RCE.RIP
|
|
echo ========================================================
|
|
echo.
|
|
|
|
echo [+] Starting RCE.RIP Setup...
|
|
echo.
|
|
echo [+] Checking Python installation...
|
|
python --version >nul 2>&1
|
|
if %errorlevel% neq 0 (
|
|
echo [!] Python not found! Please install Python 3.7+ from https://python.org
|
|
echo [!] Make sure to check "Add Python to PATH" during installation
|
|
pause
|
|
exit /b 1
|
|
) else (
|
|
echo [✓] Python found
|
|
)
|
|
|
|
echo [+] Checking pip installation...
|
|
pip --version >nul 2>&1
|
|
if %errorlevel% neq 0 (
|
|
echo [!] pip not found! Please ensure pip is installed with Python
|
|
pause
|
|
exit /b 1
|
|
) else (
|
|
echo [✓] pip found
|
|
)
|
|
|
|
echo.
|
|
echo [+] Installing required Python packages...
|
|
echo.
|
|
|
|
echo [+] Installing pycryptodomex...
|
|
pip install pycryptodomex
|
|
if %errorlevel% neq 0 (
|
|
echo [!] Failed to install pycryptodomex
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo [+] Installing colorama...
|
|
pip install colorama
|
|
if %errorlevel% neq 0 (
|
|
echo [!] Failed to install colorama
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo [+] Installing requests...
|
|
pip install requests
|
|
if %errorlevel% neq 0 (
|
|
echo [!] Failed to install requests
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo [+] Installing beautifulsoup4...
|
|
pip install beautifulsoup4
|
|
if %errorlevel% neq 0 (
|
|
echo [!] Failed to install beautifulsoup4
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo.
|
|
echo [+] Setting up configuration files...
|
|
|
|
if not exist "reports.txt" (
|
|
echo. > reports.txt
|
|
echo [✓] Created reports.txt
|
|
)
|
|
|
|
if not exist "bots.txt" (
|
|
echo. > bots.txt
|
|
echo [✓] Created bots.txt
|
|
)
|
|
|
|
if not exist "alreadyscraped.txt" (
|
|
echo. > alreadyscraped.txt
|
|
echo [✓] Created alreadyscraped.txt
|
|
)
|
|
|
|
echo.
|
|
echo [+] Creating launcher script...
|
|
|
|
echo @echo off > run_rce.bat
|
|
echo title RCE.RIP - Remote Command Execution Tool >> run_rce.bat
|
|
echo color 0C >> run_rce.bat
|
|
echo python rcerip.py >> run_rce.bat
|
|
echo pause >> run_rce.bat
|
|
|
|
echo [✓] Created run_rce.bat launcher
|
|
|
|
echo.
|
|
echo ========================================================
|
|
echo [✓] Setup completed successfully!
|
|
echo.
|
|
echo Usage:
|
|
echo 1. Run 'python rcerip.py' to start the tool
|
|
echo 2. Or use 'run_rce.bat' for quick launch
|
|
echo.
|
|
echo Notes:
|
|
echo - Edit the 'apikey' variable in rceip.py
|
|
echo.
|
|
echo ========================================================
|
|
pause
|