WordPress Developer & Linux Administrator


Free photography to use in your blog posts

Unsplash is a free-to-use website that features photography images taken by a team of camera guys. They release 10 new photos every 10 days, and it covers a broad range of photographs perfect for everyday blog posts. Definitely worth checking out, as they’ve amassed a large number of images in their collection already.

Continue Reading

Bash script to scan reseller's accounts for malware

The ConfigServer eXploit Scanner (cxs) is a very powerful tool for cPanel web hosting servers. While not free, it provides active scanning of files as they are uploaded to the server, and so much more. It truly is one of the best clean-up and discovery tools out there for someone with a cPanel server. With over 3,000 known exploit script fingerprint matches (in addition to standard ClamAV detection), CXS is sure to catch most of what your clients’ sites may be hiding.

CXS let’s you scan per domain, by first letter, or by scanning your entire home directory (ie., all cPanel accounts) for malware. But what if you want to do this on a reseller basis? This script will do just that. It will take input via reseller username on the server, and will perform a detailed scan (with quarantine) for each of that reseller’s hosted accounts!

Continue Reading

Log file locations on a cPanel web server

cPanel is the largest web hosting control panel in the world. Learning where each of the cPanel log file locations are can be an indispensable resource when trying to troubleshoot an issue with your cPanel web server. Following is a list of log file locations for cPanel.

Continue Reading

Bash script to DNS lookup for cPanel reseller

This bash script will take a given cPanel reseller, find all of its users, fetch all cPanel domains related to the user, and perform a dig DNS lookup on each of the cPanel domain names. By default, it performs a lookup of just an A record, however, you can customize the -t flag to any number of other DNS lookups. Such as: A, TXT, MX, NS, SOA, HINFO, or AXFR.

Continue Reading

Bash script to upgrade Wordpress

This bash shell script will accept input, confirming that you first have a valid WordPress backup file on hand. Once you’ve answered with a Y (indicating “yes”), the script will let you proceed to updating the WordPress core. The bash script pulls the newest version of WordPress from the official WordPress repository and places everything where it should be.

Continue Reading