Nitko2 web server assessment

I decided to run a vulnerability scan on my fully patch Cent0S 5.2 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: […]

Make MySQL client display the selected working database

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 […]

rubyninja is offline until further notice

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.

New Primary laptop

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 […]

Hacker humor

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”;