By admin | November 21, 2008
For anyone who needs it, here is a script I wrote to prevent SQL injection. It uses references to the original global arrays to clean them up.
/**
* added the following code to enabled readyness for magic_quotes() being removed
* in PHP6
*
* added by C. Cook 15/8/2008
*/
//Turn off magic quotes the manual way, this also [...]
By admin | November 17, 2008
This is very simple, but I’ve seen a massive reduction in brute force attempts simply by changing the default port for SSH connections.
It’s pretty simple to change the default port:
Just edit the SSH configuration file, normally this will be found in /etc/ssh or /usr/local/etc/ssh.
To change it over, edit the line that reads “Port 22″ or [...]
By admin | November 15, 2008
One of my clients has recently been hacked, and not knowing who else to turn to asked me to look into the hack, try and sort out the mess and fix the broken websites.
So before I start this post I think I should make it clear that I am supporting my clients legacy code, which [...]
By admin | November 3, 2008
A few months back we completed a security update on one of our main servers and whilst we were performing the update we realised that there is a distinct lack of information out there concerning the security of PHP functions, and no good lists of functions that should be banned or switched off.
When you install PHP, it [...]
By admin | November 1, 2008
If you don’t want to read about it, click here to see the solution
Once again, I seem to have found a poorly documented PC problem, funny how I always seem to be getting these…
Anyway, this page is all about how I managed to remove the unbelieveably annoying file devldr32.exe from my Windows XP box. I recently [...]
Also posted in Viruses | Tagged devldr32.exe |