Sometimes you want to limit a script to just one instance. Say the script accesses a resource that you don’t want to be shared. So how do you prevent multiple instances of a single script from running?
Continue reading
Finding Number of Unique IP Addresses Involved in an Attack
Web servers sometimes get lots of requests from bots looking to exploit security holes. For example previously I have written about brute force WordPress login attempts. Attacks like these can involve thousands of IP addresses and how you block the attack depends on how many unique IPs are involved and the frequency with which they are used. Here’s how you can find out.
Continue reading
Faysal Bank Introduces Dangerously Insecure Internet Banking
Faysal Bank was probably the only private bank in Pakistan to not offer Internet banking. They were sitting on their hands all these years while their competitors leapt forward. But now they’ve introduced mobile phone compatible Internet banking under the mobit brand name. The problem is that it is badly designed and dangerously insecure.
Adding MD5Sum to KDE GUI Right-Click Menu
KDE is a great desktop environment and its killer feature has always been the great level of customization that you can perform. In this post I look at adding support for MD5, SHA256 and other file checksum operations to the right-click context menu. This will allow you to do an MD5sum or SHA256sum of ISO images or other files right from within the GUI.
Upgrading from Debian Squeeze to Debian Wheezy
The latest Debian stable version named Wheezy was recently released. It is possible to upgrade from Squeeze to Wheezy without reinstalling the operating system from scratch. Let’s look at how that can be done.