Since a week or so, I notice a huge increase in SQL injection attacks on various websites. Anyone else seeing the same SQL injection attacks lately? This increased SQL injection activity - on various web sites and databases - has the following characteristics
Published on Thursday, 7 August 2014
MySQL sleep()
command injection attacks: how not validating your PHP user input can lead to Denial of Service (DoS) attacks against websites and back-end database servers. Simply by putting "AND sleep(3)
" in the address bar... Here is how to put a MySQL server to sleep, happy SQL injection!
Read more...
Published on Tuesday, 5 August 2014
Important Magento maintenance, now for IIS too: optimize the speed and performance of your Magento ecommerce webshop by carrying out important maintenance. Remove old MySQL database log files and Magento cache data on a regular basis.
Read more...
Published on Friday, 25 July 2014
How to identify, block, mitigate and leverage these xmlrpc.php scans, brute-force, and user enumeration attacks on WordPress sites.
Published on Monday, 7 July 2014
Whenever you need a MySQL connectivity test from a website or server, it's handy to have various test scripts nearby. Whether it is because you are setting up a new website or you have just installed a new server and are running your tests.
Published on Monday, 26 May 2014
Sometimes it's important to remove (or hide) the file extension of scripts you use. Security by obscurity might be that reason, if you don't want others to know what script language you are using for your website, or for static site hosts.
Published on Friday, 23 May 2014
Contact Form 7 (CF7) is a WordPress plugin that provides a simple but flexible contact form. On IIS, Contact Form 7 captcha has one HUGE disadvantage: temporary captcha files placed in wp-content/uploads/wpcf7_captcha
, are not automatically removed. The files are made read only. Here is how to remove Contact Form 7 temporary captcha files on IIS...
Read more...
Published on Monday, 28 April 2014
How to check the file type in PHP and secure file uploads: it is important to validate MIME types in PHP. Especially of files uploaded through an upload form to your website.
Published on Sunday, 27 April 2014
Chmod.php, change file attributes with PHP to make files read only or normally accessible on Windows IIS servers. Sometimes you need chmod to make files read only on your website, or make them normally accessible in case they already are read only. For instance Drupal's settings.php configuration file, or WordPress Contact Form 7 temporary captcha files, are examples of read-only files.
Published on Sunday, 27 April 2014
Here is how to fix PHP "Call-time pass-by-reference has been removed in ..." errors in PHP and WordPress.
Published on Wednesday, 23 April 2014