29 November 2011

Bootless USB to SATA Controller

Last week I bought a 1T USB portable Verbatim case with model#: 53039 and serial#: RP211X102347. The plastic USB case houses a Toshiba hard disk and a USB to SATA controller with serial#: 200514081421.

To my surprise I realised that I was not able to boot my macbook from this external USB disk after installing OS X Lion onto. After several attempts with other working bootable images on different machines, I ended up taking apart the housing and mounting the enclosed Toshiba disk onto my portable SATA to USB Konig adapter kit. This time everything worked perfectly:)

It's was the first time I bought a Verbatim product for a long time now, last time must have been since the end of life of 3,5'' floppy disks and the 100MB ZIP floppies for Iomega drives; I should have stuck with WD or LaCie that do come with decent USB connector to SATA connectors.

26 June 2011

23025 Minutes

After upgrading MacOSX to 10.6.4 iCal's alarm has added two very useful interval reminder options:

  1. "Play sound Basso 23025 minutes after", and
  2. "Play sound Basso 1425 minutes after
23025 / 60 / 24 = 383.75 / 24 = 15.989 days
and 1425 / 60 / 24 = 23.75 / 24 = 0.989 days

Have noticed this for a long time as others...but anyway, here is a screenshot.

13 June 2011

Exploits "we will pay for it"


Q: Do you have a 0-day exploit, please send it to me
A: Sure mate


30 July 2010

Pastebin Dumpster Diving

Many people like the idea behind the popular service Pastebin and the convenience offered on the spot with a couple of mouse clicks, nevertheless even more neglect the fact that any stored information will be publicly available for anyone.

As such, being a regular visitor of Pasterbin I tempt on clicking and viewing the recent posts made by other users and quite often I come across password dumps, lists of email addresses, lists of usernames, database connectivity parameters, internal IP addresses, device configuration files, online conversations, rapidshare links, private FTP/Web servers, and many many more...

So a simple way we could automate the process of visiting Pastebin and download all new posts for a closer lookup at a later time is using the following bash command:

for hash in `curl http://pastebin.com/ | grep clb_top | awk -F "\"" {'print $4'} | awk -F "\/" {'print $4'}`;do wget http://www.pastebin.com/download.php?i=$hash;done

The above can also be saved in a bash script and with the help of cron we could say call it every 1 minute from our home server, during an 8 hour period we will download maximum 3840 files (8 posts/per minute times 8 hours * 60 minutes = 3840 files)

Then, easily using grep we can scan those files for keywords (pass, user, email, @, mysql, connect, ssh, botnet etc) and who knows we might spot something interesting ;)

29 June 2010

Ubuntu 10.0.4 - Verify Installation Configuration 800%

Anyone else noticed that progress bar label goes over 100%?