Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
Outils/GitHubGitHub/elcodigok/wphardening
Outils DéfensifsScanners de VulnérabilitésAudit de ConfigurationSécurité WebMauvaise Configuration
GitHubelcodigok/wphardening

wphardening

Renforcer la sécurité de toute installation WordPress.

Voir le dépôt
16030il y a 9 ansVérifié par Kitploit

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager
Site web

WPHardening Build Status Coverage Status

WPHardening

Renforcez la sécurité de toute installation WordPress.

❮ NOTE ❯ Cet outil publie régulièrement de nouvelles versions. Assurez-vous de mettre à jour vos dépendances fréquemment pour obtenir la dernière version. Consultez le changelog ou CHANGELOG.md pour découvrir les nouvelles fonctionnalités.


Installation

L'installation de WPHardening nécessite l'exécution d'une commande console :

root@kitploit:~
$ pip install -r requirements.txt

Utilisation

root@kitploit:~
$ 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

Exemples

Vérifier un projet WordPress

Avant d'utiliser l'outil, nous devons nous assurer que notre répertoire de travail est WordPress.

root@kitploit:~
$ python wphardening.py -d /home/path/to/wordpress -v

Modifier les permissions

Cette option permet d'ajouter les permissions correctes aux fichiers et répertoires.

root@kitploit:~
$ python wphardening.py -d /home/path/to/wordpress --chmod -v

Supprimer les fichiers inutilisés

Une partie du renforcement de tout système consiste à supprimer les fichiers, répertoires ou composants inutiles.

root@kitploit:~
$ python wphardening.py -d /home/path/to/wordpress --remove -v

Créer votre fichier robots.txt

WordPress par défaut n'inclut pas le fichier robots.txt ; avec cette option, nous pouvons personnaliser notre robots.txt.

root@kitploit:~
$ python wphardening.py -d /home/path/to/wordpress --robots -v

Pour plus d'informations robots.txt

Supprimer toutes les empreintes et la version

root@kitploit:~
$ python wphardening.py -d /home/path/to/wordpress --fingerprinting -v

Vérifier une bibliothèque TimThumb

root@kitploit:~
$ python wphardening.py -d /home/path/to/wordpress --timthumb -v

Créer un fichier Index

Ce fichier est créé comme un moyen d'éviter la navigation dans un répertoire.

root@kitploit:~
$ python wphardening.py -d /home/path/to/wordpress --indexes -v

Télécharger les plugins de sécurité

Voici une liste des plugins de sécurité les plus couramment utilisés que vous pouvez télécharger automatiquement :

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

Assistant de génération de wp-config.php

Cette commande crée automatiquement un fichier appelé wp-config-wphardening.php que vous pouvez ensuite renommer.

root@kitploit:~
$ python wphardening.py -d /home/path/to/wordpress --wp-config

Pare-feu 6G

root@kitploit:~
$ python wphardening.py -d /home/path/to/wordpress --6g-firewall

Désactiver l'API REST

root@kitploit:~
$ python wphardening.py -d /home/path/to/wordpress --rest-api

Mise à jour de WPHardening

Avec cette option, vous pouvez toujours avoir la dernière version de WPHardening.

root@kitploit:~
$ python wphardening.py --update

Utiliser toutes les options

root@kitploit:~
$ 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

Page d'accueil du projet

www.caceriadespammers.com.ar

Dépôt Git

https://github.com/elcodigok/wphardening

Problèmes

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

Télécharger l’outil