Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
wphardening — 增强任何WordPress安装的安全性。 | Kitploit
工具/GitHubGitHub/elcodigok/wphardening
防御工具漏洞扫描器配置审计Web安全错误配置
GitHubelcodigok/wphardening

wphardening

增强任何WordPress安装的安全性。

查看仓库
16030359年前Kitploit 审核通过
分享
网站

WPHardening Build Status Coverage Status

WPHardening

强化任何 WordPress 安装的安全性。

❮ 注意 ❯ 此工具会定期发布新版本。请确保经常更新依赖关系以获取最新版本。查看更新日志或 CHANGELOG.md 了解新功能。


安装

安装 WPHardening 需要执行一条控制台命令:

$ pip install -r requirements.txt

用法

$ python wphardening.py -h 

 __          _______  _    _               _            _
 \ \        / /  __ \| |  | |             | |          (_)
  \ \  /\  / /| |__) | |__| | __ _ _ __ __| | ___ _ __  _ _ __   __ _
   \ \/  \/ / |  ___/|  __  |/ _` | '__/ _` |/ _ \ '_ \| | '_ \ / _` |
    \  /\  /  | |    | |  | | (_| | | | (_| |  __/ | | | | | | | (_| |
     \/  \/   |_|    |_|  |_|\__,_|_|  \__,_|\___|_| |_|_|_| |_|\__, |
                                                                 __/ |
        Fortify the security of any WordPress installation.     |___/

     Caceria de Spammers - http://www.caceriadespammers.com.ar

Usage: python wphardening.py [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -v, --verbose         Active verbose mode output results
  --update              Check for WPHardening latest stable version

  Target:
    This option must be specified to modify the package WordPress.

    -d DIRECTORY, --dir=DIRECTORY
                        **REQUIRED** - Working Directory.
    --load-conf=FILE    Load file configuration.

  Hardening:
    Different tools to hardening WordPress.

    -c, --chmod         Chmod 755 in directory and 644 in files.
    -r, --remove        Remove files and directory.
    -b, --robots        Create file robots.txt
    -f, --fingerprinting
                        Deleted fingerprinting WordPress.
    -t, --timthumb      Find the library TimThumb.
    --chown=user:group  Changing file and directory owner.
    --wp-config         Wizard generated wp-config.php
    --plugins           Download Plugins Security.
    --proxy=PROXY       Use a HTTP proxy to connect to the target url for
                        --plugins and --wp-config.
    --indexes           It deny you to display the contents of directories.
    --minify            Compressing static file .css and .js
    --malware-scan      Malware Scan in WordPress project.
    --6g-firewall       6G Firewall.
    --rest-api          Disable REST API.

  Miscellaneous:
    -o FILE, --output=FILE
                        Write log report to FILE.log

示例

检查 WordPress 项目

使用工具前,我们必须确保工作目录是 WordPress。

$ python wphardening.py -d /home/path/to/wordpress -v

更改权限

此选项用于为文件和目录设置正确的权限。

$ python wphardening.py -d /home/path/to/wordpress --chmod -v

移除未使用的文件

加固任何系统的一部分是移除不需要的文件、目录或组件。

$ python wphardening.py -d /home/path/to/wordpress --remove -v

创建你的 robots.txt 文件

WordPress 默认不包含 robots.txt 文件,通过此选项我们可以自定义我们的 robots.txt。

$ python wphardening.py -d /home/path/to/wordpress --robots -v

更多信息请参考 robots.txt

移除所有指纹和版本信息

$ python wphardening.py -d /home/path/to/wordpress --fingerprinting -v

检查 TimThumb 库

$ python wphardening.py -d /home/path/to/wordpress --timthumb -v

创建索引文件

创建此文件是为了避免在目录中浏览。

$ python wphardening.py -d /home/path/to/wordpress --indexes -v

下载安全插件

以下是常用安全插件的列表,可以自动下载:

  • AntiVirus
  • Bad Behavior
  • Block Bad Queries
  • Exploit Scanner
  • Latch
  • NinjaFirewall
  • Simple History
  • Stream
  • WP Security Scan
  • WP-DBManager
  • WPS Hide Login
$ python wphardening.py -d /home/path/to/wordpress --plugins

向导生成 wp-config.php

此命令会自动创建一个名为 wp-config-wphardening.php 的文件,之后可以重命名。

$ python wphardening.py -d /home/path/to/wordpress --wp-config

6G 防火墙

$ python wphardening.py -d /home/path/to/wordpress --6g-firewall

禁用 REST API

$ python wphardening.py -d /home/path/to/wordpress --rest-api

WPHardening 更新

通过此选项,您可以随时拥有 WPHardening 的最新版本。

$ python wphardening.py --update

使用所有选项

$ python wphardening.py -d /home/path/to/wordpress -c -r -f -t --wp-config --indexes --plugins --6g-firewall --rest-api -o /home/user/wphardening.log

项目主页

www.caceriadespammers.com.ar

Git 仓库

https://github.com/elcodigok/wphardening

问题反馈

https://github.com/elcodigok/wphardening/issues

下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    547
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    369
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    366
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    309
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    282

探索所有工具

浏览我们的工具集合

查看所有工具 →