From 47ec398cab10ecc233aae3ac71e6a1fc118d5bd9 Mon Sep 17 00:00:00 2001 From: wikiboss Date: Fri, 9 Oct 2026 13:44:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(security):=20=E5=85=A8=E9=9D=A2=E6=B8=85?= =?UTF-8?q?=E9=99=A4=E6=B3=9B=E7=9B=AE=E5=BD=95PHP=E6=9C=A8=E9=A9=AC?= =?UTF-8?q?=E4=B8=8E=E6=9A=97=E9=93=BE=E5=8A=AB=E6=8C=81=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=EF=BC=8C=E6=81=A2=E5=A4=8D=E5=89=8D=E7=AB=AF=E9=9D=99=E6=80=81?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E7=BA=AF=E5=87=80=E5=BA=A6=E5=B9=B6=E5=BB=BA?= =?UTF-8?q?=E7=AB=8B=E5=9B=9E=E5=BD=92=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/command/Api/template/index.html | 1 - application/index/view/index/index.html | 1 - index.html | 1 - .../nkeditor/plugins/baidumap/index.html | 1 - .../addons/nkeditor/plugins/graft/index.html | 1 - .../nkeditor/plugins/math/jquery.min.js | 1 - .../nkeditor/themes/black/black/cache.php | 1 - .../addons/official/js/jquery-1.7.2.min.js | 1 - .../addons/official/js/jquery.SuperSlide.js | 1 - .../addons/official/js/jquery.online.js | 1 - .../layui-v2.6.8/layui-v2.6.8/layui/layui.js | 1 - .../assets/addons/official/m/js/jquery.min.js | 1 - public/assets/js/backend/general/config.js | 1 - public/assets/js/backend/index.js | 1 - public/assets/js/backend/official/config.js | 1 - public/assets/js/jquery.drag.min.js | 1 - public/assets/js/jquery.drop.min.js | 1 - public/assets/libs/Sortable/babel.config.js | 1 - public/assets/libs/Sortable/index.html | 1 - .../libs/Sortable/plugins/AutoScroll/index.js | 1 - .../libs/Sortable/plugins/MultiDrag/index.js | 1 - .../libs/Sortable/plugins/OnSpill/index.js | 1 - .../libs/Sortable/plugins/Swap/index.js | 1 - public/assets/libs/Sortable/st/app.js | 1 - .../assets/libs/Sortable/st/iframe/index.html | 1 - public/assets/libs/art-template/.htaccess | 4 - .../assets/libs/art-template/demo/index.html | 3 +- .../demo/template-native/index.html | 3 +- .../assets/libs/art-template/loader/index.js | 1 - public/assets/libs/art-template/src/config.js | 1 - .../art-template/test/js/jquery-1.7.2.min.js | 1 - .../libs/art-template/test/js/jquery.tmpl.js | 1 - .../example/amd/index.html | 1 - .../example/browserify/index.html | 1 - .../website/index.html | 1 - .../reorder-columns/reorder-columns/cache.php | 1 - .../reorder-columns/reorder-columns/index.php | 1 - .../docs/Changelog/index.html | 1 - .../docs/ContributorsGuide/index.html | 1 - .../docs/Events/index.html | 1 - .../docs/Extras/index.html | 1 - .../docs/FAQ/index.html | 1 - .../docs/Functions/index.html | 1 - .../docs/Installing/index.html | 1 - .../docs/Options/index.html | 1 - .../docs/Version 4 Changelog/index.html | 1 - .../Version 4 Contributors guide/index.html | 1 - .../docs/index.html | 1 - .../libs/fastadmin-addtabs/jquery.addtabs.js | 1 - .../assets/libs/fastadmin-cxselect/index.html | 3 +- .../fastadmin-cxselect/js/jquery.cxselect.js | 1 - .../js/jquery.cxselect.min.js | 1 - .../fastadmin-dragsort/jquery.dragsort.js | 1 - .../libs/fastadmin-layer/src/src/cache.php | 1 - .../libs/fastadmin-layer/src/src/index.php | 103 - .../jquery-slimscroll/jquery.slimscroll.js | 1 - .../jquery.slimscroll.min.js | 1 - .../libs/jquery.cookie/jquery.cookie.js | 1 - public/assets/libs/jquery/dist/jquery.js | 1 - public/assets/libs/jquery/dist/jquery.min.js | 1 - public/assets/libs/jquery/dist/jquery.slim.js | 1 - .../libs/jquery/dist/jquery.slim.min.js | 1 - public/assets/libs/jquery/src/jquery.js | 1 - public/assets/libs/jquery/src/var/indexOf.js | 1 - public/assets/libs/moment/min/min/cache.php | 1 - .../libs/moment/src/lib/locale/base-config.js | 1 - .../libs/moment/src/lib/utils/index-of.js | 1 - .../nice-validator/dist/jquery.validator.js | 3799 ++++++++--------- .../dist/jquery.validator.min.js | 1 - public/images/.htaccess | 4 - public/images/images/.htaccess | 8 - public/images/images/cache.php | 1 - public/images/images/images/.htaccess | 8 - public/images/images/images/cache.php | 1 - public/images/images/images/images/.htaccess | 8 - public/images/images/images/images/cache.php | 1 - public/images/images/images/images/index.php | 1 - public/images/images/images/index.php | 1 - public/images/images/index.php | 1 - public/template/.htaccess | 4 - public/template/template/.htaccess | 8 - public/template/template/cache.php | 1 - public/template/template/index.php | 1 - public/template/template/template/.htaccess | 8 - public/template/template/template/cache.php | 1 - public/template/template/template/index.php | 1 - .../template/template/template/.htaccess | 8 - .../template/template/template/cache.php | 1 - .../template/template/template/index.php | 71 - tests/test_malware_cleanup.py | 85 + tools/clean_malware.py | 97 + 91 files changed, 2084 insertions(+), 2214 deletions(-) delete mode 100644 public/assets/addons/nkeditor/themes/black/black/cache.php delete mode 100644 public/assets/libs/art-template/.htaccess delete mode 100644 public/assets/libs/bootstrap-table/dist/extensions/reorder-columns/reorder-columns/cache.php delete mode 100644 public/assets/libs/bootstrap-table/dist/extensions/reorder-columns/reorder-columns/index.php delete mode 100644 public/assets/libs/fastadmin-layer/src/src/cache.php delete mode 100644 public/assets/libs/fastadmin-layer/src/src/index.php delete mode 100644 public/assets/libs/moment/min/min/cache.php delete mode 100644 public/images/.htaccess delete mode 100644 public/images/images/.htaccess delete mode 100644 public/images/images/cache.php delete mode 100644 public/images/images/images/.htaccess delete mode 100644 public/images/images/images/cache.php delete mode 100644 public/images/images/images/images/.htaccess delete mode 100644 public/images/images/images/images/cache.php delete mode 100644 public/images/images/images/images/index.php delete mode 100644 public/images/images/images/index.php delete mode 100644 public/images/images/index.php delete mode 100644 public/template/.htaccess delete mode 100644 public/template/template/.htaccess delete mode 100644 public/template/template/cache.php delete mode 100644 public/template/template/index.php delete mode 100644 public/template/template/template/.htaccess delete mode 100644 public/template/template/template/cache.php delete mode 100644 public/template/template/template/index.php delete mode 100644 public/template/template/template/template/.htaccess delete mode 100644 public/template/template/template/template/cache.php delete mode 100644 public/template/template/template/template/index.php create mode 100644 tests/test_malware_cleanup.py create mode 100644 tools/clean_malware.py diff --git a/application/admin/command/Api/template/index.html b/application/admin/command/Api/template/index.html index cd72079..4c12aed 100644 --- a/application/admin/command/Api/template/index.html +++ b/application/admin/command/Api/template/index.html @@ -6,7 +6,6 @@ {$config.title} - diff --git a/application/index/view/index/index.html b/application/index/view/index/index.html index c900b5b..f344dc6 100644 --- a/application/index/view/index/index.html +++ b/application/index/view/index/index.html @@ -5,7 +5,6 @@ {$site.name|htmlentities} - diff --git a/index.html b/index.html index d309de0..8c77c2c 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,6 @@ 恭喜,站点创建成功! -