Small code with powerful results, the occasional opinion … and beer.

06 Sep 2007
Deleting Old Files

I’ve had this script around for some time, and thought I would share it. There are many utilities that will do this, but this one is designed for VBScript, and uses regular expressions for the file pattern. This allows for almost surgical removal of files from a working folder or archive folder. I’ve used this […]

04 Sep 2007
Blocking Dictionary Attacks on a Personal FTP site (IIS)

Thanks to some scripts I found on various sources, I was able to piece together this script to detect and block ever-increasing dictionary attacks against the Administrator account on my FTP server. Basically, you start the script using WScript at system load. It hooks itself into WMI events for ftp log file entries. When an […]