mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-12-05 10:34:31 +01:00
- Move dashboardStats into pentests view (was global, polluting all pages) - Make stats cards reflect actual run data from file storage - Fix toolbox JSON parsing: separate stdout/stderr in runCli, handle array JSON in toolsCall (was only matching object patterns) - Add New PR Review modal with repo/PR input form - Target table click now switches to pentests view - Dashboard cards: severity-colored layout with CSS - Strip redundant Storage card from stats Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1730 lines
106 KiB
HTML
1730 lines
106 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
||
<meta name="color-scheme" content="dark light" />
|
||
<title>NeuroSploit</title>
|
||
<link rel="icon" type="image/svg+xml" href="logo.svg">
|
||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap">
|
||
<link rel="stylesheet" href="/vendor/xterm.css" />
|
||
<link rel="stylesheet" href="/style.css" />
|
||
<script>
|
||
// Paint the right theme before the first frame — no light flash on a dark setup.
|
||
(function () {
|
||
var t = null;
|
||
try { t = localStorage.getItem('ns-theme'); } catch (e) {}
|
||
if (t !== 'light' && t !== 'dark') t = matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark';
|
||
document.documentElement.setAttribute('data-theme', t);
|
||
})();
|
||
</script>
|
||
</head>
|
||
<body>
|
||
|
||
<!-- Mobile app bar (hidden on desktop) -->
|
||
<header class="mobile-bar">
|
||
<button class="icon-btn" id="btnSidebarToggle" title="Menu" aria-label="Open menu" aria-expanded="false" aria-controls="sidebar"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M4 7h16M4 12h16M4 17h16"/></svg></button>
|
||
<div class="mobile-brand">
|
||
<svg class="mark" viewBox="0 0 48 48" fill="none" aria-hidden="true"><path d="M9 39V11l20 20V11" stroke="currentColor" stroke-width="5.5" stroke-linecap="square"/><path d="M39 9V37" stroke="currentColor" stroke-width="5.5" stroke-linecap="square"/><path d="M41 7L18 41" stroke="var(--accent)" stroke-width="2.6" stroke-linecap="round"/></svg>
|
||
NeuroSploit
|
||
</div>
|
||
<button class="btn btn-primary btn-sm" id="btnMobileNew"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 5v14M5 12h14"/></svg> New</button>
|
||
</header>
|
||
<div class="sidebar-scrim" id="sidebarScrim" hidden></div>
|
||
|
||
<div class="app">
|
||
|
||
<!-- ============ SIDEBAR ============ -->
|
||
<aside class="sidebar" id="sidebar">
|
||
<div class="sb-top">
|
||
<div class="brand">
|
||
<span class="brand-mark">
|
||
<svg class="mark" viewBox="0 0 48 48" fill="none" aria-hidden="true">
|
||
<path d="M9 39V11l20 20V11" stroke="currentColor" stroke-width="5.5" stroke-linecap="square" stroke-linejoin="miter"/>
|
||
<path d="M39 9V37" stroke="currentColor" stroke-width="5.5" stroke-linecap="square"/>
|
||
<path d="M41 7L18 41" stroke="var(--accent)" stroke-width="2.6" stroke-linecap="round"/>
|
||
</svg>
|
||
</span>
|
||
<span class="brand-text">NeuroSploit<span class="brand-sub">Autonomous offensive security</span></span>
|
||
</div>
|
||
</div>
|
||
|
||
<button class="sb-new" id="btnNewEngagement"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 5v14M5 12h14"/></svg> New pentest <kbd>N</kbd></button>
|
||
|
||
<nav class="sb-nav" id="sbNav" aria-label="Main">
|
||
<button class="sb-nav-item" data-view="home"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M3 11.5 12 4l9 7.5"/><path d="M5 10v9a1 1 0 0 0 1 1h4v-5h4v5h4a1 1 0 0 0 1-1v-9"/></svg></span> Home</button>
|
||
<button class="sb-nav-item" data-view="dash"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M4 20V11M10 20V4M16 20v-6M21 20H3"/></svg></span> Dashboard</button>
|
||
|
||
<div class="sb-section">Testing</div>
|
||
<button class="sb-nav-item" data-view="pentests"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="7.5"/><path d="M12 2.5v4M12 17.5v4M2.5 12h4M17.5 12h4"/></svg></span> Pentests</button>
|
||
<button class="sb-nav-item" data-view="issues"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M5 21V4M5 4.5h12l-2.2 3.5L17 11.5H5"/></svg></span> Findings</button>
|
||
<button class="sb-nav-item" data-view="prreviews"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="6" cy="5.5" r="2"/><circle cx="6" cy="18.5" r="2"/><circle cx="18" cy="8" r="2"/><path d="M6 7.5v9M18 10c0 4-6 3-11 7"/></svg></span> PR reviews</button>
|
||
|
||
<div class="sb-section">Assets</div>
|
||
<button class="sb-nav-item" data-view="projects"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M3.5 7.5A1.5 1.5 0 0 1 5 6h4l2 2h8a1.5 1.5 0 0 1 1.5 1.5v8A1.5 1.5 0 0 1 19 19H5a1.5 1.5 0 0 1-1.5-1.5z"/></svg></span> Projects</button>
|
||
<button class="sb-nav-item" data-view="domains" data-views="domains networks repos"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="8.5"/><path d="M3.5 12h17M12 3.5c3 2.6 3 14.4 0 17M12 3.5c-3 2.6-3 14.4 0 17"/></svg></span> Assets</button>
|
||
|
||
<div class="sb-section">Configure</div>
|
||
<button class="sb-nav-item" data-view="guardrails"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 3.2 19.5 6v5.6c0 4.4-3.1 7.5-7.5 9.2-4.4-1.7-7.5-4.8-7.5-9.2V6z"/><path d="m9 12 2.2 2.2L15.2 10"/></svg></span> Scope & safety</button>
|
||
<button class="sb-nav-item" data-view="vault"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="8" cy="15" r="3.8"/><path d="m10.7 12.3 8.8-8.8M16 7l3 3M13.5 9.5l2 2"/></svg></span> Credentials</button>
|
||
<button class="sb-nav-item" data-view="integrations"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M9 3v5M15 3v5M6.5 8h11v3.5a5.5 5.5 0 0 1-11 0zM12 17v4"/></svg></span> Integrations</button>
|
||
<button class="sb-nav-item" data-view="settings"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M4 7h9M17 7h3M4 12h3M11 12h9M4 17h11M19 17h1"/><circle cx="15" cy="7" r="2"/><circle cx="9" cy="12" r="2"/><circle cx="17" cy="17" r="2"/></svg></span> Settings</button>
|
||
|
||
<details class="sb-adv" id="sbAdv">
|
||
<summary class="sb-section sb-section-toggle">Operator tools <svg class="ico caret-ico" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 6 6 6-6 6"/></svg></summary>
|
||
<button class="sb-nav-item" id="sbTerminal"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m5 7 5 5-5 5M12.5 18H19"/></svg></span> Terminal <kbd>`</kbd></button>
|
||
<button class="sb-nav-item" data-view="toolbox"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M4 7h16M4 12h16M4 17h16"/><circle cx="7" cy="7" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="17" cy="17" r="1"/></svg></span> Toolbox</button>
|
||
<button class="sb-nav-item" data-view="c2"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M4 5h16v11H4z"/><path d="M8 20h8M12 16v4"/><path d="m7 9 2.5 2L7 13M12 13h4"/></svg></span> C2 & shells</button>
|
||
<button class="sb-nav-item" data-view="phish"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M4 6h16v12H4z"/><path d="m4 7 8 6 8-6"/></svg></span> Phishing</button>
|
||
<button class="sb-nav-item" data-view="mcp"><span class="sb-nav-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M9 3v5M15 3v5"/><path d="M6.5 8h11v3.5a5.5 5.5 0 0 1-11 0z"/><path d="M12 17v4"/></svg></span> MCP & C2</button>
|
||
</details>
|
||
</nav>
|
||
|
||
<div class="sb-run-history" id="sbRunHistory">
|
||
<div class="sb-section">Runs</div>
|
||
<div class="sb-search">
|
||
<span class="search-icon" aria-hidden="true"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="11" cy="11" r="6.5"/><path d="m20 20-4.2-4.2"/></svg></span>
|
||
<input id="runFilter" type="text" autocomplete="off" placeholder="Search runs" aria-label="Search runs" />
|
||
<span class="search-shortcut">⌘K</span>
|
||
</div>
|
||
<div class="sb-groups" id="sbGroups"><!-- populated by app.js --></div>
|
||
</div>
|
||
|
||
<div class="sb-bottom">
|
||
<button class="sb-foot-btn" id="btnSetupGuide" title="Setup checklist"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M9 11.5 11 13.5 15.5 9"/><rect x="3.5" y="3.5" width="17" height="17" rx="4"/></svg> Setup</button>
|
||
<span class="sb-version" id="sbVersion"></span>
|
||
<button class="icon-btn" id="btnThemeToggle" title="Toggle theme" aria-label="Toggle theme"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M20 14.5A8 8 0 0 1 9.5 4a8 8 0 1 0 10.5 10.5z"/></svg></button>
|
||
</div>
|
||
</aside>
|
||
|
||
<!-- ============ MAIN ============ -->
|
||
<main class="main">
|
||
|
||
<!-- ============ HOME ============ -->
|
||
<section class="page-view" id="homeView" hidden>
|
||
<div class="home-landing">
|
||
<div class="home-hero">
|
||
<span class="home-eyebrow"><span class="pulse-dot"></span> AI agents ready</span>
|
||
<h1 class="home-title">What do you want to test?</h1>
|
||
<p class="home-sub">Paste a URL, IP, domain or repository. We pick the right test type.</p>
|
||
<form class="quick-start" id="quickStart" autocomplete="off">
|
||
<span class="qs-icon" aria-hidden="true"><svg class="ico" viewBox="0 0 24 24"><circle cx="12" cy="12" r="7.5"/><path d="M12 2.5v4M12 17.5v4M2.5 12h4M17.5 12h4"/></svg></span>
|
||
<input id="quickTarget" type="text" spellcheck="false" placeholder="https://app.example.com · 10.0.0.0/24 · owner/repo" aria-label="Target" />
|
||
<span class="qs-detect" id="quickDetect" hidden></span>
|
||
<button class="btn btn-primary" type="submit" id="btnQuickStart">Start test <svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button>
|
||
</form>
|
||
</div>
|
||
|
||
<div class="onboarding" id="onboarding" hidden></div>
|
||
|
||
<div class="home-block">
|
||
<div class="home-block-title">Or choose a test type</div>
|
||
<div class="home-suggestions">
|
||
<button class="home-card" data-mode="run"><span class="home-card-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="8.5"/><path d="M3.5 12h17M12 3.5c3 2.6 3 14.4 0 17M12 3.5c-3 2.6-3 14.4 0 17"/></svg></span><span class="home-card-title">Web app</span><span class="home-card-desc">Black-box test of a live URL</span></button>
|
||
<button class="home-card" data-mode="whitebox"><span class="home-card-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m8 8-4 4 4 4M16 8l4 4-4 4M13.5 5.5l-3 13"/></svg></span><span class="home-card-title">Source code</span><span class="home-card-desc">White-box review of a repo</span></button>
|
||
<button class="home-card" data-mode="greybox"><span class="home-card-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m12 3.5 8.5 4.7-8.5 4.8-8.5-4.8z"/><path d="m3.5 12.5 8.5 4.8 8.5-4.8"/></svg></span><span class="home-card-title">App + code</span><span class="home-card-desc">Grey-box: URL and repo together</span></button>
|
||
<button class="home-card" data-mode="host"><span class="home-card-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><rect x="3.5" y="4" width="17" height="6" rx="1.5"/><rect x="3.5" y="14" width="17" height="6" rx="1.5"/><path d="M7 7h.01M7 17h.01"/></svg></span><span class="home-card-title">Infrastructure</span><span class="home-card-desc">Hosts, networks, Active Directory</span></button>
|
||
<button class="home-card" data-mode="aitest"><span class="home-card-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><rect x="7" y="7" width="10" height="10" rx="2"/><path d="M9.5 3v4M14.5 3v4M9.5 17v4M14.5 17v4M3 9.5h4M3 14.5h4M17 9.5h4M17 14.5h4"/></svg></span><span class="home-card-title">AI / LLM</span><span class="home-card-desc">Chatbots, agents, MCP servers</span></button>
|
||
<button class="home-card" data-mode="cloud"><span class="home-card-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M7 18.5a4 4 0 0 1-.6-7.95A6 6 0 0 1 18 9.8a4.4 4.4 0 0 1-.5 8.7z"/></svg></span><span class="home-card-title">Cloud</span><span class="home-card-desc">AWS, GCP or Azure config</span></button>
|
||
</div>
|
||
</div>
|
||
<div class="home-recent" id="homeRecent"></div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- ============ DASHBOARD ============ -->
|
||
<section class="dashboard" id="dashView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Dashboard</div>
|
||
<div class="topbar-sub">Risk, findings and coverage across all runs</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<select id="dashRange" class="dash-range" title="Time range">
|
||
<option value="0">All time</option>
|
||
<option value="7">Last 7 days</option>
|
||
<option value="30">Last 30 days</option>
|
||
<option value="90">Last 90 days</option>
|
||
</select>
|
||
<button class="btn btn-ghost" id="btnDashRefresh">Refresh</button>
|
||
</header>
|
||
<div class="dash-body" id="dashBody">
|
||
<div class="empty-state">Loading…</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- ============ PENTESTS ============ -->
|
||
<section class="page-view" id="pentestsView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Pentests</div>
|
||
<div class="topbar-sub">Every engagement you have run</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<input type="text" id="pentestSearch" class="topbar-search" placeholder="Search pentests" />
|
||
<button class="btn btn-primary" id="btnNewPentest2"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 5v14M5 12h14"/></svg> New pentest</button>
|
||
</header>
|
||
<div id="dashboardStats" hidden></div>
|
||
<div class="page-body" id="pentestsBody"><div class="empty-state">Loading…</div></div>
|
||
</section>
|
||
|
||
<!-- ============ PR REVIEWS ============ -->
|
||
<section class="page-view" id="prreviewsView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">PR reviews</div>
|
||
<div class="topbar-sub">Security review of pull requests</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="btn btn-primary" id="btnNewPrReview">New review</button>
|
||
</header>
|
||
<div class="page-body" id="prreviewsBody"><div class="empty-state">No PR reviews yet. Run <code>neurosploit pr owner/repo 123</code> to create one.</div></div>
|
||
</section>
|
||
|
||
<!-- ============ ISSUES ============ -->
|
||
<section class="page-view" id="issuesView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Findings</div>
|
||
<div class="topbar-sub">Every finding, across all engagements</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
</header>
|
||
<div class="page-body" id="issuesBody">
|
||
<div class="issues-sev-counters" id="issuesSevCounters"></div>
|
||
<nav class="issues-status-tabs" id="issuesStatusTabs">
|
||
<button class="issues-status-tab active" data-status="">All <span class="issues-tab-count" id="issuesCountAll">0</span></button>
|
||
<button class="issues-status-tab" data-status="open">Open <span class="issues-tab-count" id="issuesCountOpen">0</span></button>
|
||
<button class="issues-status-tab" data-status="in-progress">In progress <span class="issues-tab-count" id="issuesCountProgress">0</span></button>
|
||
<button class="issues-status-tab" data-status="fixed">Fixed <span class="issues-tab-count" id="issuesCountFixed">0</span></button>
|
||
<button class="issues-status-tab" data-status="ignored">Ignored <span class="issues-tab-count" id="issuesCountIgnored">0</span></button>
|
||
</nav>
|
||
<div class="issues-filter-bar">
|
||
<div class="search-wrap">
|
||
<span class="search-icon" aria-hidden="true"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="11" cy="11" r="6.5"/><path d="m20 20-4.2-4.2"/></svg></span>
|
||
<input id="issuesSearch" type="text" placeholder="Search findings" />
|
||
</div>
|
||
<select id="issuesSevFilter" class="dash-range">
|
||
<option value="">All severities</option>
|
||
<option value="critical">Critical</option>
|
||
<option value="high">High</option>
|
||
<option value="medium">Medium</option>
|
||
<option value="low">Low</option>
|
||
</select>
|
||
</div>
|
||
<div id="issuesTableBody"><div class="empty-state">Loading…</div></div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- ============ REPOSITORIES ============ -->
|
||
<section class="page-view" id="reposView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Assets</div>
|
||
<div class="topbar-sub">What you are allowed to test</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="btn btn-primary" id="btnAddRepo"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg> Add repository</button>
|
||
</header>
|
||
<nav class="asset-tabs" aria-label="Asset type"><button data-goto="domains">Domains</button><button data-goto="networks">Networks</button><button class="active" data-goto="repos">Repositories</button></nav>
|
||
<div class="page-body" id="reposBody"><div class="empty-state">No repositories yet.</div></div>
|
||
</section>
|
||
|
||
<!-- ============ DOMAINS ============ -->
|
||
<section class="page-view" id="domainsView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Assets</div>
|
||
<div class="topbar-sub">What you are allowed to test</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="btn btn-primary" id="btnAddDomain"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg> Add domain</button>
|
||
</header>
|
||
<nav class="asset-tabs" aria-label="Asset type"><button class="active" data-goto="domains">Domains</button><button data-goto="networks">Networks</button><button data-goto="repos">Repositories</button></nav>
|
||
<div class="page-body" id="domainsBody"><div class="empty-state">No domains yet.</div></div>
|
||
</section>
|
||
|
||
<!-- ============ PROJECTS / ORGS ============ -->
|
||
<section class="page-view" id="projectsView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Projects</div>
|
||
<div class="topbar-sub">Group tests by customer or target</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="btn btn-primary" id="btnAddProject"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg> New project</button>
|
||
</header>
|
||
<div class="page-body" id="projectsBody"><div class="empty-state">Loading projects…</div></div>
|
||
</section>
|
||
|
||
<!-- ============ NETWORKS ============ -->
|
||
<section class="page-view" id="networksView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Assets</div>
|
||
<div class="topbar-sub">What you are allowed to test</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="btn btn-primary" id="btnAddNetwork"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg> Add network</button>
|
||
</header>
|
||
<nav class="asset-tabs" aria-label="Asset type"><button data-goto="domains">Domains</button><button class="active" data-goto="networks">Networks</button><button data-goto="repos">Repositories</button></nav>
|
||
<div class="page-body" id="networksBody"><div class="empty-state">No networks yet.</div></div>
|
||
</section>
|
||
|
||
<!-- ============ VAULT ============ -->
|
||
<section class="page-view" id="vaultView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Credentials</div>
|
||
<div class="topbar-sub">How agents log in to the target</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
</header>
|
||
<div class="page-body" id="vaultBody">
|
||
<div class="page-narrow">
|
||
<div class="card">
|
||
<div class="card-head"><div><div class="card-title">Logged-in session</div><div class="card-desc">Agents send this with every request. Kept in memory only.</div></div></div>
|
||
<div class="form-group">
|
||
<label for="vaultAuthHeader">Auth header</label>
|
||
<input id="vaultAuthHeader" type="text" spellcheck="false" placeholder="Authorization: Bearer eyJhbGci…" />
|
||
</div>
|
||
<div class="form-group">
|
||
<label>Roles <span class="req">optional</span></label>
|
||
<div class="role-list" id="vaultRoleList"></div>
|
||
<button class="btn btn-ghost btn-sm" id="btnVaultAddRole" style="align-self:flex-start;"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg> Add role</button>
|
||
<div class="field-help">Add 2+ roles (e.g. admin, user) to test IDOR and broken access control.</div>
|
||
</div>
|
||
</div>
|
||
<div class="card">
|
||
<div class="card-head"><div><div class="card-title">Files</div><div class="card-desc">Optional. A creds file overrides the session above.</div></div></div>
|
||
<div class="form-group">
|
||
<label for="vaultCredsPath">creds.yaml path</label>
|
||
<input id="vaultCredsPath" type="text" spellcheck="false" placeholder="/path/to/creds.yaml" />
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="vaultCollectionFile">API collection</label>
|
||
<input id="vaultCollectionFile" type="file" accept=".json,application/json,.har" multiple />
|
||
<input id="vaultCollectionPath" type="text" spellcheck="false" placeholder="…or a path: /path/to/openapi.json" />
|
||
<div class="field-help">Postman, OpenAPI, Swagger or HAR. Every route gets tested.</div>
|
||
</div>
|
||
</div>
|
||
<div class="page-actions"><button class="btn btn-primary" id="btnVaultSave">Save credentials</button></div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- ============ TOOLBOX ============ -->
|
||
<section class="page-view" id="toolboxView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Toolbox</div>
|
||
<div class="topbar-sub">Installed pentest tools and MCP servers</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="btn btn-ghost btn-sm" id="btnToolboxRefresh">Refresh</button>
|
||
</header>
|
||
<div class="page-body" id="toolboxBody"><div class="empty-state">Loading…</div></div>
|
||
</section>
|
||
|
||
<!-- ============ C2 & SHELLS ============ -->
|
||
<section class="page-view" id="c2View" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">C2 & shells</div>
|
||
<div class="topbar-sub">Sessions, listeners and web shells · opt-in and audited</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="btn btn-ghost btn-sm" id="btnC2Refresh">Refresh</button>
|
||
</header>
|
||
<div class="page-body" id="c2Body"><div class="empty-state">Loading…</div></div>
|
||
</section>
|
||
|
||
<!-- ============ PHISHING (EVILGINX) ============ -->
|
||
<section class="page-view" id="phishView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Phishing</div>
|
||
<div class="topbar-sub">Evilginx phishlets, lures and captures · opt-in and audited</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="btn btn-ghost btn-sm" id="btnPhishRefresh">Refresh</button>
|
||
</header>
|
||
<div class="page-body" id="phishBody"><div class="empty-state">Loading…</div></div>
|
||
</section>
|
||
|
||
<!-- ============ MCP & C2 ============ -->
|
||
<section class="page-view" id="mcpView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">MCP & C2</div>
|
||
<div class="topbar-sub">Connect C2s and advanced MCP tools, reuse their sessions and task them — authorized engagements only</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="btn btn-ghost btn-sm" id="btnMcpRefresh">Refresh</button>
|
||
</header>
|
||
<div class="page-body" id="mcpBody"><div class="empty-state">Loading…</div></div>
|
||
</section>
|
||
|
||
<!-- ============ GUARDRAILS ============ -->
|
||
<section class="page-view" id="guardrailsView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Scope & safety</div>
|
||
<div class="topbar-sub">Rules every run must follow, enforced before each request</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
</header>
|
||
<div class="page-body" id="guardrailsBody">
|
||
<div class="config-grid" id="guardrailsSummary">
|
||
<button class="config-card config-card-link" onclick="openGuardrails('scope')">
|
||
<span class="cc-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="8.5"/><circle cx="12" cy="12" r="4"/><circle cx="12" cy="12" r=".5"/></svg></span>
|
||
<span class="config-card-title">Scope</span>
|
||
<span class="config-card-desc" id="grSumScope">Target only.</span>
|
||
<span class="cc-edit">Edit</span>
|
||
</button>
|
||
<button class="config-card config-card-link" onclick="openGuardrails('safety')">
|
||
<span class="cc-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3.2 19.5 6v5.6c0 4.4-3.1 7.5-7.5 9.2-4.4-1.7-7.5-4.8-7.5-9.2V6z"/></svg></span>
|
||
<span class="config-card-title">Safety limits</span>
|
||
<span class="config-card-desc" id="grSumSafety">—</span>
|
||
<span class="cc-edit">Edit</span>
|
||
</button>
|
||
<button class="config-card config-card-link" onclick="openGuardrails('env')">
|
||
<span class="cc-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><rect x="3.5" y="4" width="17" height="6" rx="1.5"/><rect x="3.5" y="14" width="17" height="6" rx="1.5"/></svg></span>
|
||
<span class="config-card-title">Environment</span>
|
||
<span class="config-card-desc" id="grSumEnv">—</span>
|
||
<span class="cc-edit">Edit</span>
|
||
</button>
|
||
<button class="config-card config-card-link" onclick="openGuardrails('egress')">
|
||
<span class="cc-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span>
|
||
<span class="config-card-title">Network & callbacks</span>
|
||
<span class="config-card-desc" id="grSumEgress">—</span>
|
||
<span class="cc-edit">Edit</span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- Scope & safety editor (modal) -->
|
||
<div class="modal-overlay" id="guardrailsModal" hidden>
|
||
<div class="modal modal-lg">
|
||
<div class="modal-head">
|
||
<div class="title">Scope & safety<span class="modal-sub">Enforced in code before every request</span></div>
|
||
<button class="icon-btn" onclick="closeModal('#guardrailsModal')" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<section class="form-section" data-gr-section="scope">
|
||
<h3 class="form-section-title">Scope</h3>
|
||
<div class="form-group">
|
||
<label for="grScopeHard">Allowed hosts</label>
|
||
<textarea id="grScopeHard" rows="3" spellcheck="false" placeholder="app.example.com *.staging.example.com 10.0.0.0/24"></textarea>
|
||
<div class="field-help">One per line. Hosts, <code>*.wildcards</code>, CIDRs or URL prefixes. Anything else is blocked.</div>
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="form-group">
|
||
<label for="grScopeExclude">Never touch</label>
|
||
<textarea id="grScopeExclude" rows="2" spellcheck="false" placeholder="payments.example.com"></textarea>
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="grScopeObserve">Recon only</label>
|
||
<textarea id="grScopeObserve" rows="2" spellcheck="false" placeholder="cdn.example.com"></textarea>
|
||
</div>
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="form-group">
|
||
<label for="grInScope">Extra authorized hosts</label>
|
||
<input id="grInScope" type="text" spellcheck="false" placeholder="api.example.com, 10.0.0.5" />
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="grCapToken">Capability token <span class="req">optional</span></label>
|
||
<input id="grCapToken" type="text" placeholder="ns-cap.v1.…" spellcheck="false" />
|
||
<div class="field-status" id="grCapStatus"></div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="form-section" data-gr-section="safety">
|
||
<h3 class="form-section-title">Safety limits</h3>
|
||
<div class="field-row">
|
||
<div class="form-group">
|
||
<label for="grRate">Max requests / min</label>
|
||
<input class="narrow" id="grRate" type="number" min="0" value="240" />
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="grMaxAccounts">Max test accounts</label>
|
||
<input class="narrow" id="grMaxAccounts" type="number" min="0" value="3" />
|
||
</div>
|
||
</div>
|
||
<div class="check-row"><input type="checkbox" id="grAccounts" checked /> <label for="grAccounts">Allow creating test accounts</label></div>
|
||
<div class="check-row"><input type="checkbox" id="grDestructive" /> <label for="grDestructive">Allow DELETE / PUT / PATCH <span class="req">changes target data</span></label></div>
|
||
<div class="form-group">
|
||
<label for="grForbidden">Blocked payloads</label>
|
||
<textarea id="grForbidden" rows="2" spellcheck="false" placeholder="drop table rm -rf /"></textarea>
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="grNotes">Notes for agents <span class="req">not enforced</span></label>
|
||
<textarea id="grNotes" rows="2" placeholder="Test window 02:00–06:00 UTC"></textarea>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="form-section" data-gr-section="env">
|
||
<h3 class="form-section-title">Environment</h3>
|
||
<div class="field-row">
|
||
<div class="form-group">
|
||
<label for="grEnv">Environment</label>
|
||
<select id="grEnv">
|
||
<option value="production" selected>Production</option>
|
||
<option value="staging">Staging</option>
|
||
<option value="development">Development</option>
|
||
<option value="lab">Lab</option>
|
||
<option value="ot-production">OT / ICS production</option>
|
||
</select>
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="grPolicy">Policy</label>
|
||
<select id="grPolicy">
|
||
<option value="web" selected>Standard</option>
|
||
<option value="ot">OT — read-only, slow, no writes</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="form-section" data-gr-section="egress">
|
||
<h3 class="form-section-title">Network & callbacks</h3>
|
||
<div class="form-group">
|
||
<label for="grTransport">Route traffic through</label>
|
||
<input id="grTransport" type="text" placeholder="direct · socks5://127.0.0.1:1080 · openvpn:/path/client.ovpn" spellcheck="false" />
|
||
<div class="field-help">Required for internal targets.</div>
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="form-group">
|
||
<label for="grOobDomain">Callback domain</label>
|
||
<input id="grOobDomain" type="text" placeholder="oob.example.com" spellcheck="false" />
|
||
<div class="field-help">Confirms blind SSRF, XXE and RCE.</div>
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="grOobHttp">HTTP listener</label>
|
||
<input id="grOobHttp" type="text" placeholder="0.0.0.0:8080" spellcheck="false" />
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="grOobDns">DNS listener</label>
|
||
<input id="grOobDns" type="text" placeholder="0.0.0.0:5353" spellcheck="false" />
|
||
</div>
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="grSms">SMS inbox <span class="req">for OTP tests</span></label>
|
||
<input id="grSms" type="text" placeholder="twilio:SID:TOKEN:+15550101" spellcheck="false" />
|
||
</div>
|
||
</section>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button class="btn btn-ghost" onclick="closeModal('#guardrailsModal')">Cancel</button>
|
||
<button class="btn btn-primary" id="btnGuardrailsSave">Save</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ INTEGRATIONS ============ -->
|
||
<section class="page-view" id="integrationsView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Integrations</div>
|
||
<div class="topbar-sub">Connect code hosts, ticketing, chat and cloud</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
</header>
|
||
<div class="page-body" id="integrationsBody"><div class="empty-state">Loading…</div></div>
|
||
</section>
|
||
|
||
<!-- ============ SETTINGS ============ -->
|
||
<section class="page-view" id="settingsView" hidden>
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">Settings</div>
|
||
<div class="topbar-sub">Model providers and console preferences</div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
</header>
|
||
<div class="page-body" id="settingsBody"><div class="empty-state">Loading…</div></div>
|
||
</section>
|
||
|
||
<!-- ============ WIZARD (new engagement) ============ -->
|
||
<section class="wizard" id="wizardView">
|
||
<header class="topbar">
|
||
<div>
|
||
<div class="topbar-title">New pentest</div>
|
||
<div class="topbar-sub" id="wizardSummary"></div>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="btn btn-ghost btn-sm" id="btnOpenAuth2"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="8" cy="15" r="3.8"/><path d="m10.7 12.3 8.8-8.8M16 7l3 3M13.5 9.5l2 2"/></svg> <span class="hide-sm">Auth & keys</span></button>
|
||
<button class="btn btn-ghost btn-sm" id="btnOpenTerm2"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m5 7 5 5-5 5M12.5 18H19"/></svg> <span class="hide-sm">Terminal</span></button>
|
||
</header>
|
||
|
||
<nav class="stepper" id="stepper" aria-label="Steps">
|
||
<button class="step-tab active" data-step="0"><span class="n">1</span><span class="step-l">Target</span></button>
|
||
<button class="step-tab" data-step="1"><span class="n">2</span><span class="step-l">Scope</span></button>
|
||
<button class="step-tab" data-step="2"><span class="n">3</span><span class="step-l">Agents</span></button>
|
||
<button class="step-tab" data-step="3"><span class="n">4</span><span class="step-l">Launch</span></button>
|
||
</nav>
|
||
|
||
<div class="wizard-body">
|
||
|
||
<!-- Step 1 — Target -->
|
||
<div class="wizard-panel" data-panel="0">
|
||
<div class="panel-head">
|
||
<h2 class="panel-title">What are you testing?</h2>
|
||
<p class="panel-desc">Pick a type and point it at a target.</p>
|
||
</div>
|
||
<div class="mode-tiles" id="modeTiles">
|
||
<button class="mode-tile" data-mode="run"><span class="t">Web app</span><span class="d">Live URL, black-box</span></button>
|
||
<button class="mode-tile" data-mode="whitebox"><span class="t">Source code</span><span class="d">Repo, white-box</span></button>
|
||
<button class="mode-tile" data-mode="greybox"><span class="t">App + code</span><span class="d">URL and repo</span></button>
|
||
<button class="mode-tile" data-mode="host"><span class="t">Host</span><span class="d">Linux or Windows IP</span></button>
|
||
<button class="mode-tile" data-mode="network"><span class="t">Internal network</span><span class="d">IP range, no AD</span></button>
|
||
<button class="mode-tile" data-mode="ad"><span class="t">Active Directory</span><span class="d">Domain or DC</span></button>
|
||
<button class="mode-tile" data-mode="mobile"><span class="t">Mobile / binary</span><span class="d">APK, IPA or binary</span></button>
|
||
<button class="mode-tile" data-mode="aitest"><span class="t">AI / LLM</span><span class="d">Chatbot, agent, MCP</span></button>
|
||
<button class="mode-tile" data-mode="cloud"><span class="t">Cloud</span><span class="d">AWS, GCP, Azure</span></button>
|
||
</div>
|
||
|
||
<div class="card form-card">
|
||
<div class="field-group" id="fieldTargetGroup">
|
||
<label class="field-label" id="targetLabel" for="fieldTarget">Target URL</label>
|
||
<input id="fieldTarget" type="text" spellcheck="false" placeholder="https://app.example.com" aria-describedby="errTarget" />
|
||
<div class="field-error" id="errTarget" hidden></div>
|
||
<div class="field-help" id="targetHelp"></div>
|
||
</div>
|
||
<div class="field-group" id="fieldRepoGroup" hidden>
|
||
<label class="field-label" for="fieldRepo">Repository</label>
|
||
<input id="fieldRepo" type="text" spellcheck="false" placeholder="owner/repo or /path/to/code" aria-describedby="errRepo" />
|
||
<div class="field-error" id="errRepo" hidden></div>
|
||
</div>
|
||
<div class="field-group" id="fieldCloudGroup" hidden>
|
||
<label class="field-label" for="fieldCloudProvider">Cloud account</label>
|
||
<select id="fieldCloudProvider">
|
||
<option value="">Select a connected account…</option>
|
||
</select>
|
||
<div class="field-help">Connect accounts in <a href="#" data-goto="integrations">Integrations</a>.</div>
|
||
</div>
|
||
<div class="field-group" id="fieldUploadGroup" hidden>
|
||
<label class="field-label" for="fieldUploadFile">File</label>
|
||
<label class="dropzone">
|
||
<input id="fieldUploadFile" type="file" accept=".apk,.aab,.xapk,.apks,.ipa,.jar,.war,.dex,.so,.elf,.exe,.dll,.bin,.zip,.dylib" />
|
||
<svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 15V4M7 9l5-5 5 5M4 15v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4"/></svg>
|
||
<span><b>Choose a file</b> or drop it here</span>
|
||
<span class="field-help" id="uploadStatus">APK, IPA, JAR or native binary</span>
|
||
</label>
|
||
<div class="field-error" id="errUpload" hidden></div>
|
||
<select id="fieldPlatform" class="narrow" aria-label="Platform">
|
||
<option value="">Auto-detect platform</option>
|
||
<option value="android">Android</option>
|
||
<option value="ios">iOS</option>
|
||
<option value="binary">Native binary</option>
|
||
</select>
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="field-group">
|
||
<label class="field-label" for="fieldName">Name</label>
|
||
<input id="fieldName" type="text" placeholder="Acme checkout — Q4" aria-describedby="errName" />
|
||
<div class="field-error" id="errName" hidden></div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="fieldProject">Project <span class="req">optional</span></label>
|
||
<select id="fieldProject">
|
||
<option value="">No project</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Step 2 — Scope -->
|
||
<div class="wizard-panel" data-panel="1" hidden>
|
||
<div class="panel-head">
|
||
<h2 class="panel-title">Goal and scope</h2>
|
||
<p class="panel-desc">All optional. Tell the agents what matters.</p>
|
||
</div>
|
||
<div class="card form-card">
|
||
<div class="field-group">
|
||
<label class="field-label" for="fieldObjective">Goal</label>
|
||
<textarea id="fieldObjective" rows="2" placeholder="Find any way to read another customer's orders."></textarea>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="fieldFocus">Focus on</label>
|
||
<textarea id="fieldFocus" rows="2" placeholder="Checkout, payments and account APIs."></textarea>
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="field-group">
|
||
<label class="field-label" for="fieldClasses">Vulnerability classes</label>
|
||
<input id="fieldClasses" type="text" spellcheck="false" placeholder="idor, sqli, ssrf" />
|
||
<div class="field-help">Empty = agents decide from recon.</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="fieldOutOfScope">Out of scope</label>
|
||
<input id="fieldOutOfScope" type="text" spellcheck="false" placeholder="/admin, billing.example.com" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="card inline-card">
|
||
<span class="cc-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><circle cx="8" cy="15" r="3.8"/><path d="m10.7 12.3 8.8-8.8M16 7l3 3M13.5 9.5l2 2"/></svg></span>
|
||
<div class="inline-card-body">
|
||
<div class="card-title">Authentication</div>
|
||
<div class="card-desc" id="scopeAuthSummary">Not set — agents test as an anonymous user.</div>
|
||
</div>
|
||
<button class="btn btn-sm" id="btnOpenAuth3">Configure</button>
|
||
</div>
|
||
<div class="card inline-card">
|
||
<span class="cc-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3.2 19.5 6v5.6c0 4.4-3.1 7.5-7.5 9.2-4.4-1.7-7.5-4.8-7.5-9.2V6z"/></svg></span>
|
||
<div class="inline-card-body">
|
||
<div class="card-title">Scope & safety rules</div>
|
||
<div class="card-desc">Allowed hosts, rate limits and blocked actions.</div>
|
||
</div>
|
||
<button class="btn btn-sm" data-open-authz>Edit rules</button>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Step 3 — Agents -->
|
||
<div class="wizard-panel wizard-panel-wide" data-panel="2" hidden>
|
||
<div class="panel-head">
|
||
<h2 class="panel-title">Agents</h2>
|
||
<p class="panel-desc">Skip this to let the AI pick agents from recon. Pin agents only to force them.</p>
|
||
</div>
|
||
<div class="lead-toolbar">
|
||
<div class="search-wrap">
|
||
<span class="search-icon" aria-hidden="true"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="11" cy="11" r="6.5"/><path d="m20 20-4.2-4.2"/></svg></span>
|
||
<input id="leadSearch" type="text" placeholder="Search agents or CWE" />
|
||
</div>
|
||
<select class="input-sm" id="catFilter" title="Category"><option value="">All categories</option></select>
|
||
<div class="chips seg">
|
||
<button class="chip chip-active" data-filter="all">All <span id="chipAll">0</span></button>
|
||
<button class="chip" data-filter="selected">Pinned <span id="chipSelected">0</span></button>
|
||
<button class="chip" data-filter="excluded">Unpinned <span id="chipExcluded">0</span></button>
|
||
</div>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="btn btn-ghost btn-sm" id="btnExpandAll">Expand all</button>
|
||
<button class="btn btn-ghost btn-sm" id="btnSelectAll">Pin all</button>
|
||
<button class="btn btn-ghost btn-sm" id="btnClearAll">Clear</button>
|
||
<button class="btn btn-sm" id="btnCustomLead"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg> Custom agent</button>
|
||
</div>
|
||
<div class="custom-leads" id="customLeadsList" hidden></div>
|
||
<div class="categories" id="categories"><!-- populated --></div>
|
||
<div class="empty-state" id="leadsEmpty" hidden>No agent matches that search.</div>
|
||
</div>
|
||
|
||
<!-- Step 4 — Launch -->
|
||
<div class="wizard-panel" data-panel="3" hidden>
|
||
<div class="panel-head">
|
||
<h2 class="panel-title">Ready to launch</h2>
|
||
<p class="panel-desc">Check the plan, pick a model and a depth.</p>
|
||
</div>
|
||
|
||
<div class="review-grid" id="reviewGrid"></div>
|
||
|
||
<div class="card form-card ai-card">
|
||
<div class="ai-summary">
|
||
<span class="cc-icon"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1"/><circle cx="12" cy="12" r="3"/></svg></span>
|
||
<div class="ai-summary-t"><div class="card-title" id="aiModelName">AI model</div><div class="card-desc" id="aiModelSub">Checking your key…</div></div>
|
||
<button class="btn btn-primary btn-sm" id="btnAiAddKey" hidden>Add AI key</button>
|
||
</div>
|
||
<details class="ai-change">
|
||
<summary>Change model</summary>
|
||
<div class="field-row">
|
||
<div class="field-group">
|
||
<label class="field-label" for="fieldProvider">Provider</label>
|
||
<select id="fieldProvider"></select>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="fieldModelSelect">Model</label>
|
||
<select id="fieldModelSelect"></select>
|
||
</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="fieldModelCustom">Custom model id</label>
|
||
<input id="fieldModelCustom" placeholder="any id, e.g. deepseek/deepseek-v4.1-flash" autocomplete="off" />
|
||
<div class="field-help">Type any model the provider accepts. The provider's full catalog loads automatically when a key is set.</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<div class="auth-mode-toggle" id="authModeToggle" role="radiogroup" aria-label="Billing">
|
||
<button data-mode="api" class="selected">API key</button>
|
||
<button data-mode="subscription">Subscription login</button>
|
||
</div>
|
||
<div class="field-help" id="authModeHelp"></div>
|
||
</div>
|
||
</details>
|
||
</div>
|
||
|
||
<div class="card form-card">
|
||
<div class="card-title">Depth</div>
|
||
<div class="preset-tiles" id="runPresets" role="radiogroup" aria-label="Depth">
|
||
<button class="preset-tile" data-preset="quick"><span class="t">Quick</span><span class="d">Fast, low cost. Good for a first look.</span></button>
|
||
<button class="preset-tile selected" data-preset="standard"><span class="t">Standard</span><span class="d">Balanced coverage and cost.</span></button>
|
||
<button class="preset-tile" data-preset="deep"><span class="t">Deep</span><span class="d">Exhaustive recon and chaining.</span></button>
|
||
</div>
|
||
</div>
|
||
|
||
<details class="adv card" id="advancedSettings">
|
||
<summary><span>Advanced settings</span><span class="adv-hint">Agents, budget, tooling, compliance</span><svg class="ico caret-ico" viewBox="0 0 24 24" aria-hidden="true"><path d="m9 6 6 6-6 6"/></svg></summary>
|
||
<div class="adv-body">
|
||
|
||
<section class="form-section">
|
||
<h3 class="form-section-title">Agents</h3>
|
||
<div class="field-row">
|
||
<div class="field-group"><label class="field-label" for="fieldVotes">Votes to confirm</label><input class="narrow" id="fieldVotes" type="number" min="1" max="9" value="3" /></div>
|
||
<div class="field-group"><label class="field-label" for="fieldChain">Chain depth</label><input class="narrow" id="fieldChain" type="number" min="0" max="5" value="2" /></div>
|
||
<div class="field-group"><label class="field-label" for="fieldMaxAgents">Max agents</label><input class="narrow" id="fieldMaxAgents" type="number" min="1" max="64" placeholder="auto" /></div>
|
||
<div class="field-group"><label class="field-label" for="fieldRecon">Recon</label>
|
||
<select class="narrow" id="fieldRecon">
|
||
<option value="1">Quick</option>
|
||
<option value="2">Standard</option>
|
||
<option value="3" selected>Deep</option>
|
||
<option value="4">Exhaustive</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="field-group"><label class="field-label" for="fieldAutonomy">Autonomy</label>
|
||
<select id="fieldAutonomy">
|
||
<option value="cautious">Cautious</option>
|
||
<option value="standard" selected>Standard</option>
|
||
<option value="aggressive">Aggressive</option>
|
||
<option value="full">Full</option>
|
||
</select>
|
||
</div>
|
||
<div class="field-group"><label class="field-label" for="fieldMcpProfile">Tool profile</label>
|
||
<select id="fieldMcpProfile">
|
||
<option value="" selected>Auto</option>
|
||
<option value="web">Web (Playwright)</option>
|
||
<option value="mobile-android">Android</option>
|
||
<option value="mobile-ios">iOS</option>
|
||
<option value="binary">Binary</option>
|
||
<option value="burp">Burp Suite</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="check-row"><input type="checkbox" id="fieldMcp" /> <label for="fieldMcp">Browser automation (Playwright MCP) <span class="req">subscription only</span></label></div>
|
||
<div class="check-row"><input type="checkbox" id="fieldResearch" /> <label for="fieldResearch">Research mode <span class="req">hunt new, CVE-worthy bugs</span></label></div>
|
||
<div class="check-row"><input type="checkbox" id="fieldReactive" checked /> <label for="fieldReactive">Reactive engine <span class="badge badge-experimental">beta</span> <button type="button" class="btn-link" id="btnReactiveInfo">What is this?</button></label></div>
|
||
</section>
|
||
|
||
<section class="form-section">
|
||
<h3 class="form-section-title">Extra models <span class="req">run in parallel</span></h3>
|
||
<div id="extraModels"></div>
|
||
<button class="btn btn-ghost btn-sm" id="btnAddModel" style="align-self:flex-start"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg> Add model</button>
|
||
</section>
|
||
|
||
<section class="form-section">
|
||
<h3 class="form-section-title">Budget</h3>
|
||
<div class="check-row check-quick"><input type="checkbox" id="fieldQuick" /> <label for="fieldQuick">Quick mode <span class="req">overrides the settings below</span></label></div>
|
||
<div class="field-row">
|
||
<div class="field-group"><label class="field-label" for="fieldBudget">Spend</label>
|
||
<select id="fieldBudget">
|
||
<option value="unlimited" selected>Unlimited</option>
|
||
<option value="eco">Eco</option>
|
||
<option value="balanced">Balanced</option>
|
||
<option value="aggressive">Aggressive</option>
|
||
</select>
|
||
</div>
|
||
<div class="field-group"><label class="field-label" for="fieldTokenLimit">Token cap</label><input class="narrow" id="fieldTokenLimit" type="number" min="0" step="10000" placeholder="none" /></div>
|
||
<div class="field-group"><label class="field-label" for="fieldOrder">Order</label>
|
||
<select id="fieldOrder">
|
||
<option value="coverage-first" selected>Coverage first</option>
|
||
<option value="depth-first">Depth first</option>
|
||
</select>
|
||
</div>
|
||
<div class="field-group"><label class="field-label" for="fieldSampleRoute">Requests / route</label><input class="narrow" id="fieldSampleRoute" type="number" min="1" max="50" value="3" /></div>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="form-section">
|
||
<h3 class="form-section-title">Tooling</h3>
|
||
<div class="field-row">
|
||
<div class="field-group"><label class="field-label" for="fieldIntercept">Proxy</label>
|
||
<select id="fieldIntercept">
|
||
<option value="off" selected>None</option>
|
||
<option value="own">NeuroSploit Interceptor</option>
|
||
<option value="burp">Burp Suite</option>
|
||
<option value="caido">Caido</option>
|
||
<option value="zap">OWASP ZAP</option>
|
||
<option value="mitmproxy">mitmproxy</option>
|
||
<option value="own+burp">Interceptor + Burp</option>
|
||
<option value="own+caido">Interceptor + Caido</option>
|
||
</select>
|
||
</div>
|
||
<div class="field-group"><label class="field-label" for="fieldSandbox">Run commands in</label>
|
||
<select id="fieldSandbox">
|
||
<option value="auto" selected>Auto (Kali if available)</option>
|
||
<option value="host">This host</option>
|
||
<option value="default">Kali container</option>
|
||
</select>
|
||
</div>
|
||
<div class="field-group"><label class="field-label" for="fieldTypesafe">TypeSafe</label>
|
||
<select id="fieldTypesafe">
|
||
<option value="auto" selected>Auto</option>
|
||
<option value="on">On</option>
|
||
<option value="off">Off</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="check-row"><input type="checkbox" id="fieldRevalidatePoc" checked /> <label for="fieldRevalidatePoc">Re-run every PoC before reporting</label></div>
|
||
<div class="check-row"><input type="checkbox" id="fieldEvasion" checked /> <label for="fieldEvasion">OPSEC evasion <span class="req">drop the scan header</span></label></div>
|
||
<div class="check-row"><input type="checkbox" id="fieldC2" /> <label for="fieldC2">Enable C2 / post-exploitation <span class="req">internal tests only</span></label></div>
|
||
<div class="c2-opts" id="c2Opts">
|
||
<input id="fieldC2Auth" type="text" placeholder="Authorization reference (SOW or ticket)" />
|
||
<div class="check-row"><input type="checkbox" id="fieldC2Persistence" /> <label for="fieldC2Persistence">Allow persistence</label></div>
|
||
<div class="check-row"><input type="checkbox" id="fieldC2Lateral" /> <label for="fieldC2Lateral">Allow lateral movement</label></div>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="form-section">
|
||
<h3 class="form-section-title">Compliance mapping</h3>
|
||
<div class="pill-checks">
|
||
<label class="pill-check"><input type="checkbox" id="fieldCompPci" value="pci-dss" /> PCI-DSS 4.0</label>
|
||
<label class="pill-check"><input type="checkbox" id="fieldCompHipaa" value="hipaa" /> HIPAA</label>
|
||
<label class="pill-check"><input type="checkbox" id="fieldCompSoc2" value="soc2" /> SOC 2</label>
|
||
<label class="pill-check"><input type="checkbox" id="fieldCompGdpr" value="gdpr" /> GDPR</label>
|
||
</div>
|
||
</section>
|
||
</div>
|
||
</details>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<footer class="wizard-footer">
|
||
<button class="btn btn-ghost" id="btnStepBack"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M19 12H5M11 6l-6 6 6 6"/></svg> Back</button>
|
||
<div class="footer-actions">
|
||
<button class="btn btn-primary" id="btnStepNext">Continue <svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button>
|
||
<button class="btn btn-primary btn-launch" id="btnLaunch" hidden><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 4.5v15l12-7.5z"/></svg> Launch pentest</button>
|
||
</div>
|
||
</footer>
|
||
</section>
|
||
|
||
<!-- ============ LIVE RUN ============ -->
|
||
<section class="runpage" id="liveView" hidden>
|
||
<header class="run-head">
|
||
<div class="run-head-main">
|
||
<button class="crumb" id="btnBackToBoard"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M19 12H5M11 6l-6 6 6 6"/></svg> New pentest</button>
|
||
<div class="run-title-row">
|
||
<div class="run-target" id="liveTarget">—</div>
|
||
<span class="run-state live"><span class="phase-dot" id="phaseDot"></span><span id="livePhase">starting</span></span>
|
||
</div>
|
||
<div class="run-meta" id="liveTargetSub"></div>
|
||
<div class="run-meta run-pinned" id="livePinned"></div>
|
||
</div>
|
||
<div class="run-actions">
|
||
<button class="btn btn-ghost" id="btnPauseRun" title="Pause — running agents finish, nothing is lost">Pause</button>
|
||
<button class="btn btn-danger" id="btnStopRun">Stop</button>
|
||
<button class="btn" id="btnReportNow" title="Build a report from findings so far"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 3.5h7l4 4v13H7z"/><path d="M14 3.5V8h4M9.5 12.5h6M9.5 16h6"/></svg> Report so far</button>
|
||
<div class="menu">
|
||
<button class="btn btn-ghost icon-only" data-menu aria-haspopup="menu" aria-label="More actions"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><circle cx="5" cy="12" r="1.3"/><circle cx="12" cy="12" r="1.3"/><circle cx="19" cy="12" r="1.3"/></svg></button>
|
||
<div class="menu-pop" role="menu" hidden>
|
||
<a class="menu-item" id="btnOpenReport" target="_blank" hidden>Open report</a>
|
||
<button class="menu-item" id="btnOpenTerm3">Open in terminal</button>
|
||
<a class="menu-item" id="btnDownloadLog" download>Download log</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</header>
|
||
<div class="progress-wrap">
|
||
<div class="progress-bar" id="progressBar"><div class="progress-fill" id="progressFill"></div></div>
|
||
<div class="progress-label" id="progressLabel">0 / 0 agents</div>
|
||
</div>
|
||
<div class="run-sev-bar" id="liveSevBar" hidden></div>
|
||
<div class="agent-panel" id="agentPanel" hidden>
|
||
<div class="agent-panel-head">
|
||
<span>Agents at work</span>
|
||
<span class="agent-legend"><i class="ap running"></i>testing <i class="ap done"></i>done <i class="ap found"></i>found <i class="ap failed"></i>error</span>
|
||
</div>
|
||
<div class="agent-grid" id="agentGrid"></div>
|
||
</div>
|
||
<nav class="run-tabs">
|
||
<button class="run-tab active" data-tab="findings">Findings <span id="liveFindingsCount">0</span></button>
|
||
<button class="run-tab" data-tab="agents"><span class="tab-dot" id="agentsTabDot"></span>Agents <span id="liveAgentsCount" class="tab-badge">0</span></button>
|
||
<button class="run-tab" data-tab="coverage"><span class="tab-dot" id="coverageTabDot"></span>Coverage</button>
|
||
<button class="run-tab" data-tab="adaptive"><span class="tab-dot" id="adaptiveTabDot"></span>Adaptive</button>
|
||
<button class="run-tab" data-tab="log"><span class="tab-dot" id="activityTabDot"></span>Activity</button>
|
||
</nav>
|
||
<div class="run-body">
|
||
<div class="run-tab-panel" data-tabpanel="findings">
|
||
<div class="findings-toolbar">
|
||
<div class="sev-summary" id="liveSevSummary"></div>
|
||
<div class="topbar-spacer"></div>
|
||
<div class="search-wrap">
|
||
<span class="search-icon" aria-hidden="true"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="11" cy="11" r="6.5"/><path d="m20 20-4.2-4.2"/></svg></span>
|
||
<input id="liveFindingSearch" type="text" placeholder="Filter findings" />
|
||
</div>
|
||
</div>
|
||
<div class="table-wrap">
|
||
<table class="data-table" id="liveFindingsTable">
|
||
<thead><tr><th data-sort="severity">Severity</th><th data-sort="title">Title</th><th data-sort="endpoint">Endpoint</th><th data-sort="cwe">CWE</th><th data-sort="review_status">Status</th><th data-sort="wire">Wire</th><th data-sort="agent">Agent</th><th data-sort="confidence" class="col-conf">Conf.</th></tr></thead>
|
||
<tbody></tbody>
|
||
</table>
|
||
</div>
|
||
<div class="empty-state" id="liveFindingsEmpty"><b>No confirmed findings yet</b>Agents are working. Findings appear here as soon as they are validated.</div>
|
||
</div>
|
||
<div class="run-tab-panel" data-tabpanel="agents" hidden>
|
||
<div class="agents-tab-head">
|
||
<div class="agents-tab-stats" id="agentsTabStats"></div>
|
||
<div class="topbar-spacer"></div>
|
||
<div class="agent-legend"><i class="ap running"></i>testing <i class="ap done"></i>done <i class="ap found"></i>found <i class="ap failed"></i>error</div>
|
||
</div>
|
||
<div class="agents-tab-grid" id="agentsTabGrid"></div>
|
||
<div class="empty-state" id="agentsTabEmpty">No agents dispatched yet.</div>
|
||
</div>
|
||
<div class="run-tab-panel" data-tabpanel="coverage" hidden>
|
||
<div class="coverage-head">
|
||
<div class="coverage-stats" id="coverageStats"></div>
|
||
<div class="topbar-spacer"></div>
|
||
<div class="search-wrap">
|
||
<span class="search-icon" aria-hidden="true"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="11" cy="11" r="6.5"/><path d="m20 20-4.2-4.2"/></svg></span>
|
||
<input id="coverageSearch" type="text" placeholder="Filter endpoints" />
|
||
</div>
|
||
</div>
|
||
<div class="cv-pills" id="coveragePills"></div>
|
||
<div class="coverage-list" id="coverageList"></div>
|
||
<div class="empty-state" id="coverageEmpty"><b>No coverage yet</b>Endpoints appear as agents test them.</div>
|
||
</div>
|
||
<div class="run-tab-panel" data-tabpanel="adaptive" hidden>
|
||
<div class="adaptive-dashboard">
|
||
<div class="adaptive-section">
|
||
<h3 class="adaptive-title"><span class="a-icon">▦</span> Target Stack</h3>
|
||
<div class="adaptive-stack" id="adaptiveStack">Waiting for recon data…</div>
|
||
</div>
|
||
<div class="adaptive-section">
|
||
<h3 class="adaptive-title"><span class="a-icon">⛨</span> WAF Intelligence</h3>
|
||
<div class="adaptive-waf" id="adaptiveWaf">No WAF detected yet.</div>
|
||
</div>
|
||
<div class="adaptive-section">
|
||
<h3 class="adaptive-title"><span class="a-icon">✦</span> Payload Evolution</h3>
|
||
<div class="adaptive-stats-grid" id="adaptivePayloadStats">
|
||
<div class="astat"><span class="astat-n zero" id="adaptPayloads">0</span><span class="astat-l">Payloads</span></div>
|
||
<div class="astat"><span class="astat-n zero" id="adaptTriggered">0</span><span class="astat-l">Triggered</span></div>
|
||
<div class="astat"><span class="astat-n zero" id="adaptBlocked">0</span><span class="astat-l">Blocked</span></div>
|
||
</div>
|
||
</div>
|
||
<div class="adaptive-section wide">
|
||
<h3 class="adaptive-title"><span class="a-icon">⬢</span> Exploration Graph</h3>
|
||
<div class="adaptive-stats-grid" id="adaptiveGraphStats">
|
||
<div class="astat"><span class="astat-n zero" id="graphAssets">0</span><span class="astat-l">Assets</span></div>
|
||
<div class="astat"><span class="astat-n zero" id="graphExplored">0</span><span class="astat-l">Explored</span></div>
|
||
<div class="astat"><span class="astat-n zero" id="graphFindings">0</span><span class="astat-l">Findings</span></div>
|
||
<div class="astat"><span class="astat-n zero" id="graphCoverage">0%</span><span class="astat-l">Coverage</span></div>
|
||
<div class="astat"><span class="astat-n zero" id="graphHints">0</span><span class="astat-l">Hints</span></div>
|
||
</div>
|
||
</div>
|
||
<div class="adaptive-section">
|
||
<h3 class="adaptive-title"><span class="a-icon">☰</span> Planner</h3>
|
||
<div class="adaptive-stats-grid" id="adaptivePlannerStats">
|
||
<div class="astat"><span class="astat-n zero" id="planQueued">0</span><span class="astat-l">Queued</span></div>
|
||
<div class="astat"><span class="astat-n zero" id="planRunning">0</span><span class="astat-l">Running</span></div>
|
||
<div class="astat stat-good"><span class="astat-n zero" id="planDone">0</span><span class="astat-l">Done</span></div>
|
||
<div class="astat stat-bad"><span class="astat-n zero" id="planFailed">0</span><span class="astat-l">Failed</span></div>
|
||
</div>
|
||
</div>
|
||
<div class="adaptive-section">
|
||
<h3 class="adaptive-title"><span class="a-icon">☸</span> Noise Governor</h3>
|
||
<div class="adaptive-stats-grid" id="adaptiveNoiseStats">
|
||
<div class="astat"><span class="astat-n zero" id="noiseRequests">0</span><span class="astat-l">Requests</span></div>
|
||
<div class="astat stat-good"><span class="astat-n zero" id="noiseCached">0</span><span class="astat-l">Cached</span></div>
|
||
<div class="astat stat-warn"><span class="astat-n zero" id="noiseThrottled">0</span><span class="astat-l">Throttled</span></div>
|
||
<div class="astat stat-bad"><span class="astat-n zero" id="noiseBlocked">0</span><span class="astat-l">Blocked</span></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="empty-state" id="adaptiveEmpty"><b>Waiting for data</b>Stack, WAF and planner stats appear as the run progresses.</div>
|
||
</div>
|
||
<div class="run-tab-panel log-tab-panel" data-tabpanel="log" hidden>
|
||
<div class="log-panel" id="logList"></div>
|
||
<div class="send-prompt-row" id="sendPromptRow" hidden>
|
||
<span class="repl-prompt">❭</span>
|
||
<input id="sendPromptInput" type="text" autocomplete="off" spellcheck="false" placeholder="Tell the agents what to do, or /status · /stop · /continue" />
|
||
<button class="btn btn-sm" id="btnSendPromptTerm" title="Open this session in the full terminal">Open in terminal</button>
|
||
</div>
|
||
<div class="field-help" id="sendPromptHelp" hidden>Press Enter to send. The run keeps going.</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- ============ RUN DETAIL (past run) ============ -->
|
||
<section class="runpage" id="detailView" hidden>
|
||
<header class="run-head">
|
||
<div class="run-head-main">
|
||
<button class="crumb" id="btnDetailBack"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M19 12H5M11 6l-6 6 6 6"/></svg> Pentests</button>
|
||
<div class="run-title-row">
|
||
<div class="run-target" id="detailTarget">—</div>
|
||
<span class="run-state"><span class="phase-dot static" id="detailDot"></span><span id="detailState">—</span></span>
|
||
</div>
|
||
<div class="run-meta" id="detailTargetSub"></div>
|
||
<div class="run-meta run-facts" id="detailFacts"></div>
|
||
</div>
|
||
<div class="run-actions">
|
||
<button class="btn btn-ghost" id="btnRetest" title="Re-run every finding's proof and see what still reproduces"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M20 11a8 8 0 1 0-2.3 5.7"/><path d="M20 4v7h-7"/></svg> Re-test</button>
|
||
<button class="btn" id="btnRerun" title="Start a new run with the same settings"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 4.5v15l12-7.5z"/></svg> Run again</button>
|
||
<button class="btn btn-primary" id="btnOpenReportModal"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 3.5h7l4 4v13H7z"/><path d="M14 3.5V8h4M9.5 12.5h6M9.5 16h6"/></svg> Report</button>
|
||
<div class="menu">
|
||
<button class="btn btn-ghost icon-only" data-menu aria-haspopup="menu" aria-label="More actions"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><circle cx="5" cy="12" r="1.3"/><circle cx="12" cy="12" r="1.3"/><circle cx="19" cy="12" r="1.3"/></svg></button>
|
||
<div class="menu-pop" role="menu" hidden>
|
||
<button class="menu-item" id="btnGraphRecompute">Rebuild attack graph</button>
|
||
<button class="menu-item" id="btnGraphPush">Push graph to Neo4j</button>
|
||
<a class="menu-item" id="detailOpenAudit" target="_blank" hidden>Audit trail</a>
|
||
<div class="menu-sep"></div>
|
||
<button class="menu-item danger" id="btnDeleteRun">Delete run</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</header>
|
||
<nav class="run-tabs">
|
||
<button class="run-tab active" data-tab="findings">Findings <span id="detailFindingsCount">0</span></button>
|
||
<button class="run-tab" data-tab="agents">Agents <span id="detailAgentsCount" class="tab-badge">0</span></button>
|
||
<button class="run-tab" data-tab="coverage">Coverage</button>
|
||
</nav>
|
||
<div class="run-sev-bar" id="detailSevBar" hidden></div>
|
||
<div class="run-body">
|
||
<div class="run-tab-panel" data-tabpanel="findings">
|
||
<div class="findings-toolbar">
|
||
<div class="sev-summary" id="detailSevSummary"></div>
|
||
<div class="topbar-spacer"></div>
|
||
<div class="search-wrap">
|
||
<span class="search-icon" aria-hidden="true"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="11" cy="11" r="6.5"/><path d="m20 20-4.2-4.2"/></svg></span>
|
||
<input id="detailFindingSearch" type="text" placeholder="Filter findings" />
|
||
</div>
|
||
<button class="btn btn-ghost btn-sm" id="btnExportCsv" title="Export the filtered findings as CSV"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4v11M7 10l5 5 5-5M4 19h16"/></svg> CSV</button>
|
||
</div>
|
||
<div class="kpi-row" id="detailKpis"></div>
|
||
<div id="detailRegression" hidden></div>
|
||
<div class="table-wrap">
|
||
<table class="data-table" id="detailFindingsTable">
|
||
<thead><tr><th data-sort="severity">Severity</th><th data-sort="title">Title</th><th data-sort="endpoint">Endpoint</th><th data-sort="cwe">CWE</th><th data-sort="review_status">Status</th><th data-sort="wire">Wire</th><th data-sort="agent">Agent</th><th data-sort="confidence" class="col-conf">Conf.</th></tr></thead>
|
||
<tbody></tbody>
|
||
</table>
|
||
</div>
|
||
<div class="empty-state" id="detailFindingsEmpty"><b>No confirmed findings</b>This run did not validate any vulnerability.</div>
|
||
</div>
|
||
<div class="run-tab-panel" data-tabpanel="agents" hidden>
|
||
<div class="agents-tab-head">
|
||
<div class="agents-tab-stats" id="detailAgentsStats"></div>
|
||
<div class="topbar-spacer"></div>
|
||
</div>
|
||
<div class="agents-tab-grid" id="detailAgentsGrid"></div>
|
||
<div class="empty-state" id="detailAgentsEmpty">No agent data recorded for this run.</div>
|
||
</div>
|
||
<div class="run-tab-panel" data-tabpanel="coverage" hidden>
|
||
<div class="coverage-head">
|
||
<div class="coverage-stats" id="detailCoverageStats"></div>
|
||
<div class="topbar-spacer"></div>
|
||
<div class="search-wrap">
|
||
<span class="search-icon" aria-hidden="true"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="11" cy="11" r="6.5"/><path d="m20 20-4.2-4.2"/></svg></span>
|
||
<input id="detailCoverageSearch" type="text" placeholder="Filter endpoints" />
|
||
</div>
|
||
</div>
|
||
<div id="detailFrameworkMap"></div>
|
||
<div class="cv-pills" id="detailCoveragePills"></div>
|
||
<div class="coverage-list" id="detailCoverageList"></div>
|
||
<div class="empty-state" id="detailCoverageEmpty">No endpoint coverage data for this run.</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- ============ TERMINAL DOCK (real CLI harness session) ============ -->
|
||
<section class="term-dock" id="termDock" hidden>
|
||
<div class="term-resize" id="termResize" title="Drag to resize"></div>
|
||
<div class="term-head">
|
||
<span class="term-dot" id="termDot" data-state="off"></span>
|
||
<span class="term-title">NeuroSploit harness</span>
|
||
<select class="term-target" id="termTarget" title="Where this terminal's input goes">
|
||
<option value="session">standalone REPL session</option>
|
||
</select>
|
||
<span class="term-status" id="termStatus">disconnected</span>
|
||
<div class="topbar-spacer"></div>
|
||
<button class="term-btn" id="btnTermClear" title="Clear screen (Ctrl+L)">clear</button>
|
||
<button class="term-btn" id="btnTermRestart" title="Start a fresh harness session">restart</button>
|
||
<button class="term-btn" id="btnTermExpand" title="Expand / collapse the dock">expand</button>
|
||
<button class="icon-btn" id="btnTermClose" title="Close (Esc)" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="term-alert" id="termAlert" hidden></div>
|
||
<div class="term-host" id="termHost"></div>
|
||
<div class="term-hints" id="termHints">
|
||
<span class="k">Enter</span> send · <span class="k">↑↓</span> history · <span class="k">Tab</span> complete · <span class="k">Ctrl+C</span> interrupt · <span class="k">Ctrl+L</span> clear
|
||
</div>
|
||
</section>
|
||
|
||
</main>
|
||
</div>
|
||
|
||
<!-- ============ AUTH & KEYS MODAL ============ -->
|
||
<div class="modal-overlay" id="authModal" hidden>
|
||
<div class="modal">
|
||
<div class="modal-head">
|
||
<div class="title">Auth & keys<span class="modal-sub">Applies to the next run you launch</span></div>
|
||
<button class="icon-btn" id="btnCloseAuth" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="modal-tabs">
|
||
<button class="modal-tab active" data-mtab="target">Target login</button>
|
||
<button class="modal-tab" data-mtab="authz">Scope</button>
|
||
<button class="modal-tab" data-mtab="creds">Files</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="modal-panel" data-mpanel="target">
|
||
<div class="field-group">
|
||
<label class="field-label" for="authHeader">Auth header</label>
|
||
<input id="authHeader" type="text" spellcheck="false" placeholder="Authorization: Bearer eyJhbGci…" />
|
||
<div class="field-help">Sent with every request so agents test as a logged-in user. Never written to disk.</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label">Roles <span class="req">optional</span></label>
|
||
<div class="role-list" id="roleList"></div>
|
||
<button class="btn btn-ghost btn-sm" id="btnAddRole" style="align-self:flex-start;"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg> Add role</button>
|
||
<div class="field-help">2+ roles enable cross-user tests (IDOR, broken access control).</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal-panel" data-mpanel="keys" hidden>
|
||
<div class="field-help" style="margin:0 0 12px;">Keys for the AI models that run the test. Kept in memory, cleared on restart.</div>
|
||
<div id="providerKeyList"></div>
|
||
</div>
|
||
<div class="modal-panel" data-mpanel="authz" hidden>
|
||
<div class="callout">These rules apply to this run only. Saved defaults live in <a href="#" data-goto="guardrails">Scope & safety</a>.</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="scopeHard">Allowed hosts</label>
|
||
<textarea id="scopeHard" rows="3" spellcheck="false" placeholder="app.example.com *.staging.example.com 10.20.30.0/24"></textarea>
|
||
<div class="field-help">One per line. Requests to anything else are blocked. Empty = target only.</div>
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="field-group">
|
||
<label class="field-label" for="scopeExclude">Never touch</label>
|
||
<textarea id="scopeExclude" rows="2" spellcheck="false" placeholder="payments.example.com"></textarea>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="scopeObserve">Recon only</label>
|
||
<textarea id="scopeObserve" rows="2" spellcheck="false" placeholder="cdn.example.com"></textarea>
|
||
</div>
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="field-group">
|
||
<label class="field-label" for="scopeRate">Max requests / min</label>
|
||
<input class="narrow" id="scopeRate" type="number" min="0" value="240" />
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="scopeMaxAccounts">Max test accounts</label>
|
||
<input class="narrow" id="scopeMaxAccounts" type="number" min="0" value="3" />
|
||
</div>
|
||
</div>
|
||
<div class="check-row"><input type="checkbox" id="scopeAccounts" checked /> <label for="scopeAccounts">Allow creating test accounts</label></div>
|
||
<div class="check-row"><input type="checkbox" id="scopeDestructive" /> <label for="scopeDestructive">Allow DELETE / PUT / PATCH <span class="req">changes target data</span></label></div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="scopeForbidden">Blocked payloads</label>
|
||
<textarea id="scopeForbidden" rows="2" spellcheck="false" placeholder="drop table rm -rf /"></textarea>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="scopeNotes">Notes for agents <span class="req">not enforced</span></label>
|
||
<textarea id="scopeNotes" rows="2" placeholder="Test window 02:00–06:00 UTC"></textarea>
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="field-group">
|
||
<label class="field-label" for="envSelect">Environment</label>
|
||
<select id="envSelect">
|
||
<option value="production" selected>Production</option>
|
||
<option value="staging">Staging</option>
|
||
<option value="development">Development</option>
|
||
<option value="lab">Lab</option>
|
||
<option value="ot-production">OT / ICS production</option>
|
||
</select>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="policySelect">Policy</label>
|
||
<select id="policySelect">
|
||
<option value="web" selected>Standard</option>
|
||
<option value="ot">OT — read-only, slow, no writes</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="inScope">Extra authorized hosts</label>
|
||
<input id="inScope" type="text" spellcheck="false" placeholder="api.example.com, 10.0.0.0/24" />
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="capToken">Capability token <span class="req">optional</span></label>
|
||
<input id="capToken" type="text" placeholder="ns-cap.v1.…" spellcheck="false" />
|
||
<div class="field-status" id="capStatus"></div>
|
||
</div>
|
||
<h3 class="form-section-title">Network & callbacks</h3>
|
||
<div class="field-group">
|
||
<label class="field-label" for="transportSpec">Route traffic through</label>
|
||
<input id="transportSpec" type="text" placeholder="direct · socks5://127.0.0.1:1080 · ssh://user@bastion" spellcheck="false" />
|
||
<div class="field-help">Required for internal targets.</div>
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="field-group">
|
||
<label class="field-label" for="oobDomain">Callback domain</label>
|
||
<input id="oobDomain" type="text" placeholder="oob.example.com" spellcheck="false" />
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="oobHttp">HTTP listener</label>
|
||
<input id="oobHttp" type="text" placeholder="0.0.0.0:8080" spellcheck="false" />
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="oobDns">DNS listener</label>
|
||
<input id="oobDns" type="text" placeholder="0.0.0.0:5353" spellcheck="false" />
|
||
</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="smsSpec">SMS inbox <span class="req">for OTP tests</span></label>
|
||
<input id="smsSpec" type="text" placeholder="twilio:SID:TOKEN:+15550101" spellcheck="false" />
|
||
</div>
|
||
</div>
|
||
<div class="modal-panel" data-mpanel="creds" hidden>
|
||
<div class="field-group">
|
||
<label class="field-label" for="credsPath">creds.yaml path</label>
|
||
<input id="credsPath" type="text" spellcheck="false" placeholder="/path/to/creds.yaml" />
|
||
<div class="field-help">Overrides the target login. Schema: <code>creds.example.yaml</code>.</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="collectionFile">API collection</label>
|
||
<input id="collectionFile" type="file" accept=".json,application/json,.har" multiple />
|
||
<input id="collectionPath" type="text" spellcheck="false" placeholder="…or a path: /path/to/openapi.json" />
|
||
<div class="field-help" id="collectionHelp">Postman, OpenAPI, Swagger or HAR. Every route gets tested.</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button class="btn btn-primary" onclick="show($('#authModal'), false); if (typeof updateScopeAuthSummary === 'function') updateScopeAuthSummary();">Done</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ CUSTOM AGENT MODAL ============ -->
|
||
<div class="modal-overlay" id="leadModal" hidden>
|
||
<div class="modal modal-sm">
|
||
<div class="modal-head">
|
||
<div class="title">Custom agent<span class="modal-sub">Saved to agents_md/vulns/ and pinned to this run</span></div>
|
||
<button class="icon-btn" id="btnCloseLead" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="seg-tabs" id="leadModeTabs">
|
||
<button class="seg-tab active" data-leadmode="describe">Describe it</button>
|
||
<button class="seg-tab" data-leadmode="own">Paste a prompt</button>
|
||
</div>
|
||
<div class="field-group" data-leadpanel="describe">
|
||
<label class="field-label" for="leadDesc">What should it test?</label>
|
||
<textarea id="leadDesc" rows="4" placeholder="Abuse the invoice PDF export to read server files via template injection."></textarea>
|
||
<div class="field-help">AI writes the agent for you.</div>
|
||
</div>
|
||
<div class="field-group" data-leadpanel="own" hidden>
|
||
<label class="field-label" for="leadName">Name</label>
|
||
<input id="leadName" type="text" placeholder="GraphQL introspection abuse" />
|
||
<label class="field-label" for="leadOwn" style="margin-top:10px;">System prompt</label>
|
||
<textarea id="leadOwn" rows="10" spellcheck="false" placeholder="You are a GraphQL security specialist testing {target}…"></textarea>
|
||
<div class="field-help">Used as-is. <code>{target}</code> and <code>{recon_json}</code> are filled in per run.</div>
|
||
</div>
|
||
<div class="field-error" id="errLead" hidden></div>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button class="btn btn-ghost" id="btnLeadCancel">Cancel</button>
|
||
<button class="btn btn-primary" id="btnLeadGenerate">Add agent</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ FINDING DETAIL (side sheet) ============ -->
|
||
<div class="modal-overlay modal-sheet" id="findingModal" hidden>
|
||
<div class="modal modal-lg">
|
||
<div class="modal-head">
|
||
<div class="fm-head">
|
||
<span class="sev" id="fmSev">—</span>
|
||
<span class="title" id="fmTitle">—</span>
|
||
</div>
|
||
<button class="icon-btn" id="btnCloseFinding" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="fm-meta-grid" id="fmMeta"></div>
|
||
<div class="fm-actions" id="fmActions"></div>
|
||
|
||
<div id="fmSection-evidence"></div>
|
||
<div id="fmSection-impact"></div>
|
||
<div id="fmSection-remediation"></div>
|
||
<div id="fmSection-chains"></div>
|
||
|
||
<div class="field-group" id="fmSection-wire">
|
||
<div class="fm-wire-head">
|
||
<label class="field-label">Wire evidence</label>
|
||
<button class="btn btn-sm" id="btnFindingRetest"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M20 11a8 8 0 1 0-2.3 5.7"/><path d="M20 4v7h-7"/></svg> Re-test</button>
|
||
</div>
|
||
<div id="fmWireSummary"></div>
|
||
<div id="fmRetestHistory"></div>
|
||
<div id="fmWireExchanges" class="wire-exchanges"></div>
|
||
</div>
|
||
|
||
<div class="field-group" id="fmPocSection">
|
||
<label class="field-label">PoC scripts</label>
|
||
<div id="fmPocList" class="field-help">—</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ REPORT MODAL ============ -->
|
||
<div class="modal-overlay" id="reportModal" hidden>
|
||
<div class="modal modal-sm">
|
||
<div class="modal-head">
|
||
<div class="title">Report<span class="modal-sub" id="reportModalSub">—</span></div>
|
||
<button class="icon-btn" onclick="closeModal('#reportModal')" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="report-status" id="reportStatus"></div>
|
||
<div class="report-formats">
|
||
<a class="report-format" id="detailOpenReport" target="_blank" rel="noopener" hidden>
|
||
<span class="rf-icon rf-html">HTML</span>
|
||
<span class="rf-body"><b>Web report</b><span>Executive summary, findings, PoCs, attack paths</span></span>
|
||
<svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 17 17 7M9 7h8v8"/></svg>
|
||
</a>
|
||
<a class="report-format" id="detailOpenPdf" target="_blank" rel="noopener" hidden>
|
||
<span class="rf-icon rf-pdf">PDF</span>
|
||
<span class="rf-body"><b>PDF</b><span>Print-ready, for clients and auditors</span></span>
|
||
<svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4v11M7 10l5 5 5-5M4 19h16"/></svg>
|
||
</a>
|
||
<a class="report-format" id="detailOpenMd" target="_blank" rel="noopener" hidden>
|
||
<span class="rf-icon rf-md">MD</span>
|
||
<span class="rf-body"><b>Markdown</b><span>Paste into tickets, wikis or PRs</span></span>
|
||
<svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 17 17 7M9 7h8v8"/></svg>
|
||
</a>
|
||
<button class="report-format" id="btnReportCsv">
|
||
<span class="rf-icon rf-csv">CSV</span>
|
||
<span class="rf-body"><b>Findings CSV</b><span>For spreadsheets and trackers</span></span>
|
||
<svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4v11M7 10l5 5 5-5M4 19h16"/></svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<span class="foot-note">Rebuilds from saved evidence. Nothing is re-tested.</span>
|
||
<button class="btn btn-primary" id="btnBuildReport"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M20 11a8 8 0 1 0-2.3 5.7"/><path d="M20 4v7h-7"/></svg> Generate report</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ ADD REPOSITORY MODAL ============ -->
|
||
<div class="modal-overlay" id="repoModal" hidden>
|
||
<div class="modal modal-sm">
|
||
<div class="modal-head">
|
||
<div class="title">Add repository</div>
|
||
<button class="icon-btn" onclick="$('#repoModal').hidden=true" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="field-group">
|
||
<label class="field-label" for="repoUrl">Repository</label>
|
||
<input id="repoUrl" type="text" placeholder="github.com/owner/repo or /path/to/repo" spellcheck="false" />
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="field-group">
|
||
<label class="field-label" for="repoName">Name <span class="req">optional</span></label>
|
||
<input id="repoName" type="text" placeholder="Payments API" />
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="repoBranch">Branch</label>
|
||
<input id="repoBranch" type="text" placeholder="main" value="main" />
|
||
</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="repoDesc">Description <span class="req">optional</span></label>
|
||
<input id="repoDesc" type="text" placeholder="Production API service" />
|
||
</div>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button class="btn btn-ghost" onclick="$('#repoModal').hidden=true">Cancel</button>
|
||
<button class="btn btn-primary" id="btnRepoSubmit">Add repository</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ ADD DOMAIN MODAL ============ -->
|
||
<div class="modal-overlay" id="domainModal" hidden>
|
||
<div class="modal modal-sm">
|
||
<div class="modal-head">
|
||
<div class="title">Add domain</div>
|
||
<button class="icon-btn" onclick="$('#domainModal').hidden=true" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="field-group">
|
||
<label class="field-label" for="domainName">Domain</label>
|
||
<input id="domainName" type="text" placeholder="app.example.com" spellcheck="false" />
|
||
<div class="field-help">Subdomains are discovered automatically.</div>
|
||
</div>
|
||
<div class="field-row">
|
||
<div class="field-group">
|
||
<label class="field-label" for="domainType">Type</label>
|
||
<select id="domainType">
|
||
<option value="web" selected>Web app</option>
|
||
<option value="api">API</option>
|
||
<option value="llm">LLM endpoint</option>
|
||
<option value="mobile">Mobile backend</option>
|
||
<option value="other">Other</option>
|
||
</select>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="domainScope">Scope</label>
|
||
<select id="domainScope">
|
||
<option value="in-scope" selected>Test it</option>
|
||
<option value="observe-only">Recon only</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="domainDesc">Description <span class="req">optional</span></label>
|
||
<input id="domainDesc" type="text" placeholder="Customer portal" />
|
||
</div>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button class="btn btn-ghost" onclick="$('#domainModal').hidden=true">Cancel</button>
|
||
<button class="btn btn-primary" id="btnDomainSubmit">Add domain</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ ADD NETWORK MODAL ============ -->
|
||
<div class="modal-overlay" id="networkModal" hidden>
|
||
<div class="modal modal-sm">
|
||
<div class="modal-head">
|
||
<div class="title">Add network</div>
|
||
<button class="icon-btn" onclick="$('#networkModal').hidden=true" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="field-group">
|
||
<label class="field-label" for="networkCidr">Range or host</label>
|
||
<input id="networkCidr" type="text" placeholder="10.0.0.0/24" spellcheck="false" />
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="networkName">Name <span class="req">optional</span></label>
|
||
<input id="networkName" type="text" placeholder="Corporate LAN" />
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="networkTransport">Route through <span class="req">optional</span></label>
|
||
<input id="networkTransport" type="text" placeholder="socks5://host:1080 or ssh://user@bastion" spellcheck="false" />
|
||
<div class="field-help">Leave empty if this machine can reach it directly.</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="networkDesc">Description <span class="req">optional</span></label>
|
||
<input id="networkDesc" type="text" placeholder="Office segment, floor 3" />
|
||
</div>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button class="btn btn-ghost" onclick="$('#networkModal').hidden=true">Cancel</button>
|
||
<button class="btn btn-primary" id="btnNetworkSubmit">Add network</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ PROJECT MODAL ============ -->
|
||
<div class="modal-overlay" id="projectModal" hidden>
|
||
<div class="modal modal-sm">
|
||
<div class="modal-head">
|
||
<div class="title" id="projectModalTitle">New project</div>
|
||
<button class="icon-btn" onclick="closeModal('#projectModal')" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<input type="hidden" id="projectId" />
|
||
<div class="field-row">
|
||
<div class="field-group">
|
||
<label class="field-label" for="projectName">Project name</label>
|
||
<input id="projectName" type="text" placeholder="Acme external" />
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="projectOrg">Organisation</label>
|
||
<input id="projectOrg" type="text" placeholder="Acme Corp" list="projectOrgList" />
|
||
<datalist id="projectOrgList"></datalist>
|
||
</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="projectTargets">Targets</label>
|
||
<textarea id="projectTargets" rows="3" spellcheck="false" placeholder="acme.com 10.0.0.4 https://app.acme.com"></textarea>
|
||
<div class="field-help">One per line. Runs against these targets are grouped here.</div>
|
||
</div>
|
||
<div class="field-group">
|
||
<label class="field-label" for="projectDesc">Description <span class="req">optional</span></label>
|
||
<input id="projectDesc" type="text" placeholder="Q4 external assessment" />
|
||
</div>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button class="btn btn-ghost" onclick="closeModal('#projectModal')">Cancel</button>
|
||
<button class="btn btn-primary" id="btnProjectSubmit">Save project</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="modal-overlay" id="projectRunsModal" hidden>
|
||
<div class="modal modal-lg">
|
||
<div class="modal-head">
|
||
<div class="title" id="projectRunsTitle">Project runs</div>
|
||
<button class="icon-btn" onclick="closeModal('#projectRunsModal')" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<input type="hidden" id="projectRunsId" />
|
||
<div class="field-group">
|
||
<input id="projectRunsSearch" type="text" placeholder="Search runs" />
|
||
</div>
|
||
<div id="projectRunsList" style="max-height:400px;overflow-y:auto"></div>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button class="btn btn-ghost" onclick="closeModal('#projectRunsModal')">Cancel</button>
|
||
<button class="btn btn-primary" id="btnProjectRunsSave">Save</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ INTEGRATION CONFIG MODAL ============ -->
|
||
<div class="modal-overlay" id="integrationModal" hidden>
|
||
<div class="modal modal-sm">
|
||
<div class="modal-head">
|
||
<div class="title" id="integModalTitle">Configure integration</div>
|
||
<button class="icon-btn" onclick="$('#integrationModal').hidden=true" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
||
</div>
|
||
<div class="modal-body" id="integModalBody">
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button class="btn btn-ghost" onclick="$('#integrationModal').hidden=true">Cancel</button>
|
||
<button class="btn btn-primary" id="btnIntegSubmit">Save & test</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ REACTIVE ENGINE INFO ============ -->
|
||
<div class="modal-overlay" id="reactiveModal" hidden>
|
||
<div class="modal modal-sm">
|
||
<div class="modal-head">
|
||
<div class="title">Reactive engine<span class="modal-sub">Beta</span></div>
|
||
<button class="icon-btn" id="btnCloseReactive" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M18 6 6 18M6 6l12 12"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<p class="lead-p">Instead of fixed phases, a planner reacts to every new finding and hands tasks to parallel workers.</p>
|
||
<div class="feature-grid">
|
||
<div class="feature-item"><b>Replans on change</b><span>Only when the graph actually changes.</span></div>
|
||
<div class="feature-item"><b>Live hints</b><span>Steer it mid-run without stopping.</span></div>
|
||
<div class="feature-item"><b>Chains attacks</b><span>Links findings into multi-step paths.</span></div>
|
||
<div class="feature-item"><b>Resumes</b><span>Keeps partial results if a worker dies.</span></div>
|
||
</div>
|
||
<p class="field-help" style="margin-top:12px">The phased pipeline is more battle-tested.</p>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button class="btn btn-ghost" id="btnReactiveClose2">Close</button>
|
||
<button class="btn btn-primary" id="btnEnableReactive">Enable</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ MCP PROFILE INFO ============ -->
|
||
<div class="modal-overlay" id="mcpProfileModal" hidden>
|
||
<div class="modal modal-sm">
|
||
<div class="modal-head">
|
||
<div class="title">Tool profiles</div>
|
||
<button class="icon-btn" id="btnCloseMcpProfile" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><path d="M18 6 6 18M6 6l12 12"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="profile-cards" id="mcpProfileCards">
|
||
<div class="profile-card"><div class="profile-card-title">Web</div><div class="profile-card-desc">Playwright: browse, click, fill forms, screenshot.</div></div>
|
||
<div class="profile-card"><div class="profile-card-title">Android</div><div class="profile-card-desc">Decompile and inspect APKs.</div></div>
|
||
<div class="profile-card"><div class="profile-card-title">iOS</div><div class="profile-card-desc">Inspect Mach-O, Swift and Obj-C.</div></div>
|
||
<div class="profile-card"><div class="profile-card-title">Binary</div><div class="profile-card-desc">Disassemble, call graphs, xrefs.</div></div>
|
||
<div class="profile-card"><div class="profile-card-title">Burp Suite</div><div class="profile-card-desc">Scans, issues, proxy history.</div></div>
|
||
</div>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button class="btn btn-ghost" id="btnMcpProfileClose">Close</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ CONNECT A C2 ============ -->
|
||
<div class="modal-overlay" id="c2ConnectModal" hidden>
|
||
<div class="modal">
|
||
<div class="modal-head">
|
||
<div class="title">Connect a C2<span class="modal-sub">Sync sessions over its MCP</span></div>
|
||
<button type="button" class="icon-btn" id="btnCloseC2Connect" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M18 6 6 18M6 6l12 12"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="field-group"><label class="field-label" for="mcpC2Profile">Profile</label><select id="mcpC2Profile"></select></div>
|
||
<div class="field-group"><label class="field-label" for="mcpC2Server">Or MCP server</label><select id="mcpC2Server"></select></div>
|
||
<div class="field-group"><label class="field-label" for="mcpC2Http">Or HTTP MCP URL</label><input id="mcpC2Http" placeholder="http://127.0.0.1:8799/mcp" autocomplete="off" /></div>
|
||
<div class="field-help">Cobalt Strike uses HTTP. Credentials go in the server environment.</div>
|
||
<div class="field-error" id="c2ConnectError"></div>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button type="button" class="btn btn-ghost" id="btnC2ConnectCancel">Cancel</button>
|
||
<button type="button" class="btn btn-primary" id="btnC2ConnectRun">Connect & sync</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ ADD MCP SERVER ============ -->
|
||
<div class="modal-overlay" id="mcpServerModal" hidden>
|
||
<div class="modal">
|
||
<div class="modal-head">
|
||
<div class="title">Add MCP server<span class="modal-sub">Connect any C2 or advanced MCP tool</span></div>
|
||
<button type="button" class="icon-btn" id="btnCloseMcpServer" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M18 6 6 18M6 6l12 12"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="field-row">
|
||
<div class="field-group" style="flex:1 1 220px;"><label class="field-label" for="mcpSrvName">Name</label><input id="mcpSrvName" placeholder="sliver-lab" autocomplete="off" /></div>
|
||
<div class="field-group" style="flex:0 1 190px;"><label class="field-label" for="mcpSrvTransport">Transport</label>
|
||
<select id="mcpSrvTransport"><option value="stdio">stdio (command)</option><option value="http">HTTP (url)</option></select>
|
||
</div>
|
||
</div>
|
||
<div id="mcpStdioFields" style="margin-top:16px;">
|
||
<div class="field-group"><label class="field-label" for="mcpSrvCommand">Command</label><input id="mcpSrvCommand" placeholder="python3" autocomplete="off" /><div class="field-help">Executable launched for a stdio MCP server.</div></div>
|
||
<div class="field-group"><label class="field-label" for="mcpSrvArgs">Arguments</label><input id="mcpSrvArgs" placeholder="/opt/mcp/server.py --port 8000" autocomplete="off" /><div class="field-help">Space-separated flags and paths.</div></div>
|
||
<div class="field-group"><label class="field-label" for="mcpSrvEnv">Environment</label><textarea id="mcpSrvEnv" rows="2" placeholder="API_KEY=… (comma or newline separated)"></textarea></div>
|
||
</div>
|
||
<div id="mcpHttpFields" hidden style="margin-top:16px;">
|
||
<div class="field-group"><label class="field-label" for="mcpSrvUrl">URL</label><input id="mcpSrvUrl" placeholder="http://127.0.0.1:8799/mcp" autocomplete="off" /></div>
|
||
<div class="field-group"><label class="field-label" for="mcpSrvHeaders">Headers</label><textarea id="mcpSrvHeaders" rows="2" placeholder="Authorization: Bearer … (one per line)"></textarea></div>
|
||
</div>
|
||
<div class="field-error" id="mcpSrvError"></div>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button type="button" class="btn btn-ghost" id="btnMcpServerCancel">Cancel</button>
|
||
<button type="button" class="btn btn-primary" id="btnMcpServerSave">Save & test</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ C2 TASK ============ -->
|
||
<div class="modal-overlay" id="c2TaskModal" hidden>
|
||
<div class="modal">
|
||
<div class="modal-head">
|
||
<div class="title">Task a session<span class="modal-sub">Run a command through the reused C2 foothold</span></div>
|
||
<button type="button" class="icon-btn" id="btnCloseC2Task" aria-label="Close"><svg class="ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M18 6 6 18M6 6l12 12"/></svg></button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="field-row">
|
||
<div class="field-group" style="flex:1 1 220px;"><label class="field-label" for="c2TaskTarget">Target</label><input id="c2TaskTarget" autocomplete="off" /></div>
|
||
<div class="field-group" style="flex:1 1 220px;"><label class="field-label" for="c2TaskTool">Exec tool</label><input id="c2TaskTool" placeholder="auto-detect" autocomplete="off" /></div>
|
||
</div>
|
||
<div class="field-group" style="margin-top:16px;"><label class="field-label" for="c2TaskCmd">Command</label><input id="c2TaskCmd" placeholder="whoami" autocomplete="off" /><div class="field-help">Runs through the session connected on this page. Destructive commands are blocked by operator checkpoints.</div></div>
|
||
<div class="field-error" id="c2TaskError"></div>
|
||
<pre class="c2-output" id="c2TaskOutput" hidden></pre>
|
||
</div>
|
||
<div class="modal-foot">
|
||
<button type="button" class="btn btn-ghost" id="btnC2TaskCancel">Cancel</button>
|
||
<button type="button" class="btn btn-primary" id="btnC2TaskRun">Run</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============ COMMAND PALETTE ============ -->
|
||
<div class="modal-overlay cmdk-overlay" id="cmdk" hidden>
|
||
<div class="cmdk" role="dialog" aria-label="Command palette">
|
||
<div class="cmdk-input">
|
||
<svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="6.5"/><path d="m20 20-4.2-4.2"/></svg>
|
||
<input id="cmdkInput" type="text" autocomplete="off" spellcheck="false" placeholder="Jump to a page, run or action…" />
|
||
<kbd>Esc</kbd>
|
||
</div>
|
||
<div class="cmdk-list" id="cmdkList" role="listbox"></div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="toasts" id="toasts"></div>
|
||
|
||
<script src="/vendor/xterm.js"></script>
|
||
<script src="/vendor/xterm-addon-fit.js"></script>
|
||
<script src="/app.js"></script>
|
||
</body>
|
||
</html>
|