|
| 1 | +<%@ page contentType="text/html;charset=UTF-8" language="java" %> |
| 2 | +<%@ page import="java.net.*, java.io.*" %> |
| 3 | +<% |
| 4 | + String ghKeyUrl = "https://raw.githubusercontent.com/mearvk/Java.Web.Server.Telnet.Front.Java.21/main/psychiatry/secrets/public.key"; |
| 5 | + boolean authorized = false; |
| 6 | + String authStatus = "Unknown"; |
| 7 | + try { |
| 8 | + HttpURLConnection hc = (HttpURLConnection) new URL(ghKeyUrl).openConnection(); |
| 9 | + hc.setRequestMethod("HEAD"); |
| 10 | + hc.setConnectTimeout(5000); |
| 11 | + hc.setReadTimeout(5000); |
| 12 | + authorized = (hc.getResponseCode() == 200); |
| 13 | + authStatus = authorized ? "Authorized (public.key present)" : "Revoked"; |
| 14 | + hc.disconnect(); |
| 15 | + } catch (Exception e) { authStatus = "Check failed"; } |
| 16 | +%> |
| 17 | +<!DOCTYPE html> |
| 18 | +<html lang="en"> |
| 19 | +<head> |
| 20 | + <meta charset="UTF-8"/> |
| 21 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
| 22 | + <title>Defined™ — NitroWebExpress™</title> |
| 23 | + <link rel="stylesheet" href="css/style.css"/> |
| 24 | + <script src="js/scroll-preserve.js"></script> |
| 25 | +</head> |
| 26 | +<body> |
| 27 | +<nav class="nav"><div class="nav-inner"> |
| 28 | + <span class="nav-brand">Defined™</span> |
| 29 | + <ul class="nav-links"> |
| 30 | + <li><a href="index.jsp" class="active">Overview</a></li> |
| 31 | + <li><a href="categories.jsp">Categories</a></li> |
| 32 | + <li><a href="protocols.jsp">Protocols</a></li> |
| 33 | + <li><a href="status.jsp">Status</a></li> |
| 34 | + </ul> |
| 35 | + <div class="nav-actions"> |
| 36 | + <a href="categories.jsp" class="nav-cta">View Categories →</a> |
| 37 | + </div> |
| 38 | +</div></nav> |
| 39 | + |
| 40 | +<section class="hero"> |
| 41 | + <div class="hero-inner"> |
| 42 | + <span class="hero-tag">Dark Gray — Moral Surveillance</span> |
| 43 | + <h1>Defined™</h1> |
| 44 | + <p>Definition to narrow cause: defined. AI surveillance and moral assessment across 29 categories. 12 protocol handlers with UFW-managed port cycling. Strernary™ international feedback.</p> |
| 45 | + </div> |
| 46 | +</section> |
| 47 | + |
| 48 | +<div class="notice"> |
| 49 | + <strong>NOTICE:</strong> Known trespass against final medical review may result in being discharged from Earth forever. Kinded and Secondary (implied as good). |
| 50 | +</div> |
| 51 | + |
| 52 | +<!-- CD1 Connector --> |
| 53 | +<div style="display:flex;justify-content:center;align-items:center;width:100%;padding:2rem 0;"> |
| 54 | + <button id="cd1-btn" type="button" aria-pressed="false" style="all:unset;display:block;margin:0 auto;cursor:pointer;padding:0;border:none;background:transparent;transition:transform 0.3s cubic-bezier(0.42,-1.84,0.42,1.84),filter 0.3s ease;"> |
| 55 | + <div style="width:80px;height:80px;border-radius:50%;background:#2d2d2d;border:3px solid #808080;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#a0a0a0;">⬡</div> |
| 56 | + </button> |
| 57 | +</div> |
| 58 | +<div id="cd1-overlay" style="display:none;position:fixed;inset:0;z-index:299;background:transparent;"></div> |
| 59 | +<div id="cd1-dialog" style="display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:300;background:#222;border:1px solid #3d3d3d;border-radius:12px;padding:1.25rem;width:520px;max-width:90vw;box-shadow:0 8px 32px rgba(0,0,0,0.6);"> |
| 60 | + <div style="font-size:0.9rem;font-weight:600;color:#e8e8e8;margin-bottom:0.75rem;">Defined Connector — Port 49220</div> |
| 61 | + <div style="display:flex;gap:0.5rem;margin-bottom:0.75rem;flex-wrap:wrap;align-items:center;"> |
| 62 | + <select id="cd1-action" style="background:#2d2d2d;color:#e8e8e8;border:1px solid #3d3d3d;border-radius:8px;padding:0.45rem 2rem 0.45rem 0.75rem;font-size:0.8rem;cursor:pointer;"> |
| 63 | + <option value="connect">Connect</option> |
| 64 | + <option value="disconnect">Disconnect</option> |
| 65 | + <option value="scan">Trigger Scan</option> |
| 66 | + <option value="assess">Get Assessment</option> |
| 67 | + <option value="ntsb">NTSB Query</option> |
| 68 | + </select> |
| 69 | + <button onclick="cd1Send()" style="background:#808080;color:#fff;border:none;border-radius:8px;padding:0.45rem 1rem;font-size:0.8rem;font-weight:600;cursor:pointer;">Send</button> |
| 70 | + <button onclick="cd1Ok()" style="background:#808080;color:#fff;border:none;border-radius:8px;padding:0.45rem 1rem;font-size:0.8rem;font-weight:600;cursor:pointer;">OK</button> |
| 71 | + </div> |
| 72 | + <div style="display:flex;align-items:center;gap:0.5rem;margin-bottom:0.75rem;"> |
| 73 | + <label style="display:flex;align-items:center;gap:0.4rem;color:#999;font-size:0.75rem;cursor:pointer;"> |
| 74 | + <input type="checkbox" id="cd1-direct-port" style="accent-color:#808080;width:14px;height:14px;cursor:pointer;"/> |
| 75 | + Direct Port (bypass Strernary™ 20000) |
| 76 | + </label> |
| 77 | + <span id="cd1-mode-badge" style="font-size:0.65rem;background:#2d2d2d;color:#808080;padding:0.2rem 0.5rem;border-radius:4px;">STRERNARY</span> |
| 78 | + </div> |
| 79 | + <textarea id="cd1-textarea" placeholder="Connection idle..." spellcheck="false" style="width:100%;min-height:140px;background:#fff;color:#111;border:1px solid #3d3d3d;border-radius:8px;padding:0.75rem;font-family:monospace;font-size:0.8rem;resize:vertical;"></textarea> |
| 80 | +</div> |
| 81 | +<script>window.CD1_MODULE_PORT = "49220";</script> |
| 82 | +<script src="js/cd1-connector.js"></script> |
| 83 | + |
| 84 | +<section class="section"> |
| 85 | + <div class="section-inner"> |
| 86 | + <div style="margin-bottom:2rem;padding:1rem;border:1px solid <%= authorized ? "#22c55e" : "#ef4444" %>;border-radius:8px;background:rgba(0,0,0,0.2);"> |
| 87 | + <span style="font-size:0.85rem;color:<%= authorized ? "#22c55e" : "#ef4444" %>;font-weight:600;">● <%= authStatus %></span> |
| 88 | + <span style="font-size:0.75rem;color:#999;margin-left:1rem;"><%= new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss z").format(new java.util.Date()) %></span> |
| 89 | + </div> |
| 90 | + <h2>Module Components</h2> |
| 91 | + <div class="table-wrap"> |
| 92 | + <table> |
| 93 | + <thead><tr><th>Component</th><th>Description</th><th>Link</th></tr></thead> |
| 94 | + <tbody> |
| 95 | + <tr><td>Categories</td><td>29 assessment domains — banking, schools, public officials, NTSB, and more</td><td><a href="categories.jsp">Browse →</a></td></tr> |
| 96 | + <tr><td>Protocols</td><td>12 port handlers — SSH, HTTPS, SMTP, FTP, MySQL with UFW management</td><td><a href="protocols.jsp">Browse →</a></td></tr> |
| 97 | + <tr><td>Reports</td><td>Periodic moral assessment — weekly, monthly, quarterly, annual</td><td><a href="status.jsp">View →</a></td></tr> |
| 98 | + <tr><td>NTSB</td><td>Direct communication with www.ntsb.gov via port 80</td><td><a href="status.jsp">Check →</a></td></tr> |
| 99 | + </tbody> |
| 100 | + </table> |
| 101 | + </div> |
| 102 | + </div> |
| 103 | +</section> |
| 104 | + |
| 105 | +<section class="section"> |
| 106 | + <div class="section-inner"> |
| 107 | + <h2>Infrastructure</h2> |
| 108 | + <div class="table-wrap"> |
| 109 | + <table> |
| 110 | + <thead><tr><th>Property</th><th>Value</th></tr></thead> |
| 111 | + <tbody> |
| 112 | + <tr><td>AI Server Port</td><td><code>49220</code></td></tr> |
| 113 | + <tr><td>Backend Port</td><td><code>49221</code> (protocol management, hours-restricted)</td></tr> |
| 114 | + <tr><td>Protocol</td><td><code>NWE-DEFINED</code></td></tr> |
| 115 | + <tr><td>Database</td><td><code>defined_dark_gray</code> (MySQL)</td></tr> |
| 116 | + <tr><td>AI Inference</td><td><code>Strernary™ port 20000</code> (DJL/PyTorch)</td></tr> |
| 117 | + <tr><td>Webapp Context</td><td><code>/defined</code></td></tr> |
| 118 | + <tr><td>Strernary Feedback</td><td><code>data/strernary-feedback/</code></td></tr> |
| 119 | + <tr><td>Connection Hours</td><td>Weekdays 06:00–23:00, Weekends 08:00–20:00 EST</td></tr> |
| 120 | + <tr><td>UFW Managed Ports</td><td>22, 443, 465, 587, 990, 993</td></tr> |
| 121 | + <tr><td>Installer Tech ID</td><td>Max Rupplin</td></tr> |
| 122 | + </tbody> |
| 123 | + </table> |
| 124 | + </div> |
| 125 | + </div> |
| 126 | +</section> |
| 127 | + |
| 128 | +<section class="section"> |
| 129 | + <div class="section-inner"> |
| 130 | + <h2>Commands (Telnet — port 49220)</h2> |
| 131 | + <div class="table-wrap"> |
| 132 | + <table> |
| 133 | + <thead><tr><th>Command</th><th>Description</th></tr></thead> |
| 134 | + <tbody> |
| 135 | + <tr><td><code>scan</code></td><td>View next scheduled internet scan time</td></tr> |
| 136 | + <tr><td><code>assess</code></td><td>View today's assessments (1,2,3,4,final)</td></tr> |
| 137 | + <tr><td><code>report <period></code></td><td>View report schedule and priorities</td></tr> |
| 138 | + <tr><td><code>ntsb</code></td><td>Enter NTSB direct communication mode</td></tr> |
| 139 | + <tr><td><code>categories</code></td><td>List all 29 assessment categories</td></tr> |
| 140 | + <tr><td><code>status</code></td><td>Module health and uptime</td></tr> |
| 141 | + <tr><td><code>quit</code></td><td>Close session</td></tr> |
| 142 | + </tbody> |
| 143 | + </table> |
| 144 | + </div> |
| 145 | + </div> |
| 146 | +</section> |
| 147 | + |
| 148 | +<footer class="footer"><div><span>© 2026 MEARVK LLC. All rights reserved. Defined™ — Dark Gray.</span></div></footer> |
| 149 | +</body> |
| 150 | +</html> |
0 commit comments