With the recent rise in brute-force attacks against WordPress installations, it’s now my turn to write down a checklist on things to do that will make your installation more secure. There are different levels to secure the installation, you can…
Category: Security
Add Users to the Sudoers List
WHMCS – Hide licensekey from public view
Some may know that you can check the WHMCS license of any company using WHMCS as their billing system by adding: [precode]?licensedebug&forceremote[/precode] to any .php file in the whmcs folder. Example: [precode]announcements.php?licensedebug&forceremote[/precode] If you run this, you will probably see…
Adding security by clearing root passwords in Solus on an interval
How to Harden and Secure SSH for Improved Security
Email notification when someone logs in via SSH
How To Recover/Reset a forgotten MySQL root password
Block an entire Country with iptables
Creating random passwords for your customers in WHMCS
Easy add IP to be blocked by iptables
A question was asked over at www.lowendtalk.com on how to add ip addresses to iptables from a textfile. AnthonySmith found a simple but still effective way to solve this. The entry that were discussed was
1 2 |
iptables -A INPUT -s XXX.XXX.XXX.XXX -p udp -m udp --dport 28960:28965 -j DROP |
Let’s break it all…