Filesystem

I often find that when I get access to a DB I dont know how to control it, I always end up typing in the wrong commands or having to quickly google what i want to do. Thus, I thought it would make sense to write up a quick cheat sheet, especially when sometimes with SQLi you need to be as careful with your commands as possible. This write up… Continue reading

So you’ve got a VMWare system but when you created it you did so but specified the wrong disk type. For example I have a Win7 32bit VM specifically for iTunes (in my family we have iPhones and iPads). Unfortunately when I created this for some silly reason decided to set the 40GB drive to preallocated meaning I have a single 40GB file taking up far too much room on… Continue reading

So for those that dont know volatility is a forensics tool for investigating data from memory. It can be found here: http://www.volatilesystems.com/default/volatility

Unfortunately BT5 was only on version 1.3 so I decided to update it to v2.0, the latest on the volatility website.

Here’s the quick code to update to version 2.0 🙂 Enjoy!

1234567891011121314151617181920#!/bin/bash apt-get -y install cmake cd /root/ wget http://freddie.witherden.org/tools/libforensic1394/releases/libforensic1394-0.2.tar.gz tar zxvf libforensic1394-0.2.tar.gz cd libforensic1394-0.2/ cmake -G"Unix… Continue reading

This allows you to mount an iso file in a linux directory

1mount -o loop file.iso /mnt/cdrom

This will verbosely sync the 2 directories locally

1rsync --delete --progress --sparse -va /dir/of/source/ /dir/of/destination/

And to do the same thing over SSH:

1rsync --sparse --progress -avc -e ssh user@example.com:/dir/of/source /dir/of/destination/