Files
rdp-brute/MASTERSTER.bat

107 lines
4.6 KiB
Batchfile

@echo off
title REAPER v2.0 - MASTERSTER
color 0C
cd /d "%~dp0"
:: ── FORCE UTF-8 ──────────────────────────────────────────────
set PYTHONIOENCODING=utf-8
:: ── BANNER ───────────────────────────────────────────────────
cls
echo.
echo ╔══════════════════════════════════════════════════════════════╗
echo ║ ☠ REAPER v2.0 - MASTERSTER ☠ ║
echo ║ Remote Exploitation ^& Password Enumeration Routine ║
echo ║ ║
echo ║ One swoop. One reaping. No mercy. ║
echo ╚══════════════════════════════════════════════════════════════╝
echo.
echo Made for doom by drjones.
echo.
:: ── STEP 1: CHECK PYTHON ────────────────────────────────────
echo [*] Step 1/6 — Checking Python...
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo.
echo [FAIL] Python is not installed or not in PATH!
echo.
echo Download Python 3.8+ from: https://python.org/downloads
echo Make sure to check "Add Python to PATH" during installation.
echo.
pause
exit /b 1
)
for /f "tokens=2" %%i in ('python --version 2^>^&1') do set pyver=%%i
echo [OK] Python %pyver% found
echo.
:: ── STEP 2: INSTALL DEPENDENCIES ────────────────────────────
echo [*] Step 2/6 — Installing dependencies (aiohttp, aiohttp-socks)...
echo.
python -m pip install --upgrade pip -q
python -m pip install aiohttp aiohttp-socks -q
if %errorlevel% neq 0 (
echo [WARN] pip install had issues, but continuing...
) else (
echo [OK] Dependencies installed
)
echo.
:: ── STEP 3: CREATE DIRECTORIES ──────────────────────────────
echo [*] Step 3/6 — Creating directories...
if not exist "wordlists" mkdir wordlists
if not exist "results" mkdir results
echo [OK] Directories ready
echo.
:: ── STEP 4: VERIFY FILES ────────────────────────────────────
echo [*] Step 4/6 — Verifying project files...
set FILES=main.py gui.py scanner.py bruteforce.py ip_utils.py proxy.py
set ALL_OK=1
for %%f in (%FILES%) do (
if exist "%%f" (
echo [OK] %%f
) else (
echo [WARN] %%f not found
set ALL_OK=0
)
)
if not exist "results\good.txt" (
echo. > "results\good.txt"
echo [OK] Created results\good.txt
)
echo.
:: ── STEP 5: TEST IMPORTS ────────────────────────────────────
echo [*] Step 5/6 — Testing imports...
python -c "from scanner import scan_ips, RDP_PORTS; from ip_utils import parse_ranges_file; from bruteforce import spray_all_hosts, TOP50_PASSWORDS; from proxy import ProxyManager; print(' [OK] All modules loaded')" 2>&1
if %errorlevel% neq 0 (
echo [FAIL] Import test failed. There may be a syntax error.
pause
exit /b 1
)
echo [OK] All systems nominal
echo.
:: ── STEP 6: LAUNCH ──────────────────────────────────────────
echo [*] Step 6/6 — Launching the Reaper...
echo.
echo ╔══════════════════════════════════════════════════════════════╗
echo ║ ☠ REAPER v2.0 ☠ ║
echo ║ No mercy. No lockouts. Just results. ║
echo ║ ║
echo ║ The network is a graveyard, and I'm the reaper. ║
echo ╚══════════════════════════════════════════════════════════════╝
echo.
echo Made for doom by drjones.
echo.
python main.py
if %errorlevel% neq 0 (
echo.
echo [!] REAPER encountered an error. Check the output above.
pause
)