当前位置:首页>java>Web前端实现的模拟黑客终端[附完整代码]

Web前端实现的模拟黑客终端[附完整代码]

  • 2026-01-31 19:23:33
Web前端实现的模拟黑客终端[附完整代码]

基于原生的Web技术栈构建的简易的模拟黑客控制终端,不依赖React/Vue/Angular等Web框架,实现出模拟黑客攻击的视觉效果。

编程语言:HTML5/CSS3/JavaScript(ES6+)

采用Canvas API作为图形渲染,实现了黑客帝国中的"代码雨"画面。

网页效果如下: 
核心代码:
1.Canvas实现的黑客帝国风格[代码雨]
// 绘制代码雨functiondrawMatrix({// 半透明背景创建拖尾效果    ctx.fillStyle = 'rgba(0, 0, 0, 0.05)';    ctx.fillRect(00, canvas.width, canvas.height);    ctx.fillStyle = '#0f0';    ctx.font = `${fontSize}px monospace`;for (let i = 0; i < drops.length; i++) {const text = charSet.charAt(Math.floor(Math.random() * charSet.length));const x = i * fontSize;const y = drops[i] * fontSize;        ctx.fillText(text, x, y);// 重置位置当字符到达底部if (drops[i] * fontSize > canvas.height && Math.random() > 0.975) {            drops[i] = 0// 重置雨滴位置        }// 更新雨滴下落位置        drops[i]++;    }// 60fps 平滑动画    requestAnimationFrame(drawMatrix);}
2.打印结构化代码的伪Python解释器
defscan_vulnerabilities(target):"""扫描目标系统的常见漏洞"""    print(f"[SCAN] 开始扫描: {target}")# 模拟端口扫描    open_ports = [22804433306]    print(f"[INFO] 发现开放端口: {', '.join(map(str, open_ports))}")# 模拟服务识别    services = {80"Apache 2.4.41",443"Nginx 1.18.0",3306"MySQL 8.0.25"    }    print("[INFO] 服务识别完成:")for port, service in services.items():if port in open_ports:            print(f"  - 端口 {port}{service}")# 检测漏洞    vulnerabilities = []if80in open_ports and"Apache"in services[80]:        vulnerabilities.append("Apache 2.4.41 - CVE-2021-41773 (路径遍历漏洞)")if3306in open_ports:        vulnerabilities.append("MySQL 8.0.25 - 可能存在弱密码配置")if vulnerabilities:        print("[WARNING] 检测到潜在漏洞:")for i, vuln in enumerate(vulnerabilities, 1):            print(f"  {i}{vuln}")else:        print("[INFO] 未发现已知漏洞")return {"target": target,"open_ports": open_ports,"services": services,"vulnerabilities": vulnerabilities    }
3.响应式Flexbox
.main-content {display: flex;    flex: 1;    gap: 15px;    height: calc(100% - 65px);}/* 左侧代码台 */.code-console-container { width300px; } /* 中间主终端(弹性伸缩) */.console-container { flex1; }    /* 右侧目标选择器 */.control-panels { width300px; }   

完整的HTML网页代码如下: 

<!DOCTYPE html><htmllang="zh-CN"><head>    <metacharset="UTF-8">    <metaname="viewport"content="width=device-width, initial-scale=1.0">    <title>在线黑客攻击模拟器</title>    <style>        * {            margin0;            padding0;            box-sizing: border-box;            font-family'Courier New', monospace;        }        body {            background-color#000;            color#0f0;            height100vh;            overflow: hidden;            position: relative;        }        #matrixCanvas {            position: absolute;            top0;            left0;            width100%;            height100%;            z-index: -1;        }        .terminal-overlay {            position: absolute;            top0;            left0;            width100%;            height100%;            backgroundradial-gradient(circle, transparent 50%rgba(0,0,0,0.8100%);            pointer-events: none;            z-index1;        }        .container {            max-width1200px;            margin0 auto;            padding15px 20px 20px 20px;            height100vh;            display: flex;            flex-direction: column;        }        header {            text-align: center;            margin-bottom15px;            padding8px 0;            border-bottom1px solid #0f0;        }        header h1 {            font-size2.3em;            letter-spacing3px;            text-shadow0 0 10px #0f0;            margin-bottom5px;        }        header .subtitle {            font-size1.1em;            color#aaa;            letter-spacing1px;        }        .main-content {            display: flex;            flex1;            gap15px;            heightcalc(100% - 65px);        }        /* 新的三列布局 */        .code-console-container {            width300px;            display: flex;            flex-direction: column;        }        .console-container {            flex1;            backgroundrgba(0000.7);            border1px solid #0f0;            border-radius5px;            overflow: hidden;            display: flex;            flex-direction: column;        }        .control-panels {            width300px;            display: flex;            flex-direction: column;            gap15px;        }        .console-header {            background#111;            padding6px 12px;            border-bottom1px solid #0f0;            display: flex;            justify-content: space-between;            align-items: center;        }        .console-title {            font-weight: bold;            color#0f0;            font-size1.1em;        }        .console-status {            display: flex;            align-items: center;            gap8px;        }        .status-indicator {            width8px;            height8px;            border-radius50%;            background-color#0f0;        }        .console-body {            flex1;            padding12px;            overflow-y: auto;            font-size13px;            line-height1.4;            background-colorrgba(0000.5);        }        .console-input {            background#111;            padding8px 12px;            border-top1px solid #0f0;            display: flex;        }        .prompt {            color#0f0;            margin-right8px;            font-size13px;        }        #commandInput {            flex1;            background: transparent;            border: none;            color#fff;            font-family'Courier New', monospace;            font-size13px;            outline: none;        }        #commandInput::placeholder {            color#555;        }        .controls {            width300px;            display: flex;            flex-direction: column;            gap12px;        }        .control-panel {            backgroundrgba(0000.7);            border1px solid #0f0;            border-radius5px;            padding12px;            flex1;            display: flex;            flex-direction: column;        }        .control-panel h2 {            color#0f0;            margin-bottom12px;            font-size1.2em;            border-bottom1px solid #0f0;            padding-bottom4px;        }        .target-selection {            margin-bottom12px;            flex1;            overflow-y: auto;        }        .target-list {            display: grid;            grid-template-columns1fr;            gap6px;        }        .target-item {            background#111;            padding6px;            border-radius3px;            cursor: pointer;            transition: all 0.2s;            font-size12px;        }        .target-item:hover {            background#222;            border-left3px solid #0f0;        }        .target-item.selected {            background#001a00;            border-left3px solid #0f0;        }        .progress-container {            margin-bottom12px;        }        .progress-label {            display: flex;            justify-content: space-between;            margin-bottom4px;            font-size12px;        }        .progress-bar {            height10px;            background#111;            border-radius5px;            overflow: hidden;        }        .progress-fill {            height100%;            backgroundlinear-gradient(90deg#0f0#00ff00aa);            width0%;            border-radius5px;            transition: width 0.5s ease;        }        .attack-buttons {            display: grid;            grid-template-columns1fr 1fr;            gap8px;        }        button {            background#111;            color#0f0;            border1px solid #0f0;            padding6px;            border-radius3px;            cursor: pointer;            font-family'Courier New', monospace;            font-size12px;            font-weight: bold;            transition: all 0.2s;        }        button:hover {            background#001a00;            box-shadow0 0 8px #0f0;        }        button:active {            transformscale(0.98);        }        button.attack-btn {            background#002200;            border-color#00ff00;        }        button.attack-btn:hover {            background#003300;        }        .log-entry {            margin-bottom6px;            opacity0;            transformtranslateY(10px);            transition: opacity 0.3s, transform 0.3s;        }        .log-entry.show {            opacity1;            transformtranslateY(0);        }        .log-info {            color#0f0;        }        .log-success {            color#0f0;            font-weight: bold;        }        .log-warning {            color#ff9900;        }        .log-error {            color#ff0000;        }        .log-system {            color#666;        }        .scan-result {            margin-top8px;            padding8px;            backgroundrgba(05000.3);            border-left2px solid #0f0;            border-radius0 4px 4px 0;            font-size12px;        }        .hidden {            display: none;        }        .footer {            text-align: center;            padding12px 0;            font-size0.85em;            color#555;            border-top1px solid #111;            margin-top15px;        }        .matrix-glow {            position: fixed;            top0;            left0;            width100%;            height100%;            pointer-events: none;            backgroundradial-gradient(circle at center, rgba(025500.050%, transparent 70%);            z-index0;        }        /* 代码控制台样式 - 优化滚动体验 */        .code-console {            background#000;            border1px solid #0f0;            border-radius5px;            overflow: hidden;            flex1;            display: flex;            flex-direction: column;        }        .code-header {            background#111;            padding6px 12px;            border-bottom1px solid #0f0;            display: flex;            justify-content: space-between;            align-items: center;        }        .code-actions {            display: flex;            gap8px;        }        .code-body {            flex1;            padding8px;            overflow-y: auto; /* 允许垂直滚动 */            background#000;            font-family'Courier New', monospace;            font-size13px;            line-height1.4;            white-space: pre-wrap;            word-break: break-all;            max-height200px/* 限制最大高度,确保滚动条出现 */            scroll-behavior: smooth; /* 平滑滚动 */        }        /* 自定义滚动条样式 */        .code-body::-webkit-scrollbar {            width8px;        }        .code-body::-webkit-scrollbar-track {            background#000;        }        .code-body::-webkit-scrollbar-thumb {            background#0f0;            border-radius4px;        }        .code-body::-webkit-scrollbar-thumb:hover {            background#00ff00;        }        .code-input {            background#111;            padding8px 12px;            border-top1px solid #0f0;            display: flex;            flex-direction: column;        }        .code-prompt {            display: flex;            align-items: center;            margin-bottom4px;        }        .code-prompt-label {            color#0f0;            margin-right8px;        }        .code-editor {            width100%;            min-height70px;            background#000;            color#0f0;            border1px solid #0f0;            border-radius3px;            padding6px;            resize: vertical;            font-family'Courier New', monospace;            font-size13px;            outline: none;            overflow: auto;            scroll-behavior: smooth;        }        .token.keyword { color#ff0; }        .token.string { color#0f0; }        .token.number { color#0ff; }        .token.comment { color#555; }        .token.function { color#f0f; }        .token.operator { color#ff0; }        .token.variable { color#0af; }        .token.output { color#0f0margin-top4px; }        .token.error { color#f00; }        .token.info { color#666; }        /* 滚动打印效果 */        .typewriter {            border-right1px solid #0f0;            white-space: nowrap;            overflow: hidden;            animation: blink-caret 0.75s step-end infinite;        }        @keyframes blink-caret {            fromto { border-color: transparent; }            50% { border-color#0f0; }        }    </style></head><body>    <canvasid="matrixCanvas"></canvas>    <divclass="terminal-overlay"></div>    <divclass="matrix-glow"></div>    <divclass="container">        <header>            <h1>HACKER SIMULATOR</h1>            <divclass="subtitle">高级网络安全渗透测试模拟系统 v2.2.0</div>        </header>        <divclass="main-content">            <!-- 左侧:代码执行控制台 -->            <divclass="code-console-container">                <divclass="control-panel">                    <h2>代码执行控制台</h2>                    <divclass="code-console">                        <divclass="code-header">                            <divclass="console-title">PYTHON EXECUTION</div>                            <divclass="code-actions">                                <buttonid="runCodeBtn">执行</button>                                <buttonid="clearCodeBtn">清空</button>                            </div>                        </div>                        <divclass="code-body"id="codeOutput">                            <divclass="log-entry log-system show">[PYTHON] Python 3.9.5 环境已加载</div>                            <divclass="log-entry log-system show">[PYTHON] 输入Python代码并点击"执行"运行</div>                        </div>                        <divclass="code-input">                            <divclass="code-prompt">                                <divclass="code-prompt-label">>>> </div>                            </div>                            <divclass="code-editor"id="codeEditor"contenteditable="true"spellcheck="false">import requestsfrom bs4 import BeautifulSoup# 漏洞扫描器def scan_vulnerabilities(target):    """扫描目标系统的常见漏洞"""    print(f"[SCAN] 开始扫描: {target}")    # 模拟端口扫描    open_ports = [22, 80, 443, 3306]    print(f"[INFO] 发现开放端口: {', '.join(map(str, open_ports))}")    # 模拟服务识别    services = {        80: "Apache 2.4.41",        443: "Nginx 1.18.0",        3306: "MySQL 8.0.25"    }    print("[INFO] 服务识别完成:")    for port, service in services.items():        if port in open_ports:            print(f"  - 端口 {port}: {service}")    # 检测漏洞    vulnerabilities = []    if 80 in open_ports and "Apache" in services[80]:        vulnerabilities.append("Apache 2.4.41 - CVE-2021-41773 (路径遍历漏洞)")    if 3306 in open_ports:        vulnerabilities.append("MySQL 8.0.25 - 可能存在弱密码配置")    if vulnerabilities:        print("[WARNING] 检测到潜在漏洞:")        for i, vuln in enumerate(vulnerabilities, 1):            print(f"  {i}. {vuln}")    else:        print("[INFO] 未发现已知漏洞")    return {        "target": target,        "open_ports": open_ports,        "services": services,        "vulnerabilities": vulnerabilities    }# 执行扫描scan_vulnerabilities("192.168.1.101")</div>                        </div>                    </div>                </div>            </div>            <!-- 中间:主控制台 -->            <divclass="console-container">                <divclass="console-header">                    <divclass="console-title">SECURE TERMINAL SESSION</div>                    <divclass="console-status">                        <divclass="status-indicator"id="connectionStatus"></div>                        <spanid="connectionText">已连接</span>                    </div>                </div>                <divclass="console-body"id="consoleOutput">                    <divclass="log-entry log-system show">[SYSTEM] 启动黑客模拟器 v2.2.0...</div>                    <divclass="log-entry log-system show">[SYSTEM] 安全连接已建立,加密通道激活</div>                    <divclass="log-entry log-system show">[SYSTEM] 所有模块加载完成</div>                    <divclass="log-entry log-info show">[INFO] 等待目标选择...</div>                </div>                <divclass="console-input">                    <divclass="prompt">hacker@simulator:~$</div>                    <inputtype="text"id="commandInput"placeholder="输入命令..."autofocus>                </div>            </div>            <!-- 右侧:目标系统和其他控制面板 -->            <divclass="control-panels">                <divclass="control-panel">                    <h2>目标系统</h2>                    <divclass="target-selection">                        <divclass="target-list">                            <divclass="target-item"data-target="server1">服务器 #1 (192.168.1.101)</div>                            <divclass="target-item"data-target="server2">服务器 #2 (192.168.1.102)</div>                            <divclass="target-item"data-target="database">数据库服务器 (10.0.0.5)</div>                            <divclass="target-item"data-target="firewall">防火墙系统 (172.16.0.1)</div>                            <divclass="target-item"data-target="router">核心路由器 (10.10.10.1)</div>                            <divclass="target-item"data-target="admin">管理控制台 (192.168.10.10)</div>                        </div>                    </div>                    <divclass="progress-container">                        <divclass="progress-label">                            <span>攻击进度</span>                            <spanid="progressPercent">0%</span>                        </div>                        <divclass="progress-bar">                            <divclass="progress-fill"id="progressFill"></div>                        </div>                    </div>                    <divclass="attack-buttons">                        <buttonid="scanBtn">扫描目标</button>                        <buttonid="attackBtn"class="attack-btn"disabled>执行攻击</button>                    </div>                </div>                <divclass="control-panel">                    <h2>攻击模块</h2>                    <divclass="module-list">                        <divclass="module-item">                            <divclass="module-name">SQL注入模块</div>                            <divclass="module-status">就绪</div>                        </div>                        <divclass="module-item">                            <divclass="module-name">端口扫描器</div>                            <divclass="module-status">就绪</div>                        </div>                        <divclass="module-item">                            <divclass="module-name">密码破解器</div>                            <divclass="module-status">就绪</div>                        </div>                        <divclass="module-item">                            <divclass="module-name">漏洞利用框架</div>                            <divclass="module-status">就绪</div>                        </div>                    </div>                </div>            </div>        </div>        <divclass="footer">            <p>© 2023 黑客模拟器 | 本系统仅用于教育和网络安全培训目的 | 所有活动均在隔离环境中进行</p>        </div>    </div>    <script>        document.addEventListener('DOMContentLoaded'() => {            // 初始化Canvas            const canvas = document.getElementById('matrixCanvas');            const ctx = canvas.getContext('2d');            canvas.width = window.innerWidth;            canvas.height = window.innerHeight;            // 代码雨设置            const fontSize = 14;            let columns = Math.floor(canvas.width / fontSize);            let drops = [];            // 初始化雨滴位置            for (let i = 0; i < columns; i++) {                drops[i] = Math.floor(Math.random() * -canvas.height);            }            // 代码字符集            const charSet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789$%&@*+=-_.?/';            // 绘制代码雨            function drawMatrix() {                // 半透明背景创建拖尾效果                ctx.fillStyle = 'rgba(0, 0, 0, 0.05)';                ctx.fillRect(00, canvas.width, canvas.height);                ctx.fillStyle = '#0f0';                ctx.font = `${fontSize}px monospace`;                for (let i = 0; i < drops.length; i++) {                    const text = charSet.charAt(Math.floor(Math.random() * charSet.length));                    const x = i * fontSize;                    const y = drops[i] * fontSize;                    ctx.fillText(text, x, y);                    // 重置位置当字符到达底部                    if (drops[i] * fontSize > canvas.height && Math.random() > 0.975) {                        drops[i] = 0// 重置雨滴位置                    }                    // 更新雨滴下落位置                    drops[i]++;                }                // 60fps 平滑动画                requestAnimationFrame(drawMatrix);            }            // 控制台功能            const consoleOutput = document.getElementById('consoleOutput');            const commandInput = document.getElementById('commandInput');            const scanBtn = document.getElementById('scanBtn');            const attackBtn = document.getElementById('attackBtn');            const progressFill = document.getElementById('progressFill');            const progressPercent = document.getElementById('progressPercent');            const connectionStatus = document.getElementById('connectionStatus');            const connectionText = document.getElementById('connectionText');            // 代码控制台功能            const codeEditor = document.getElementById('codeEditor');            const codeOutput = document.getElementById('codeOutput');            const runCodeBtn = document.getElementById('runCodeBtn');            const clearCodeBtn = document.getElementById('clearCodeBtn');            let selectedTarget = null;            let currentProgress = 0;            let attackInterval = null;            let isAttacking = false;            let isScanning = false;            let isExecutingCode = false;            // 检查是否在底部            function isAtBottom(element) {                return element.scrollHeight - element.scrollTop <= element.clientHeight + 10;            }            // 添加日志条目            function addLog(message, type = 'info', delay = 0) {                const logEntry = document.createElement('div');                logEntry.className = `log-entry log-${type} show`;                logEntry.textContent = message;                setTimeout(() => {                    consoleOutput.appendChild(logEntry);                    // 滚动到底部                    consoleOutput.scrollTop = consoleOutput.scrollHeight;                }, delay);            }            // 逐字符打印效果            function typeWriter(element, text, callback, speed = 30, delay = 0) {                setTimeout(() => {                    element.textContent = '';                    let i = 0;                    function type() {                        if (i < text.length) {                            element.textContent += text.charAt(i);                            i++;                            setTimeout(type, speed);                        } else if (callback) {                            setTimeout(callback, 100);                        }                    }                    type();                }, delay);            }            // 添加代码输出(带打字机效果)            function addCodeOutput(content, type = 'output', speed = 25) {                const outputLine = document.createElement('div');                outputLine.className = `token ${type}`;                // 如果是长内容,使用打字机效果                if (content.length > 30 && speed > 0) {                    outputLine.classList.add('typewriter');                    codeOutput.appendChild(outputLine);                    // 仅在用户处于底部时才滚动到底部                    const shouldScroll = isAtBottom(codeOutput);                    typeWriter(outputLine, content, () => {                        outputLine.classList.remove('typewriter');                        // 如果用户在底部,则滚动到底部                        if (shouldScroll) {                            codeOutput.scrollTop = codeOutput.scrollHeight;                        }                    }, speed);                } else {                    outputLine.textContent = content;                    codeOutput.appendChild(outputLine);                    // 如果用户在底部,则滚动到底部                    if (isAtBottom(codeOutput)) {                        codeOutput.scrollTop = codeOutput.scrollHeight;                    }                }            }            // 语法高亮处理            function highlightCode(code) {                // Python关键字                const keywords = ['and''as''assert''break''class''continue''def''del''elif''else''except'                                'False''finally''for''from''global''if''import''in''is''lambda''None'                                'nonlocal''not''or''pass''raise''return''True''try''while''with''yield'];                // 函数名(简单检测)                const functions = ['print''len''range''input''int''str''float''list''dict''set''tuple'                                 'scan_vulnerabilities''requests''BeautifulSoup'];                // 处理字符串                code = code.replace(/("[^"]*"|'[^']*')/g'<span class="token string">$1</span>');                // 处理注释                code = code.replace(/(#.*)/g'<span class="token comment">$1</span>');                // 处理数字                code = code.replace(/\b(\d+)\b/g'<span class="token number">$1</span>');                // 处理操作符                code = code.replace(/([+\-*/=<>!&|^%]+)/g'<span class="token operator">$1</span>');                // 处理关键字                keywords.forEach(keyword => {                    const regex = new RegExp(`\\b${keyword}\\b`'g');                    code = code.replace(regex, `<span class="token keyword">${keyword}</span>`);                });                // 处理函数                functions.forEach(func => {                    const regex = new RegExp(`\\b${func}\\b(?=\\()`'g');                    code = code.replace(regex, `<span class="token function">${func}</span>`);                });                return code;            }            // 更新进度条            function updateProgress(percent) {                currentProgress = percent;                progressFill.style.width = `${percent}%`;                progressPercent.textContent = `${percent}%`;                // 如果达到100%,攻击完成                if (percent >= 100 && isAttacking) {                    setTimeout(() => {                        addLog('[SUCCESS] 目标系统已完全控制!''success'300);                        addLog('[INFO] 获取管理员权限成功''info'500);                        addLog('[INFO] 正在提取敏感数据...''info'700);                        setTimeout(() => {                            addLog('[SUCCESS] 数据提取完成!''success');                            addLog('[INFO] 连接将在10秒后自动断开''info');                            isAttacking = false;                            attackBtn.disabled = true;                            attackBtn.textContent = '执行攻击';                            // 模拟断开连接                            setTimeout(() => {                                addLog('[SYSTEM] 安全断开连接''system');                                connectionStatus.style.backgroundColor = '#ff0000';                                connectionText.textContent = '已断开';                                scanBtn.disabled = false;                                selectedTarget = null;                                // 重置目标选择                                document.querySelectorAll('.target-item').forEach(item => {                                    item.classList.remove('selected');                                });                            }, 10000);                        }, 2000);                    }, 500);                }            }            // 模拟攻击过程            function startAttack() {                if (!selectedTarget || isAttacking) return;                isAttacking = true;                attackBtn.textContent = '停止攻击';                addLog(`[INFO] 开始对 ${selectedTarget} 进行渗透测试...`'info');                addLog('[INFO] 初始化攻击模块...''info');                // 模拟攻击阶段                setTimeout(() => {                    addLog('[INFO] 绕过防火墙防护...''info');                    updateProgress(15);                }, 500);                setTimeout(() => {                    addLog('[INFO] 检测到WAF系统,正在绕过...''info');                    updateProgress(30);                }, 1500);                setTimeout(() => {                    addLog('[SUCCESS] 成功绕过WAF,建立初步连接''success');                    updateProgress(45);                }, 2500);                setTimeout(() => {                    addLog('[INFO] 尝试SQL注入攻击...''info');                    updateProgress(60);                }, 3500);                setTimeout(() => {                    addLog('[SUCCESS] SQL注入成功!获取数据库访问权限''success');                    updateProgress(75);                }, 4500);                setTimeout(() => {                    addLog('[INFO] 提权尝试中...''info');                    updateProgress(85);                }, 5500);                // 进度条动态更新                let progress = 75;                attackInterval = setInterval(() => {                    if (progress >= 100 || !isAttacking) {                        clearInterval(attackInterval);                        return;                    }                    progress += Math.random() * 3;                    updateProgress(Math.min(progress, 100));                }, 300);            }            // 停止攻击            function stopAttack() {                if (!isAttacking) return;                isAttacking = false;                clearInterval(attackInterval);                attackBtn.textContent = '执行攻击';                addLog('[WARNING] 攻击已手动中止''warning');                updateProgress(0);            }            // 模拟扫描目标            function scanTarget(target) {                if (isScanning) return;                isScanning = true;                scanBtn.disabled = true;                selectedTarget = target;                addLog(`[INFO] 开始扫描目标: ${target}...`'info');                // 模拟扫描过程                setTimeout(() => {                    addLog(`[INFO] 扫描目标: ${target}`'info');                    addLog('[INFO] 初始化Nmap扫描...''info');                }, 300);                setTimeout(() => {                    addLog('[INFO] 检测开放端口...''info');                }, 1000);                setTimeout(() => {                    addLog('[SUCCESS] 发现开放端口: 22, 80, 443, 3306''success');                }, 2000);                setTimeout(() => {                    addLog('[INFO] 识别服务版本...''info');                }, 3000);                setTimeout(() => {                    addLog('[SUCCESS] 服务识别完成:''success');                    addLog('  - SSH 8.2p1 Ubuntu''info');                    addLog('  - Apache 2.4.41''info');                    addLog('  - MySQL 8.0.25''info');                }, 4000);                setTimeout(() => {                    addLog('[INFO] 检测已知漏洞...''info');                }, 5000);                setTimeout(() => {                    addLog('[WARNING] 检测到潜在漏洞:''warning');                    const scanResult = document.createElement('div');                    scanResult.className = 'scan-result';                    if (target.includes('server')) {                        scanResult.innerHTML = `                            <div class="log-warning">• Apache 2.4.41 - CVE-2021-41773 (路径遍历漏洞)</div>                            <div class="log-warning">• MySQL 8.0.25 - 可能存在弱密码配置</div>                            <div class="log-info">建议使用SQL注入模块进行进一步测试</div>                        `;                    } else if (target.includes('database')) {                        scanResult.innerHTML = `                            <div class="log-warning">• MySQL 8.0.25 - 未启用SSL连接</div>                            <div class="log-warning">• 存在默认账户: admin/password</div>                            <div class="log-info">建议使用密码破解器进行测试</div>                        `;                    } else if (target.includes('firewall')) {                        scanResult.innerHTML = `                            <div class="log-warning">• 防火墙规则可能存在绕过漏洞</div>                            <div class="log-info">建议使用端口扫描器进行详细测试</div>                        `;                    } else {                        scanResult.innerHTML = `                            <div class="log-warning">• 多个已知漏洞可能存在</div>                            <div class="log-info">建议使用漏洞利用框架进行测试</div>                        `;                    }                    consoleOutput.appendChild(scanResult);                    scanResult.classList.add('show');                    consoleOutput.scrollTop = consoleOutput.scrollHeight;                }, 6000);                setTimeout(() => {                    addLog('[SUCCESS] 扫描完成!发现可利用漏洞''success');                    attackBtn.disabled = false;                    isScanning = false;                    scanBtn.disabled = false;                }, 7000);            }            // 执行代码            function executeCode() {                if (isExecutingCode) return;                isExecutingCode = true;                const code = codeEditor.textContent;                if (!code.trim()) {                    addCodeOutput('错误: 代码不能为空''error'0);                    isExecutingCode = false;                    return;                }                addCodeOutput('>>> 正在执行代码...''info'0);                // 模拟代码执行过程                setTimeout(() => {                    addCodeOutput('[SCAN] 开始扫描: 192.168.1.101');                }, 300);                setTimeout(() => {                    addCodeOutput('[INFO] 发现开放端口: 22, 80, 443, 3306');                }, 800);                setTimeout(() => {                    addCodeOutput('[INFO] 服务识别完成:');                }, 1300);                setTimeout(() => {                    addCodeOutput('  - 端口 80: Apache 2.4.41');                }, 1600);                setTimeout(() => {                    addCodeOutput('  - 端口 443: Nginx 1.18.0');                }, 1900);                setTimeout(() => {                    addCodeOutput('  - 端口 3306: MySQL 8.0.25');                }, 2200);                setTimeout(() => {                    addCodeOutput('[WARNING] 检测到潜在漏洞:');                }, 2500);                setTimeout(() => {                    addCodeOutput('  1. Apache 2.4.41 - CVE-2021-41773 (路径遍历漏洞)');                }, 2800);                setTimeout(() => {                    addCodeOutput('  2. MySQL 8.0.25 - 可能存在弱密码配置');                }, 3100);                setTimeout(() => {                    addCodeOutput('{');                }, 3400);                setTimeout(() => {                    addCodeOutput('    "target": "192.168.1.101",');                }, 3600);                setTimeout(() => {                    addCodeOutput('    "open_ports": [22, 80, 443, 3306],');                }, 3800);                setTimeout(() => {                    addCodeOutput('    "services": {');                }, 4000);                setTimeout(() => {                    addCodeOutput('        "80": "Apache 2.4.41",');                }, 4200);                setTimeout(() => {                    addCodeOutput('        "443": "Nginx 1.18.0",');                }, 4400);                setTimeout(() => {                    addCodeOutput('        "3306": "MySQL 8.0.25"');                }, 4600);                setTimeout(() => {                    addCodeOutput('    },');                }, 4800);                setTimeout(() => {                    addCodeOutput('    "vulnerabilities": [');                }, 5000);                setTimeout(() => {                    addCodeOutput('        "Apache 2.4.41 - CVE-2021-41773 (路径遍历漏洞)",');                }, 5200);                setTimeout(() => {                    addCodeOutput('        "MySQL 8.0.25 - 可能存在弱密码配置"');                }, 5400);                setTimeout(() => {                    addCodeOutput('    ]');                }, 5600);                setTimeout(() => {                    addCodeOutput('}');                }, 5800);                setTimeout(() => {                    addCodeOutput('>>> 代码执行完成''info'0);                    isExecutingCode = false;                }, 6200);            }            // 事件监听器            // 目标选择            document.querySelectorAll('.target-item').forEach(item => {                item.addEventListener('click'function() {                    if (isScanning || isAttacking) return;                    document.querySelectorAll('.target-item').forEach(i => i.classList.remove('selected'));                    this.classList.add('selected');                    const targetName = this.textContent;                    addLog(`[INFO] 目标已选择: ${targetName}`'info');                });            });            // 扫描按钮            scanBtn.addEventListener('click'() => {                const selected = document.querySelector('.target-item.selected');                if (!selected) {                    addLog('[ERROR] 请先选择一个目标系统''error');                    return;                }                const targetName = selected.textContent;                scanTarget(targetName);            });            // 攻击按钮            attackBtn.addEventListener('click'() => {                if (isAttacking) {                    stopAttack();                } else {                    startAttack();                }            });            // 代码执行按钮            runCodeBtn.addEventListener('click', executeCode);            // 清空代码控制台            clearCodeBtn.addEventListener('click'() => {                codeOutput.innerHTML = '<div class="log-entry log-system show">[PYTHON] Python 3.9.5 环境已加载</div>' +                                      '<div class="log-entry log-system show">[PYTHON] 输入Python代码并点击"执行"运行</div>';            });            // 命令输入            commandInput.addEventListener('keypress'(e) => {                if (e.key === 'Enter') {                    const command = commandInput.value.trim();                    commandInput.value = '';                    if (command) {                        addLog(`hacker@simulator:~$ ${command}`'system');                        // 处理命令                        if (command === 'help') {                            addLog('[INFO] 可用命令:''info');                            addLog('  scan - 扫描选定的目标系统''info');                            addLog('  attack - 执行攻击''info');                            addLog('  clear - 清空控制台''info');                            addLog('  help - 显示帮助信息''info');                        } else if (command === 'scan') {                            scanBtn.click();                        } else if (command === 'attack') {                            attackBtn.click();                        } else if (command === 'clear') {                            consoleOutput.innerHTML = '';                            addLog('[SYSTEM] 控制台已清空''system');                        } else if (command === 'exit') {                            addLog('[SYSTEM] 正在断开连接...''system');                            setTimeout(() => {                                addLog('[SYSTEM] 连接已断开''system');                                connectionStatus.style.backgroundColor = '#ff0000';                                connectionText.textContent = '已断开';                            }, 500);                        } else if (command.startsWith('connect ')) {                            const target = command.split(' ')[1];                            addLog(`[INFO] 尝试连接到 ${target}...`'info');                            setTimeout(() => {                                addLog('[SUCCESS] 连接成功!''success');                                connectionStatus.style.backgroundColor = '#0f0';                                connectionText.textContent = '已连接';                                addLog('[INFO] 选择目标系统进行扫描''info');                            }, 1000);                        } else if (command === 'status') {                            addLog('[INFO] 系统状态:''info');                            addLog(`  目标: ${selectedTarget || '未选择'}`'info');                            addLog(`  进度: ${currentProgress}%`'info');                            addLog(`  状态: ${isAttacking ? '攻击中' : isScanning ? '扫描中' : '空闲'}`'info');                        } else {                            addLog(`[ERROR] 未知命令: ${command}`'error');                        }                    }                }            });            // 代码编辑器回车处理            codeEditor.addEventListener('keydown'(e) => {                if (e.key === 'Enter') {                    // 允许默认换行行为                    setTimeout(() => {                        // 自动缩进(如果上一行有缩进)                        const selection = window.getSelection();                        const range = selection.getRangeAt(0);                        const preLine = range.startContainer.textContent.substring(0, range.startOffset);                        const indentMatch = preLine.match(/^(\s*)/);                        if (indentMatch && indentMatch[1]) {                            document.execCommand('insertText'false, indentMatch[1]);                        }                    }, 0);                } else if (e.key === 'Tab') {                    e.preventDefault();                    document.execCommand('insertText'false'    ');                }            });            // 窗口大小调整处理            window.addEventListener('resize'() => {                canvas.width = window.innerWidth;                canvas.height = window.innerHeight;                columns = Math.floor(canvas.width / fontSize);                drops = [];                for (let i = 0; i < columns; i++) {                    drops[i] = Math.floor(Math.random() * -canvas.height);                }            });            // 开始代码雨动画            drawMatrix();            // 模拟随机系统消息            setInterval(() => {                if (Math.random() > 0.7 && !isAttacking && !isScanning && !isExecutingCode) {                    const messages = [                        '[SYSTEM] 安全监控: 一切正常',                        '[INFO] 空闲等待中...',                        '[SYSTEM] 网络延迟稳定',                        '[INFO] 等待用户指令...',                        '[SYSTEM] 加密隧道保持活动'                    ];                    addLog(messages[Math.floor(Math.random() * messages.length)], 'system');                }            }, 5000);        });    </script></body></html>

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-02-07 13:34:37 HTTP/2.0 GET : https://f.mffb.com.cn/a/470471.html
  2. 运行时间 : 0.130692s [ 吞吐率:7.65req/s ] 内存消耗:4,927.66kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=b1b05bb856b557303b7a472ce6728c3f
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000400s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000518s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.001321s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000907s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000533s ]
  6. SELECT * FROM `set` [ RunTime:0.001805s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000589s ]
  8. SELECT * FROM `article` WHERE `id` = 470471 LIMIT 1 [ RunTime:0.003243s ]
  9. UPDATE `article` SET `lasttime` = 1770442477 WHERE `id` = 470471 [ RunTime:0.000860s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 65 LIMIT 1 [ RunTime:0.002853s ]
  11. SELECT * FROM `article` WHERE `id` < 470471 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000809s ]
  12. SELECT * FROM `article` WHERE `id` > 470471 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.007220s ]
  13. SELECT * FROM `article` WHERE `id` < 470471 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.010004s ]
  14. SELECT * FROM `article` WHERE `id` < 470471 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.000918s ]
  15. SELECT * FROM `article` WHERE `id` < 470471 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.025080s ]
0.133002s