A utility script designed to programmatically update the whitelisted IP addresses in the field of the WAF of the WordFence plugin for the WordPress CMS.
Script name wordfence_whitelist_conversion.sh
Original Author Andrew Fore email@example.com
- wordfence_whitelist_conversion.sh - this is the main script file
##Info Currently this script is designed to run under the bash shell on CentOS 7.
Currently the script takes no commandline options
- validate that the field contents are empty
- filter out CNAME results from the operation
- allow for adding IP ranges