Archive for the ‘linux’ Category

Recently I came across a new file format called RSDF, these appear to be txt files which have a bunch of links in them, so called link containers.  I wanted to access the URLS in these files, but I didnt really want to entrust my computer to just “any” application. (more…)

Posted by on May 19, 2009

Hooray! I did it!
I have managed to boot my bootable usb pendrive (BackTrack 3) under QEMU within Windows XP.

For those of you who want the magic one liner here you are:

qemu.exe -L . -m 512 -std-vga -hda \\\\.\\PhysicalDrive2 -soundhw all -localtime -M pc -kernel ../../boot/vmlinuz -initrd ../../boot/initrd.gz -append "root=/dev/ram0 rw initrd=../../boot/initrd.gz ramdisk_size=6666 vga=0x317"

  • This gives you TextMode with 512 MB Ram and Mouse Support!!
  • You will need to change PhysicalDrive2 to what ever drive number your USB key is. (Hint look under the DiskManagment snap-in)
  • You require administrative rights also
  • My Qemu directory lives under USBDriveLetter\BT3\QEMU FYI
  • QEMU Version Win32 PreCompiled 0.9.1

Hopefully this saves you a few hours :-)

Posted by on April 15, 2009

With my OpenSuSe and SLES Linux installations I was trying to remember how to add the rc prefix to MailScanner so I didn’t have to type /etc/init.d/MailScanner restart. All you need to do it add a symlink in /usr/sbin called rcmailscanner pointing to /etc/init.d/MailScanner. I cant believe Im forgot such a simple thing! DoH!

Posted by on December 2, 2008

I got bored of not having something useful displayed when logging into my box so I wrote a script and put it in cron.hourly now I get some “info” such as:

Latest Logins:
Latest SSH Failures: Total Count:
Latest SSH Errors:
Latest 10 /var/log/messages entries:
Latest Hardware Errors:
Latest DMESG Messages:

Click Read More to grab the code (It outputs pretty colours lol)

(more…)

Posted by on November 17, 2008