初始化喵喵面板主程序源码
185 个文件变更
+30896
-0
fqh@fangqihang.cn
| •.gitignore | +16 -0 |
| •Makefile | +34 -0 |
| •README.md | +260 -0 |
| •docs/screenshots/ui-create-exec-list.png | 二进制 |
| •docs/screenshots/ui-create-exec-selected.png | 二进制 |
| •docs/screenshots/ui-create-go-filled.png | 二进制 |
| •docs/screenshots/ui-create-go-result.png | 二进制 |
| •docs/screenshots/ui-create-go.png | 二进制 |
| •docs/screenshots/ui-create-more.png | 二进制 |
| •docs/screenshots/ui-create-node.png | 二进制 |
| •docs/screenshots/ui-create-php.png | 二进制 |
| •docs/screenshots/ui-create-static.png | 二进制 |
| •docs/screenshots/ui-dashboard.png | 二进制 |
| •docs/screenshots/ui-files.png | 二进制 |
| •docs/screenshots/ui-login.png | 二进制 |
| •docs/screenshots/ui-security.png | 二进制 |
| •docs/screenshots/ui-sites.png | 二进制 |
| •docs/screenshots/ui-ssl-apply.png | 二进制 |
| •docs/screenshots/ui-ssl-issued.png | 二进制 |
| •docs/screenshots/ui-terminal.png | 二进制 |
| •docs/screenshots/ui-waf-rules.png | 二进制 |
| •docs/screenshots/ui-waf-settings.png | 二进制 |
| •docs/screenshots/ui-waf.png | 二进制 |
| •go.mod | +22 -0 |
| •go.sum | +56 -0 |
| •install/install.sh | +182 -0 |
| •install/uninstall.sh | +30 -0 |
| •internal/appstore/appstore_test.go | +245 -0 |
| •internal/appstore/catalog.go | +164 -0 |
| •internal/appstore/install.go | +762 -0 |
| •internal/appstore/phpmyadmin.go | +93 -0 |
| •internal/appstore/service.go | +455 -0 |
| •internal/appstore/tasks.go | +190 -0 |
| •internal/config/config.go | +394 -0 |
| •internal/config/config_test.go | +57 -0 |
| •internal/config/helpers.go | +70 -0 |
| •internal/dbmanager/service.go | +598 -0 |
| •internal/files/archive.go | +361 -0 |
| •internal/files/owner_other.go | +7 -0 |
| •internal/files/owner_unix.go | +36 -0 |
| •internal/files/service.go | +704 -0 |
| •internal/files/service_test.go | +247 -0 |
| •internal/fsutil/fsutil.go | +119 -0 |
| •internal/httpapi/api_test.go | +319 -0 |
| •internal/httpapi/apps.go | +116 -0 |
| •internal/httpapi/auth.go | +347 -0 |
| •internal/httpapi/databases.go | +314 -0 |
| •internal/httpapi/files.go | +418 -0 |
| •internal/httpapi/files_test.go | +203 -0 |
| •internal/httpapi/middleware.go | +338 -0 |
| •internal/httpapi/mobile_test.go | +113 -0 |
| •internal/httpapi/phpmyadmin.go | +179 -0 |
| •internal/httpapi/respond.go | +82 -0 |
| •internal/httpapi/server.go | +282 -0 |
| •internal/httpapi/settings.go | +397 -0 |
| •internal/httpapi/sites.go | +292 -0 |
| •internal/httpapi/sites_test.go | +117 -0 |
| •internal/httpapi/ssl.go | +126 -0 |
| •internal/httpapi/system.go | +84 -0 |
| •internal/httpapi/terminal.go | +159 -0 |
| •internal/httpapi/update.go | +46 -0 |
| •internal/httpapi/waf.go | +299 -0 |
| •internal/httpapi/waf_test.go | +172 -0 |
| •internal/paneltls/mux.go | +59 -0 |
| •internal/paneltls/reloader.go | +65 -0 |
| •internal/paneltls/tls.go | +297 -0 |
| •internal/paneltls/tls_test.go | +113 -0 |
| •internal/security/security.go | +212 -0 |
| •internal/security/security_test.go | +95 -0 |
| •internal/site/exec.go | +132 -0 |
| •internal/site/site.go | +676 -0 |
| •internal/ssl/panel.go | +230 -0 |
| •internal/ssl/service.go | +405 -0 |
| •internal/store/databases.go | +245 -0 |
| •internal/store/misc.go | +64 -0 |
| •internal/store/models.go | +89 -0 |
| •internal/store/sessions.go | +110 -0 |
| •internal/store/sites.go | +251 -0 |
| •internal/store/ssl.go | +92 -0 |
| •internal/store/store.go | +295 -0 |
| •internal/store/store_test.go | +212 -0 |
| •internal/store/users.go | +132 -0 |
| •internal/store/waf.go | +280 -0 |
| •internal/system/disk_linux.go | +17 -0 |
| •internal/system/disk_other.go | +7 -0 |
| •internal/system/distro.go | +102 -0 |
| •internal/system/exec.go | +153 -0 |
| •internal/system/firewall.go | +59 -0 |
| •internal/system/info.go | +233 -0 |
| •internal/system/info_test.go | +27 -0 |
| •internal/system/port.go | +55 -0 |
| •internal/system/reboot.go | +43 -0 |
| •internal/system/runtimes.go | +125 -0 |
| •internal/system/service.go | +142 -0 |
| •internal/terminal/terminal.go | +270 -0 |
| •internal/terminal/terminal_test.go | +105 -0 |
| •internal/update/update.go | +470 -0 |
| •internal/update/update_test.go | +190 -0 |
| •internal/waf/collect.go | +370 -0 |
| •internal/waf/collect_test.go | +94 -0 |
| •internal/waf/waf.go | +442 -0 |
| •internal/waf/waf_test.go | +98 -0 |
| •internal/wafengine/engine.go | +784 -0 |
| •internal/wafengine/engine_test.go | +257 -0 |
| •internal/wafgw/gateway.go | +622 -0 |
| •internal/wafgw/gateway_test.go | +296 -0 |
| •internal/web/dist/assets/index-ChZ0Ep1K.js | +45 -0 |
| •internal/web/dist/assets/index-QtvH9Pdz.css | +32 -0 |
| •internal/web/dist/favicon.svg | +14 -0 |
| •internal/web/dist/index.html | +16 -0 |
| •internal/web/web.go | +19 -0 |
| •internal/webserver/manager.go | +380 -0 |
| •internal/webserver/manager_test.go | +99 -0 |
| •internal/webserver/render.go | +420 -0 |
| •internal/webserver/render_test.go | +269 -0 |
| •internal/webserver/waf.go | +264 -0 |
| •internal/webserver/waf_test.go | +158 -0 |
| •main.go | +425 -0 |
| •scripts/check-audit.sh | +17 -0 |
| •scripts/check-go-dir.sh | +14 -0 |
| •scripts/check-sites.sh | +25 -0 |
| •scripts/check-status.sh | +24 -0 |
| •scripts/check-waf-live.sh | +44 -0 |
| •scripts/debug-waf.sh | +33 -0 |
| •scripts/diag-blocked.sh | +22 -0 |
| •scripts/fix-node.sh | +37 -0 |
| •scripts/repro-blocked.sh | +42 -0 |
| •scripts/repro-sensitive.sh | +28 -0 |
| •scripts/smoke-2fa.sh | +62 -0 |
| •scripts/smoke-files.sh | +52 -0 |
| •scripts/smoke-linux.sh | +38 -0 |
| •scripts/smoke-node.sh | +43 -0 |
| •scripts/smoke-php.sh | +33 -0 |
| •scripts/smoke-waf.sh | +86 -0 |
| •scripts/ssl-test.sh | +53 -0 |
| •scripts/ssl-ui-prepare.sh | +37 -0 |
| •scripts/ssl-verify.sh | +59 -0 |
| •scripts/traffic.sh | +11 -0 |
| •scripts/ui-create-go.mjs | +46 -0 |
| •scripts/ui-shot-create.mjs | +47 -0 |
| •scripts/ui-shot-exec.mjs | +36 -0 |
| •scripts/ui-shot-waf.mjs | +30 -0 |
| •scripts/ui-shot.mjs | +45 -0 |
| •scripts/ui-ssl.mjs | +35 -0 |
| •scripts/verify-create.sh | +45 -0 |
| •scripts/verify-delete.sh | +37 -0 |
| •scripts/verify-go-auto.sh | +45 -0 |
| •scripts/verify-go-ui.sh | +37 -0 |
| •scripts/verify-go-unit.sh | +37 -0 |
| •scripts/verify-go-upload.sh | +35 -0 |
| •scripts/verify-hardening.sh | +46 -0 |
| •scripts/verify-load.sh | +18 -0 |
| •scripts/verify-throttle-count.sh | +25 -0 |
| •scripts/verify-throttle.sh | +36 -0 |
| •scripts/verify-waf-fix.sh | +66 -0 |
| •scripts/ws-terminal-test.mjs | +63 -0 |
| •tools/sshexec/go.mod | +7 -0 |
| •tools/sshexec/go.sum | +6 -0 |
| •tools/sshexec/main.go | +184 -0 |
| •web/index.html | +15 -0 |
| •web/package-lock.json | +1385 -0 |
| •web/package.json | +21 -0 |
| •web/public/favicon.svg | +14 -0 |
| •web/src/App.vue | +314 -0 |
| •web/src/api.ts | +52 -0 |
| •web/src/components/LineChart.vue | +158 -0 |
| •web/src/components/SiteCreateModal.vue | +749 -0 |
| •web/src/components/UpdateDialog.vue | +146 -0 |
| •web/src/format.ts | +41 -0 |
| •web/src/main.ts | +5 -0 |
| •web/src/styles.css | +973 -0 |
| •web/src/types.ts | +155 -0 |
| •web/src/views/Apps.vue | +394 -0 |
| •web/src/views/Dashboard.vue | +157 -0 |
| •web/src/views/Database.vue | +786 -0 |
| •web/src/views/Files.vue | +601 -0 |
| •web/src/views/Login.vue | +112 -0 |
| •web/src/views/Security.vue | +227 -0 |
| •web/src/views/Settings.vue | +399 -0 |
| •web/src/views/SiteDetail.vue | +544 -0 |
| •web/src/views/Sites.vue | +150 -0 |
| •web/src/views/Terminal.vue | +241 -0 |
| •web/src/views/Waf.vue | +872 -0 |
| •web/tsconfig.json | +16 -0 |
| •web/vite.config.ts | +22 -0 |
变更内容