I decided to run a vulnerability scan on my fully patch Cent0S 5.2 rubyninja.net Apache web server using Nitko and learned quite a bit on the vulnerabilities found. 1st vulnerability found: My webalizer statistics were being displayed without any restriction. Fix: Enable .htaccess password protection and limited to permit local IP access. 2nd vulnerability found: […]
Before knowing of this MySQL feature, whenever I was working on a database I always use the \s command to verify which database I was about to alter. Instead of using this command, MySQL client has a prompt global variable which lets you modify the display prompt when connecting to a MySQL server. Simply add […]
I may hate his football tactics, but Jose Mourinho is a legend in the making.
Converting a disk to an iso image is easier to do in Linux than in other operating system. dd bs=2k if=/dev/cdrom of=~/disk_image.iso
Both the factory hard drive and 500 GB Western Digital hard drive seem to be failing. I ran the extended Apple hardware diagnostic test and the core hard ware passed the test (hd not tested). Lesson learned here … Thank god for backups.
It’s been over a week since I purchased my new 13 in MacBook Pro, and I finally managed to fully transfer all of my files from my old white plastic MacBook. Even though I bought the Core 2 Duo instead of the 15 in i5 MacBook Pro, this laptop is by and the the best […]
While reading the regex portion of Apress’s Beginning Perl Second Edition by James Lee, the following sample code totally made my day. #!/usr/bin/perl -w use strict; $_ = “There are two major products that came out of Berkeley: LSD and UNIX”; s/(\w+)\s+(\w+)/$2 $1/; $_ = ucfirst($_); print $_, “?\n”;