Files
CyberSecurityUPandClaude Opus 4.8 1a2e1791e3 feat: key verification, category filter, installer deps/run, UI polish
Web console
- LLM API keys: Save now verifies the key with a cheap authenticated call per
  provider (anthropic/openai/xai/gemini/deepseek/mistral/groq/together/openrouter/
  moonshot/qwen/nvidia) and shows ✓ valid / ✗ rejected / • saved; new
  POST /api/keys/verify. Keys still save when a provider isn't auto-verifiable.
- Leads: a single "category" dropdown filters the board to one category.
- Provider/Model row alignment fixed (stacked-group top margin no longer applies
  inside a field-row).
- "own interceptor" renamed to "NeuroSploit Interceptor" in the proxy picker.

Installers
- setup.sh: v4.3.0; detects a package manager (apt/brew/dnf/pacman/apk) and
  installs missing deps (curl, git, nmap, node; rustscan + typst via cargo);
  optional launch at the end (NEUROSPLOIT_RUN=1 or a prompt). Skip with
  NEUROSPLOIT_NO_DEPS=1.
- install.ps1: v4.3.0; installs deps via winget (Node, Nmap, Git; typst via
  cargo); optional launch at the end.
- setup.bat (new): Windows CMD entry point that bootstraps install.ps1 (local or
  from GitHub).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-14 20:09:32 -03:00

41 lines
1.4 KiB
Batchfile

@echo off
REM NeuroSploit installer for Windows (CMD) — by Joas A Santos & Red Team Leaders
REM
REM Double-click setup.bat, or run it from a terminal. It bootstraps the
REM PowerShell installer (install.ps1), which detects the platform, installs
REM Rust if missing, downloads or builds the binary, finds and installs
REM dependencies (Node, Nmap, Git, typst), configures PATH + NEUROSPLOIT_BASE,
REM and can launch NeuroSploit at the end.
REM
REM Env (optional): NEUROSPLOIT_REF, NEUROSPLOIT_DIR, NEUROSPLOIT_BUILD=1,
REM NEUROSPLOIT_NO_DEPS=1, NEUROSPLOIT_RUN=1
setlocal
echo.
echo NeuroSploit installer (Windows) v4.3.0
echo --------------------------------------
where powershell >nul 2>&1
if errorlevel 1 (
echo [x] PowerShell not found. Install PowerShell, or use WSL with setup.sh.
exit /b 1
)
REM Prefer the install.ps1 sitting next to this file; fall back to the published one.
set "PS1=%~dp0install.ps1"
if exist "%PS1%" (
echo Running local installer: %PS1%
powershell -NoProfile -ExecutionPolicy Bypass -File "%PS1%"
) else (
echo Fetching installer from GitHub...
powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/JoasASantos/NeuroSploit/main/install.ps1 | iex"
)
set "RC=%ERRORLEVEL%"
echo.
if "%RC%"=="0" (
echo [ok] Done. Open a NEW terminal, then run: neurosploit
) else (
echo [x] Installer exited with code %RC%.
)
endlocal & exit /b %RC%