防护思路
点击放大

A lightweight, read-only security checker for identifying indicators
associated with C in WordPress installations.
The project provides two complementary Python tools:
wp-c.py — local checker for a WordPresswp-c.py — remote, passi that> Security note: This project is designed for defensi
> assessment. It does not attempt exploitation, remote code execution,
> file modification, or destructi.
------------------------------------------------------------------------
The local checker is intended to run directly on the WordPress server or
on a copy of the WordPress installation.
It can inspect:
register_argc_argvopen_basedirinclude_pathpearcmd.phpwp-content/uploadsThe local checker performs read-only analysis and does not modify
the installation.
The remote checker is designed for situations where you have only
HTTP/HTTPS access to a WordPress site.
It can:
page-* related directoriesThe remote checker deliberately avoids:
------------------------------------------------------------------------
The scripts use only the Python standard library.
------------------------------------------------------------------------
Clone the repository:
No pip install step is required.
------------------------------------------------------------------------
Run the checker against a local WordPress directory:
For example:
or on Linux:
If WP-CLI is installed and a, the checker can use it for
additional WordPress information.
------------------------------------------------------------------------
Example:
For controlled testing en with a self-signed certificate:
Use --insecure only when you understand the TLS implications.
------------------------------------------------------------------------
The remote checker may report results such as:
PATCHEDThe detected WordPress core is at or above the corresponding
patched .
POTENTIALLY The checker detected an affected WordPress together with public
indicators associated with the precondition.
This is an indicator, not proof of exploitability.
AFFECTED CORE The detected WordPress belongs to an affected release line, but
the remote checker could not establish the additional public
precondition.
INCONCLUSIVEThe information exposed by the target is insufficient to make a reliable
remote assessment.
A remote scan should therefore not be interpreted as a full
assessment.
------------------------------------------------------------------------
The remote checker uses exit codes that can be useful in scripts and
CI/CD en:
| Exit code | Meaning |
|----------:|---------------------------------------------------------------------------|
| 0 | No indicator detected / patched or inconclusi result |
| 1 | Potential detected |
| 2 | Scanner error or unable to perform the assessment |
Always review the textual output in addition to the exit code.
------------------------------------------------------------------------
| Capability | Local checker | Remote checker |
|-----------------------------------|:-------------:|:---------------------------:|
| WordPress | ✅ | ✅ When publicly detectable |
| Filesystem inspection | ✅ | ❌ |
| PHP configuration | ✅ | ❌ |
| pearcmd.php detection | ✅ | ❌ |
| Upload directory inspection | ✅ | ❌ |
| Core checksum | ✅ | ❌ |
| WP-CLI information | ✅ Optional | ❌ |
| Public endpoint checks | Limited | ✅ |
| Theme detection | ✅ | ✅ When publicly detectable |
| Requires ser access | ✅ | ❌ |
| Exploitation | ❌ | ❌ |
| File modification | ❌ | ❌ |
The two scripts ser purposes. The **local checker provides
deeper , while the remote checker is intentionally limited
to information that can be obtained safely over HTTP/HTTPS**.
------------------------------------------------------------------------
Remote detection has important limitations.
A web ser does not expose:
Therefore, a remote HTTP checker cannot provide the same level of
confidence as a local inspection.
In particular, the remote checker does not pro.
A result of INCONCLUSIVE does not mean that the installation is
or safe. It means that the required information was not
publicly observable.
For the most reliable assessment, run the local checker with access to
the actual WordPress installation.
------------------------------------------------------------------------
This project intentionally follows a read-only / non-destructive
approach.
The scripts do not:
The purpose is to help administrators identify systems that require
further in or patching.
------------------------------------------------------------------------
Only scan systems that you own or are explicitly authorized to assess.
Do not use this tool to perform unauthorized security testing against
third-party infrastructure.
For security research, penetration testing, or ,
obtain appropriate authorization before testing.
------------------------------------------------------------------------
For a WordPress installation you administer:
This provides a quick, non-in external assessment.
The local checker can inspect information that is not a
remotely.
Update WordPress to the appropriate patched release for its release
branch and review the installation for signs of compromise.
A scanner result should be treated as an input to a security
in, not as a substitute for patch management, logging,
monitoring, or incident response.
------------------------------------------------------------------------
------------------------------------------------------------------------
The exact output depends on what information the target publicly
exposes.
------------------------------------------------------------------------
The project deliberately separates local inspection from **remote
assessment**.
A local security checker can inspect the actual ser and
filesystem. A remote checker cannot safely obtain that information
without crossing into techniques such as exploitation, authenticated
access, or ser execution.
Keeping the tools separate makes the security boundary explicit and
keeps the remote scanner suitable for low-impact defensive
reconnaissance.
------------------------------------------------------------------------
Contributions are welcome.
Useful contributions include:
Please keep contributions consistent with the project’s **read-only and
non-destructive** design.
------------------------------------------------------------------------
This software is provided for security assessment and defensi
purposes.
No guarantee is made that the checker will detect every or
compromised installation. Remote detection is inherently limited by the
information exposed by the target.
Always important findings through direct administrative
inspection and appropriate security procedures.
------------------------------------------------------------------------
De as a defensi research and WordPress assessment
tool.
If you find a bug or have an impro, please open a GitHub Issue or
Pull Request.
开发语言:Python
Star 数:1
该项目属于防护思路方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Defensive WordPress security scanner for CVE-2026-87902 — local filesystem inspection and safe remote HTTP/HTTPS assessment.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | wp-cve-2026-87902-checker - Defensive WordPress security scanner for CVE-2026- |
| 所属分类 | 防护思路 |
| 发布作者 | admin |
| 发布时间 | 2026-10-06 00:28:04 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 117 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |