[SOLVED] Issues with PureFTPD with TLS/SSL on Cpanel + ASL

On a couple of Cpanel servers today I was having awful issues getting TLS/SSL to work through pureFTPD in conjunction with the mighty ASL firewall. I found the solution in the end and it was relatively painless. So, you are reading this if you: a. Are running Cpanel Server (WHM) b. Using ASL Firewall from atomicorp.com c. Using PureFTPD d. Passive Mode Enabled e. Want to get TLS/SSL Working (either forced or optional) 1. Open ASL GUI and add some...

Read More Here >>

Backdoor WordPress Login Script

I have created this script to allow me to quickly login to clients wordpress installs after they have royally messed things up. For example, some clients have changed their admin password and dont know which email account they have used, so this script allows me to quickly create a new user, login and reset their details without having to muck about with mysql etc. NOTE: to use this script you do actually need to have access to the web server and...

Read More Here >>

PHP Best Practices

I deal with alot of different coders from all walks of life and man, have I seen some nasty code. Its really important when coding in a team that certain practices are followed so that the codebase takes on a readable and easier to work with format. I apply these practices whenever I can and expect anyone working with/form me to do the same. 1. PHP OPEN TAGS Never use shorthand or ASP style PHP start tags. Always use full PHP tags. View/Hide Source...

Read More Here >>

[solved] – Error reloading bind on ns1: rndc: ‘reload’ failed: failure on cpanel dns only setup

Gosh. The last few days when I update a dns record or my cpanel system adds a dns record to my dns cluster I get the following errors: Bind reloading on maggie using rndc zone: [somedomainname.com] Bind reloading on ns1 using rndc zone: [somedomainname.com] Bind reloading on ns1 using rndc Error reloading bind on ns1: rndc: 'reload' failed: failure Bind reloading on ns3 using rndc zone: [somedomainname.com] Bind reloading on ns3 using rndc Error...

Read More Here >>