fix: preserve shell output and clarify fact relationships

This commit is contained in:
Ed1s0nZ committed 2026-10-06 02:12:28 +08:00
1 parent 76da98944c
commit ab17ffda87
8 files changed
+128 -13

No files matched your search

+1
View File
@@ -341,6 +341,7 @@
"graphLegendExploits": "exploits",
"graphLegendTentative": "Tentative (dashed)",
"factLinksLabel": "Links (from → this fact)",
"factBodyRelationsHint": "Enter relationships such as discovered_on in the Links field below to create graph edges.",
"factLinksPlaceholder": "discovered_on: target/primary_domain\nexploits: exploit/upload-rce",
"factLinksHint": "One per line: type: source_fact_key (source → this fact). Common types: discovered_on, depends_on, leads_to, enables, exploits. Saving replaces all links.",
"factIncomingLinksLabel": "Incoming links (read-only)",
+1
View File
@@ -353,6 +353,7 @@
"graphLegendExploits": "exploits",
"graphLegendTentative": "Предварительно (пунктир)",
"factLinksLabel": "Связи (откуда → этот факт)",
"factBodyRelationsHint": "Укажите отношения, например discovered_on, в поле связей ниже, чтобы создать рёбра графа.",
"factLinksPlaceholder": "discovered_on: target/primary_domain\nexploits: exploit/upload-rce",
"factLinksHint": "По одной строке: тип: source_fact_key (источник → этот факт). Частые типы: discovered_on, depends_on, leads_to, enables, exploits. При сохранении все связи заменяются.",
"factIncomingLinksLabel": "Входящие связи (только чтение)",
+1
View File
@@ -329,6 +329,7 @@
"graphLegendExploits": "exploits",
"graphLegendTentative": "待确认(虚线)",
"factLinksLabel": "关系边(from → 本事实)",
"factBodyRelationsHint": "正文中的 discovered_on 等关系请填写到下方“关系边”字段,才能生成图谱连线。",
"factLinksPlaceholder": "discovered_on: target/primary_domain\nexploits: exploit/upload-rce",
"factLinksHint": "每行一条:type: source_fact_key(来源 → 当前事实)。常用 type:discovered_on、depends_on、leads_to、enables、exploits。保存时替换全部关系边。",
"factIncomingLinksLabel": "入边(只读)",
+1
View File
@@ -6778,6 +6778,7 @@
</div>
<textarea id="fact-modal-body" class="form-input fact-modal-body-input" rows="14" placeholder="攻击链步骤、HTTP/命令 POC、响应现象、证据…" oninput="updateFactFormHints()"></textarea>
<p id="fact-modal-body-hint" class="projects-field-hint" role="status"></p>
<small class="form-hint" data-i18n="projects.factBodyRelationsHint">正文中的 discovered_on 等关系请填写到下方“关系边”字段,才能生成图谱连线。</small>
</div>
<div class="projects-form-field">
<label class="projects-filter-check projects-pin-toggle">