The End of Windows XP

Microsoft will finally be pulling the plug on Windows XP and ending support of the 11 year old operating system on April 8th, 2014.

What does this mean? Time to move on. Time to get Windows 7 or Windows 8 (and if you aren’t a fan of the new ‘Start Menu’ on Windows 8, head on over to Ninite.com and select the ‘Classic Start’ from the Utilities)

Biggest concern? Businesses and stand-alone appliances that rely on XP. The clock is ticking guys, upgrade.

Removing IP’s from DenyHosts

DenyHosts will scan your auth logs and add any ip to hosts.deny trying to brute force a login. That’s great, but I feel it lacks an important feature: An easy way to remove a blacklisted ip address. So I’ve come up with a script to do it for you.

Please note, I’ve only tested this on Debian Linux and you may have to modify it to fit your operating system.

Save the following as ‘ipdenyremove’ and you’re set:

#!/bin/bash
if [[ $1 == "" ]]; then
        echo "usage: ./ipdenyremove ip-to-remove-from-denyhosts";
        exit 1;
fi

thepath="/var/lib/denyhosts/";
for x in `ls $thepath`; do
        file=$(<$thepath/$x)
        echo "$file" | {
                while read line; do
                    if [[ $line != *$1* ]]; then
                        echo $line
                    fi
                done
        } > $thepath/$x
done

hostsdeny="/etc/hosts.deny";
file=$(<$hostsdeny)
echo "$file" | {
        while read line; do
            if [[ $line != *$1* ]]; then
                echo $line
            fi
        done
} > $hostsdeny

WizMouse and KatMouse

Couple neat programs I heard about the other day.

Essentially they let you scroll your mouse wheel in programs without actually having the windows be in focus (plus a few other options). Extremely useful in multiple monitor setups.

WizMouse (my favorite)
http://antibody-software.com/web/software/software/wizmouse-makes-your-mouse-wheel-work-on-the-window-under-the-mouse/

KatMouse
http://ehiti.de/katmouse/