@echo off title RedMonitor Scanner v1.0 color 0A echo. echo ============================================== echo RedMonitor Scanner v1.0 echo Detecta velocidades y VLANs en la red echo ============================================== echo. :: Verificar Python python --version >nul 2>&1 if errorlevel 1 ( echo [ERROR] Python no esta instalado. echo. echo Instalar desde: https://www.python.org/downloads/ echo Durante la instalacion marcar: echo [x] Add Python to PATH echo. pause exit /b 1 ) :: Verificar nmap where nmap >nul 2>&1 if errorlevel 1 ( echo [ERROR] nmap no esta instalado. echo. echo Instalar desde: https://nmap.org/download.html echo Durante la instalacion marcar: echo [x] Add Nmap to PATH echo. pause exit /b 1 ) echo [OK] Python y nmap encontrados. echo. :: Descargar scanner_red.py si no existe if not exist "scanner_red.py" ( echo Descargando scanner_red.py... powershell -Command "Invoke-WebRequest -Uri 'https://redmonitor.emprendistore.com/descargas/scanner_red.py' -OutFile 'scanner_red.py'" if errorlevel 1 ( echo [ERROR] No se pudo descargar scanner_red.py pause exit /b 1 ) echo [OK] Descargado. echo. ) :: Ejecutar scanner python scanner_red.py