WPHardening is a security tool for WordPress. Different tools to hardening WordPress.
Usage
$ python wphardening.py -h
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.
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.
--wp-config Wizard generated wp-config.php
--delete-version Deleted version WordPress.
--plugins Download Plugins Security.
--proxy=PROXY Use a HTTP proxy to connect to the target url for
--plugins and --wp-config.
--indexes It allows you to display the contents of directories.
Miscellaneous:
-o FILE, --output=FILE
Write log report to FILE.logExamples
Check a WordPress Project$ python wphardening.py -d /home/path/wordpress -vChange permissions$ python wphardening.py -d /home/path/wordpress --chmod -vRemove files that are not used$ python wphardening.py -d /home/path/wordpress --remove -vCreate your robots.txt file$ python wphardening.py -d /home/path/wordpress --robots -vRemove all fingerprinting$ python wphardening.py -d /home/path/wordpress --fingerprinting -vCheck a TimThumb library$ python wphardening.py -d /home/path/wordpress --timthumb -vCreate Index file$ python wphardening.py -d /home/path/wordpress --indexes -vDownload Plugins security$ python wphardening.py -d /home/path/wordpress --pluginsWizard generated wp-config.php$ python wphardening.py -d /home/path/wordpress --wp-configDeleted version WordPress$ python wphardening.py -d /home/path/wordpress --delete-version -vWPHardening update$ python wphardening.py --updateUse all options$ python wphardening.py -d /home/user/wordpress -c -r -f -t --wp-config --delete-version --indexes --plugins -o /home/user/wphardening.log






