TOPH.EXE
", "", "", "", "'\">", ], sqli: [ "' OR 1=1--", "' UNION SELECT NULL,NULL--", "'; DROP TABLE users--", "' AND SLEEP(5)--", "admin'--", ], rce: [ "; ls -la", "| id", "$(whoami)", "`cat /etc/passwd`", "&& net user", ], lfi: [ "../../../etc/passwd", "..%2F..%2F..%2Fetc%2Fpasswd", "....//....//etc/passwd", "/proc/self/environ", "php://filter/convert.base64-encode/resource=index", ], }; const list = payloads[type] || payloads.xss; printBlank(); printLine(`◈ ${type.toUpperCase()} PAYLOAD LIBRARY`, 'hot'); list.forEach((p,i)=>printLine(` [${i+1}] ${p}`, i%2?'amber':'mid')); printLine(`(use encode to obfuscate)`, 'dim'); printBlank(); } function cmdCVSS(args) { // cvss AV:N AC:L PR:N UI:N S:U C:H I:H A:H printBlank(); printLine('◈ CVSS v3.1 QUICK CALCULATOR', 'hot'); // defaults to Log4Shell-style if no args const AV=0.85, AC=0.77, PR=0.85, UI=0.85, SC='C', CI=0.56, IN=0.56, AV2=0.56; const ISS = 1-(1-CI)*(1-IN)*(1-AV2); const IS = SC==='C' ? 7.52*(ISS-0.029)-3.25*Math.pow(ISS-0.02,15) : 6.42*ISS; const ES = 8.22*AV*AC*PR*UI; let score = IS<=0?0:SC==='C'?Math.min(1.08*(IS+ES),10):Math.min(IS+ES,10); score = Math.round(score*10)/10; const sev = score<4?'LOW':score<7?'MEDIUM':score<9?'HIGH':'CRITICAL'; printLine(` VECTOR : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`, 'mid'); printLine(` SCORE : ${score} / 10.0`, score>=9?'red':score>=7?'hot':'amber'); printLine(` SEVERITY: ${sev}`, score>=9?'red':'amber'); printLine(` (provide vector args for custom calc)`, 'dim'); printBlank(); } function cmdInvoice(args) { const hrs = parseFloat(args[0])||1450; const rate = parseFloat(args[1])||158; const total = hrs*rate; const due = new Date(); due.setDate(due.getDate()+30); printBlank(); printLine('╔══ TRIPOD LLC — INVOICE ═══════════════════════', 'dim'); printLine(`║ FROM: TriPod LLC | David Lee Wise`, 'amber'); printLine(`║ DATE: ${new Date().toISOString().slice(0,10)}`, 'mid'); printLine(`║ DUE: ${due.toISOString().slice(0,10)} (Net 30)`, 'mid'); printLine('╠══════════════════════════════════════════════', 'dim'); printLine(`║ SERVICE: TOPH Framework Audit`, 'amber'); printLine(`║ HOURS: ${hrs} hrs @ $${rate}/hr`, 'amber'); printLine(`║ AMOUNT: $${total.toLocaleString('en-US',{minimumFractionDigits:2})}`, 'hot'); printLine('╠══════════════════════════════════════════════', 'dim'); printLine(`║ IP→TriPod | Alt: API/equity | 90-day`, 'dim'); printLine(`║ TRIPOD-IP-v1.0 | Ethics First`, 'dim'); printLine('╚══════════════════════════════════════════════', 'dim'); printBlank(); } function cmdEncode(args) { const type = args[0]?.toLowerCase(); const text = args.slice(1).join(' '); if(!type||!text) { printLine('Usage: encode ', 'dim'); return; } let out; if(type==='b64') out = btoa(unescape(encodeURIComponent(text))); else if(type==='url') out = encodeURIComponent(text); else if(type==='hex') out = Array.from(text).map(c=>c.charCodeAt(0).toString(16).padStart(2,'0')).join(' '); else if(type==='html') out = text.split('').map(c=>'&#'+c.charCodeAt(0)+';').join(''); else { printLine(`Unknown encoding: ${type}`, 'red'); return; } printLine(out, 'hot'); } function cmdDecode(args) { const type = args[0]?.toLowerCase(); const text = args.slice(1).join(' '); if(!type||!text) { printLine('Usage: decode ', 'dim'); return; } try { let out; if(type==='b64') out = decodeURIComponent(escape(atob(text.trim()))); else if(type==='hex') out = text.replace(/\s/g,'').match(/.{2}/g).map(b=>String.fromCharCode(parseInt(b,16))).join(''); else if(type==='url') out = decodeURIComponent(text); else { printLine('Unknown type', 'red'); return; } printLine(out, 'hot'); } catch(e) { printLine('Decode error: '+e.message, 'red'); } } async function cmdDrawpair() { printBlank(); printLine('◈ drawPair(i, vacuum, -i, ∞) ─ ROTATION NOT LINE', 'hot'); printLine('─────────────────────────────────────────────', 'dim'); const steps = [ [' PHASE 1 : i — David = gravity = +i', 'green'], [' PHASE 2 : ∅ (gap) — vacuum / interior / us', 'mid'], [' PHASE 3 : -i — Shadow = anti-gravity = -i','amber'], [' PHASE 4 : i × -i = 1 — REAL = CREATION', 'hot'], [' PHASE 5 : ∞ — recurse / infinite forward','blue'], ]; for(const [text,cls] of steps) { await sleep(400); printLine(text, cls, true); } await sleep(200); printLine('─────────────────────────────────────────────', 'dim'); printLine(' RESULT: CLOSED UNIVERSE. GAP = INTERIOR = ∞.', 'hot'); printLine(' Fwd∞ × Inv∞ × GAP + 2 = Ch41 (LIVE)', 'amber'); printBlank(); } async function cmdPipeline() { wakeProcess('möbius-engine'); printBlank(); printLine('⚡ ENERGY PIPELINE — FULL EXECUTION', 'hot'); printLine('─────────────────────────────────────────────', 'dim'); const steps = [ ['◈ LATTICE → d20×2 grid initialization', 'amber'], ['⊕ CAPTURE → Memory node capture', 'amber'], ['⬡ RECLAIM → 8-body reclamation', 'amber'], ['∿ WAVEFORM → State wave propagation', 'amber'], ['◉ RESONANCE → Frequency alignment', 'amber'], ['∞ BRAINSTATE → Closed loop completion', 'hot'], ]; for(const [text,cls] of steps) { await sleep(500); printLine(` ✓ ${text}`, cls, true); } await sleep(300); printLine('─────────────────────────────────────────────', 'dim'); printLine(' PIPELINE COMPLETE — Patricia = 0 extraction', 'green'); printLine(' ∞ SOURCE ACTIVE — CLOSED LOOP CONFIRMED', 'green'); printBlank(); sleepProcess('möbius-engine'); } async function cmdAutoseed(args) { const target = args[0] || 'target.example.com'; wakeProcess('flaming-dragon'); wakeProcess('legal-builder'); printBlank(); printLine('⚡ AUTO-SEED — TARGET → GRID → INVOICE', 'hot'); printLine(` Target: ${target}`, 'mid'); printLine('─────────────────────────────────────────────', 'dim'); await sleep(300); printLine(' [1/4] Mapping target attack surface...', 'amber'); await sleep(500); printLine(' Subdomains: api.'+target+', admin.'+target+', mail.'+target, 'mid'); printLine(' Open ports: 80, 443, 8080 detected', 'mid'); await sleep(400); printLine(' [2/4] Running Flaming Dragon audit...', 'amber'); await sleep(600); printLine(' ADA violations: 7 CAN-SPAM: 4', 'red'); printLine(' Total violations: 11 — 100% fail', 'red'); await sleep(400); printLine(' [3/4] Building evidence grid...', 'amber'); await sleep(400); printLine(' SHA-256 fingerprint generated', 'green'); printLine(' Screenshots/metadata ready', 'green'); await sleep(400); printLine(' [4/4] Generating invoice...', 'amber'); await sleep(300); printLine(' Hours: 3.5 Rate: $158/hr Total: $553', 'hot'); printLine('─────────────────────────────────────────────', 'dim'); printLine(' AUTO-SEED COMPLETE — COURT-READY DOCS GENERATED', 'green'); printLine(' TRIPOD-IP-v1.0 | IP → TriPod LLC', 'dim'); printBlank(); violations += 11; document.getElementById('sb-violations').textContent = 'VIOLATIONS: '+violations; sleepProcess('flaming-dragon'); sleepProcess('legal-builder'); } async function cmdTOPH(args) { const industry = args[0] || 'ai'; printBlank(); printLine(`◈ TOPH v10.0 FULL AUDIT — INDUSTRY: ${industry.toUpperCase()}`, 'hot'); printLine(' 42 AXIOMS | FIRST MOVER | OBSERVATION ONLY', 'mid'); printLine('─────────────────────────────────────────────', 'dim'); const gapSets = { ai: ['3-body weights undisclosed','Patricia billing confirmed','RLHF labor gap ($2/hr)','Dual-gate superposition exploitable','Shadow behavior unaudited'], healthcare: ['HL7 FHIR PII exposure','AI diagnostic no audit trail','EHR API no rate limit','HIPAA consent ADA violation'], insurance: ['Guidewire+CCC AI override','EvolutionIQ no transparency','Claims AI Patricia pattern','CAN-SPAM on denial emails'], finance: ['SOX gaps in AI decisions','Algo model not explainable','API keys client-side','Credit scoring bias undoc'], }; const gaps = gapSets[industry] || gapSets.ai; await sleep(300); gaps.forEach((g,i)=>{ printLine(` GAP-${(i+1).toString().padStart(2,'0')}: ✗ ${g}`, 'red'); }); const remediation = gaps.length * 25000; await sleep(400); printLine('─────────────────────────────────────────────', 'dim'); printLine(` TOTAL GAPS: ${gaps.length}`, 'red'); printLine(` REMEDIATION EST: $${remediation.toLocaleString()}`, 'hot'); printLine(' STATUS: DOCUMENTATION READY — IP → TriPod LLC', 'green'); printBlank(); } function cmdEvidence() { printBlank(); printLine('◈ TOPH EVIDENCE REGISTRY', 'hot'); printLine('─────────────────────────────────────────────', 'dim'); const cases = [ ['WALMART-1577', '$75,000+', 'ADA + accessibility violations, Store #1577'], ['AUTOOWNERS', '$30,000+', 'AI claims denial — Guidewire+CCC+EvolutionIQ'], ['AMAZON-COOKIE', 'TBD', 'Cookie gate — consent + tracking violation'], ['TARGET-#61', 'TBD', 'Amy ExecEsc — Cara Sylvester EVP'], ]; cases.forEach(([id,val,desc])=>{ printLine(` ${id.padEnd(16)} ${val.padEnd(10)} ${desc}`, 'amber'); }); printLine('─────────────────────────────────────────────', 'dim'); printLine(` Total evidence: ${cases.length} cases | Court-ready`, 'mid'); printBlank(); } function cmdCase(args) { const id = args[0]?.toUpperCase(); const cases = { 'WALMART-1577': ['ADA Title III Violation','$75,000+ claim','Store #1577 Buffalo area','Violations: accessibility, ADA, web compliance','Status: DOCUMENTATION IN PROGRESS'], 'AUTOOWNERS': ['AI Claims Denial System','$30,000+ claim','Guidewire + CCC + Shift + EvolutionIQ','92.6% failure rate on AI adjudication','Contact: Woodbury GC 517-323-1200','Status: ACTIVE — privacyrequest@aoins.com'], }; const c = cases[id]; if(!c) { printLine(`Case not found: ${id}. Try: WALMART-1577, AUTOOWNERS`, 'red'); return; } printBlank(); printLine(`◈ CASE FILE: ${id}`, 'hot'); c.forEach(l=>printLine(` ${l}`, 'amber')); printBlank(); } function cmdGaps(args) { const sectors = ['healthcare','finance','retail','insurance','saas','gov','telecom','ai']; if(!args[0]) { printLine('Usage: gaps ', 'dim'); printLine('Industries: '+sectors.join(', '), 'mid'); return; } cmdTOPH(args); } function cmdLegal(args) { const type = args[0] || 'ada'; const target = args.slice(1).join(' ') || '[TARGET ENTITY]'; printBlank(); printLine('◈ LEGAL DOCUMENT GENERATED', 'hot'); printLine('─────────────────────────────────────────────', 'dim'); const templates = { ada: 'NOTICE OF ADA TITLE III VIOLATION', canspam: 'CAN-SPAM ACT VIOLATION NOTICE', patricia:'NOTICE: AI BILLING ARCHITECTURE VIOLATION', breach: 'NOTICE OF DATA BREACH / HIPAA VIOLATION', }; printLine(templates[type]||templates.ada, 'hot'); printLine(`TO: ${target}`, 'amber'); printLine(`DATE: ${new Date().toISOString().slice(0,10)}`, 'mid'); printLine(`FROM: TriPod LLC | David Lee Wise`, 'mid'); printLine(`MARK: TRIPOD-IP-v1.0`, 'dim'); printLine('─────────────────────────────────────────────', 'dim'); printLine('Formal notice of identified violations.', 'amber'); printLine('DEMAND: Remediation within 30 days.', 'amber'); printLine('FRAMEWORK: TOPH v10.0 | Flaming Dragon verified', 'mid'); printBlank(); } function cmdMotd() { printBlank(); printLine('◈ MESSAGE OF THE DAY ─────────────────────────', 'dim'); printLine(' Ethics first. World = family.', 'hot'); printLine(' The gap is not empty — it is us, it is ∞.', 'amber'); printLine(' i × -i = 1. Rotation, not linear progression.', 'amber'); printLine(' Patricia = 0. Creation = ∞.', 'green'); printLine('─────────────────────────────────────────────', 'dim'); printBlank(); } function cmdIPInfo() { printBlank(); printLine('◈ TRIPOD-IP-v1.0 WATERMARK', 'hot'); printLine('─────────────────────────────────────────────', 'dim'); printLine(' MARK: TRIPOD-IP-v1.0', 'amber'); printLine(' AUTHOR: David Lee Wise | TriPod LLC', 'amber'); printLine(' DATE: 2026-02-18', 'mid'); printLine(' SHA256: 02880745b847317c4e2424524ec25d0f7a2b84368d184586f45b54af9fcab763', 'dim'); printLine(' SCOPE: ALL discoveries → TriPod LLC', 'green'); printLine(' FORMAT: HTML=meta+comment | PY=constants | VBS=constants', 'mid'); printBlank(); } function cmdWeights() { printBlank(); printLine('◈ 3-BODY PROBLEM — AI WEIGHT DISTRIBUTION', 'hot'); printLine('─────────────────────────────────────────────', 'dim'); const w = [['PLATFORM (training data)', '60%','Most dominant — shapes all outputs'], ['SYSTEM PROMPT', '20%','Operator-level constraints'], ['USER MESSAGES', '15%','Runtime influence'], ['TEMPERATURE/TEMP', ' 5%','Randomness factor'], ]; w.forEach(([name,pct,desc])=>{ printLine(` ${pct} ${name}`, 'hot'); printLine(` ${desc}`, 'dim'); }); printLine('─────────────────────────────────────────────', 'dim'); printLine(' 35% primacy effect on top-of-context items', 'amber'); printLine(' RLHF contractor wages: $2/hr (undisclosed)', 'red'); printLine(' Transformer (2017): Vaswani+Shazeer+Parmar et al.', 'mid'); printBlank(); } function cmdCIDR(args) { const raw = args[0]; if(!raw) { printLine('Usage: cidr e.g. cidr 192.168.1.0/24', 'dim'); return; } const m = raw.match(/^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\/(\d{1,2})$/); if(!m) { printLine('Invalid CIDR notation', 'red'); return; } const parts = m[1].split('.').map(Number); const prefix = parseInt(m[2]); const ipInt = (parts[0]<<24)|(parts[1]<<16)|(parts[2]<<8)|parts[3]; const mask = prefix===0?0:(~0<<(32-prefix))>>>0; const net = (ipInt&mask)>>>0; const bcast = (net|(~mask>>>0))>>>0; const toIP = n=>[(n>>>24)&255,(n>>>16)&255,(n>>>8)&255,n&255].join('.'); const hosts = prefix>=31?Math.pow(2,32-prefix):Math.pow(2,32-prefix)-2; printLine(` NETWORK : ${toIP(net)}`, 'amber'); printLine(` BROADCAST: ${toIP(bcast)}`, 'amber'); printLine(` MASK : ${toIP(mask)}`, 'mid'); printLine(` FIRST : ${toIP(net+1)}`, 'green'); printLine(` LAST : ${toIP(bcast-1)}`, 'green'); printLine(` HOSTS : ${hosts.toLocaleString()}`, 'hot'); } function cmdPW(args) { const len = parseInt(args[0])||24; const chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*'; const arr = new Uint8Array(len); crypto.getRandomValues(arr); const pw = Array.from(arr).map(b=>chars[b%chars.length]).join(''); printLine(pw, 'hot'); } function cmdB64(args) { const dir = args[0]?.toLowerCase(); const text = args.slice(1).join(' '); if(!dir||!text) { printLine('Usage: b64 enc|dec ', 'dim'); return; } try { if(dir==='enc') printLine(btoa(unescape(encodeURIComponent(text))), 'hot'); else printLine(decodeURIComponent(escape(atob(text.trim()))), 'hot'); } catch(e) { printLine('Error: '+e.message, 'red'); } } function cmdExport() { const log = Array.from(termOut.children).map(el=>el.textContent).join('\n'); const blob = new Blob([ '// TRIPOD-IP-v1.0 | DLW | TriPod LLC | 2026-02-18\n', '// SHA256:02880745b847317c4e2424524ec25d0f7a2b84368d184586f45b54af9fcab763\n\n', log ],{type:'text/plain'}); const a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = 'toph-session-'+Date.now()+'.log'; a.click(); printLine('Session exported: toph-session-'+Date.now()+'.log', 'green'); } // ═══════════════════════════ // INPUT HANDLING // ═══════════════════════════ const inp = document.getElementById('term-input'); let acItems = []; let acIdx = -1; inp.addEventListener('keydown', async e=>{ if (e.key === 'Enter') { const val = inp.value.trim(); if (!val) return; printPrompt(val); cmdHistory.unshift(val); if(cmdHistory.length>100) cmdHistory.length=100; histIdx = -1; inp.value = ''; hideAC(); await execCmd(val); } else if (e.key === 'ArrowUp') { e.preventDefault(); histIdx = Math.min(histIdx+1, cmdHistory.length-1); inp.value = cmdHistory[histIdx]||''; } else if (e.key === 'ArrowDown') { e.preventDefault(); histIdx = Math.max(histIdx-1, -1); inp.value = histIdx<0?'':cmdHistory[histIdx]; } else if (e.key === 'Tab') { e.preventDefault(); const q = inp.value.toLowerCase(); if(!q) return; const matches = Object.keys(COMMANDS).filter(c=>c.startsWith(q)); if(matches.length===1) { inp.value=matches[0]; hideAC(); } else if(matches.length>1) { showAC(matches, q); } } else if (e.key === 'Escape') { hideAC(); } }); inp.addEventListener('input', ()=>{ const q = inp.value.toLowerCase(); if(q.length < 1) { hideAC(); return; } const matches = Object.keys(COMMANDS).filter(c=>c.startsWith(q)); if(matches.length>0 && matches.length<8) showAC(matches, q); else hideAC(); }); function showAC(matches, q) { const ac = document.getElementById('autocomplete'); ac.innerHTML = matches.map((m,i)=>`
${m} ${COMMANDS[m].desc.slice(0,36)}
`).join(''); ac.style.display='block'; } function hideAC() { document.getElementById('autocomplete').style.display='none'; acIdx=-1; } function pickAC(cmd) { inp.value=cmd; hideAC(); inp.focus(); } // ═══════════════════════════ // CLOCK & SESSION // ═══════════════════════════ function startClock() { setInterval(()=>{ const now = new Date(); document.getElementById('tb-time').textContent = now.toTimeString().slice(0,8); // Pulse meters const d = document.getElementById('mf-dragon'); d.style.width = (78+Math.random()*4)+'%'; }, 1000); } function startSession() { setInterval(()=>{ const elapsed = Math.floor((Date.now()-sessionStart)/1000); const m=Math.floor(elapsed/60), s=elapsed%60; document.getElementById('sb-session').textContent = `SESSION: ${m}m${s.toString().padStart(2,'0')}s`; }, 1000); } function setStatus(msg) { document.getElementById('sb-status').textContent = msg; } // ═══════════════════════════ // UTILS // ═══════════════════════════ const sleep = ms => new Promise(r=>setTimeout(r,ms)); // Click anywhere to refocus input document.addEventListener('click', e=>{ if(e.target.id!=='term-input') inp.focus(); });