mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 07:30:22 +08:00
fix: 发布 1.1.37,修改演示台环境配置滚动问题
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
776812569a
commit
9be495de2c
6 files changed
+36
-20
No files matched your search
@@ -57,7 +57,7 @@ window.__ModuleLoader__.load({
|
||||
.rt-body{flex:1;min-height:0;display:flex;flex-direction:column}
|
||||
.rt-split{flex:1;min-height:0;display:flex}
|
||||
.rt-side{width:200px;flex:none;border-right:1px solid var(--dsw-alias-border-l1);overflow:auto;padding:8px}
|
||||
.rt-main{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden}
|
||||
.rt-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}
|
||||
.rt-seg{padding:7px 8px;border-radius:6px;cursor:pointer;margin-bottom:4px;border:1px solid transparent}
|
||||
.rt-seg:hover{background:var(--dsw-alias-bg-layer-2)}
|
||||
.rt-seg.on{background:var(--dsw-alias-bg-layer-2);border-color:var(--dsw-alias-brand-primary)}
|
||||
@@ -92,7 +92,7 @@ window.__ModuleLoader__.load({
|
||||
.rt-kv{display:flex;gap:8px;margin-bottom:3px;align-items:baseline}
|
||||
.rt-kv b{color:var(--dsw-alias-label-primary);font-weight:600;min-width:64px;flex:none}
|
||||
/* 图谱视图已移除(见 AssetsTab:资产关系由「域名维度」与 redteam_attack_path 工具承担) */
|
||||
.rt-pane{flex:1;overflow:auto;padding:12px}
|
||||
.rt-pane{flex:1;min-height:0;overflow:auto;padding:12px}
|
||||
.rt-card{border:1px solid var(--dsw-alias-border-l1);border-radius:8px;padding:10px;margin-bottom:10px;background:var(--dsw-alias-bg-layer-2)}
|
||||
.rt-card h4{margin:0 0 6px;font-size:13px}
|
||||
.rt-textarea{width:100%;min-height:260px;background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l1);
|
||||
@@ -2586,12 +2586,13 @@ window.__ModuleLoader__.load({
|
||||
h('div', { className: 'rt-spacer' }),
|
||||
h('button', { className: 'rt-btn', disabled: busy, onClick: load }, busy ? '读取中…' : '刷新'),
|
||||
h('button', { className: 'rt-btn rt-btn-primary', disabled: busy || !draft, onClick: save }, '保存')),
|
||||
h('div', { className: 'rt-pane', style: { minHeight: 0 } },
|
||||
err ? h('div', { className: 'rt-err' }, err) : null,
|
||||
msg ? h('div', { className: msg.err ? 'rt-err' : 'rt-foot' }, msg.err || msg.ok) : null,
|
||||
h('div', { className: 'rt-card', style: { margin: '8px 12px', fontSize: 12, lineHeight: 1.6 } },
|
||||
h('div', { className: 'rt-card', style: { margin: '0 0 8px', fontSize: 12, lineHeight: 1.6 } },
|
||||
adapt.message
|
||||
|| '均可选填:留空则用默认路径/自动查找。填了的覆盖默认。密钥类只在需要测绘/反弹时才填。'),
|
||||
h('div', { className: 'rt-card', style: { margin: '8px 12px', fontSize: 12, lineHeight: 1.6 } },
|
||||
h('div', { className: 'rt-card', style: { margin: '0 0 8px', fontSize: 12, lineHeight: 1.6 } },
|
||||
h('div', { style: { fontWeight: 600, marginBottom: 6 } }, '整包文件夹 → 自动分配工具'),
|
||||
h('div', { style: { marginBottom: 8, opacity: 0.9 } },
|
||||
'工具都在同一个文件夹(含子目录)时,填路径后点「自动分配」:会写入 toolkitDir,并按文件名匹配 nmap / nuclei / fscan 等填到下方。'),
|
||||
@@ -2607,15 +2608,15 @@ window.__ModuleLoader__.load({
|
||||
className: 'rt-btn rt-btn-primary', disabled: busy,
|
||||
onClick: assignFolder,
|
||||
}, busy ? '扫描中…' : '自动分配'))),
|
||||
data && data.hint ? h('div', { className: 'rt-card', style: { margin: '8px 12px', fontSize: 12, lineHeight: 1.6 } }, data.hint) : null,
|
||||
data && data.egress ? h('div', { className: 'rt-card', style: { margin: '8px 12px', fontSize: 12, lineHeight: 1.55 } },
|
||||
data && data.hint ? h('div', { className: 'rt-card', style: { margin: '0 0 8px', fontSize: 12, lineHeight: 1.6 } }, data.hint) : null,
|
||||
data && data.egress ? h('div', { className: 'rt-card', style: { margin: '0 0 8px', fontSize: 12, lineHeight: 1.55 } },
|
||||
h('div', { style: { fontWeight: 600, marginBottom: 6 } }, '出网状态(借鉴 Z3r0 egress,只读)'),
|
||||
h('div', { className: 'rt-mono', style: { fontSize: 11 } }, 'HTTP_PROXY=' + (data.egress.http_proxy || '(空)')),
|
||||
h('div', { className: 'rt-mono', style: { fontSize: 11 } }, 'HTTPS_PROXY=' + (data.egress.https_proxy || '(空)')),
|
||||
h('div', { className: 'rt-mono', style: { fontSize: 11 } }, 'ALL_PROXY=' + (data.egress.all_proxy || '(空)')),
|
||||
h('div', { className: 'rt-mono', style: { fontSize: 11 } }, 'NO_PROXY=' + (data.egress.no_proxy || '(空)')),
|
||||
h('div', { style: { marginTop: 6, opacity: 0.85 } }, data.egress.note || '')) : null,
|
||||
!draft ? h('div', { className: 'rt-empty' }, '加载中…') : h('div', { className: 'rt-pane' },
|
||||
!draft ? h('div', { className: 'rt-empty' }, '加载中…') : h('div', null,
|
||||
h('div', { className: 'rt-card' },
|
||||
h('h4', null, '平台与目录'),
|
||||
h('div', { style: { display: 'grid', gap: 8 } },
|
||||
@@ -2688,7 +2689,7 @@ window.__ModuleLoader__.load({
|
||||
h('div', { className: 'rt-foot' },
|
||||
h('span', null,
|
||||
'配置文件:' + ((data && data.config && data.config.path) || '$DSH_HOME/redteam/config.json')
|
||||
+ ' | 留空字段全部走默认'))))
|
||||
+ ' | 留空字段全部走默认')))))
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------- 得分目标 */
|
||||
|
||||
Reference in new issue
Block a user