Using WP-CLI to Scan for WordPress Security Vulnerabilities

Previously I have shown how to install WPScan on Ubuntu installation guide (for Ubuntu 16.04) and debian but what if you want to scan locally and not remotely? Especially if a site is protected from WPScan using protection methods  that prevent enumeration or access to files that expose the WordPress theme or plugins you are using. … Learn more…

Favorite rsync Commands for Copying WordPress Sites

Copying, moving, cloning WordPress is easiest and fastest by the command line using SSH – especially for large sites it is the best and often essential! You can use this method on any Linux system which contains rsync like CentOS (cPanel), Plesk, Ubuntu and debian systems on VPS, dedicated servers or even containers like docker … Learn more…

Creating WordPress Taxonomy Terms WP-CLI with Parent and Child Relationships

Using Taxonomies and hierarchies is a great way to categorize your data in WordPress. I was curious how it would be possible to automate the creation of taxonomy terms with parent terms using a WP-CLI script. This tutorial will show you how to automatically re-create your taxonomy structure with child and parent terms using WP-CLI … Learn more…

Automating WooCommerce and WordPress Updates with WP-CLI Script

WordPress and WooCommerce updates are critical nowadays. Keeping your site or store secure from the latest security exploits that may have been disclosed and reported on WPScan Vulnerability Database (see here how to install WP Scan use it) or ThreatPress. WP-CLI can help automate the monotonous update dance of plugins, themes and WordPress core all … Learn more…

Batch Deleting WooCommerce Customers with No Orders or Money Spent with WP-CLI

Working on WooCommerce is always a fun challenge. I had a client who had a ton of spam customers because where was missing security on the site. This meant he had several thousand users who were clogging up the database and mailing list! This tutorial will show you how to delete WooCommerce customers who have … Learn more…