Showing posts with label tools. Show all posts
Showing posts with label tools. Show all posts

Sunday, December 11, 2011

Let dig out a Localtunnel!!!

So as I creating a very early version of the webapp, I want to get opinion from friends. A few thing happen, I'm not quite ready to commit to a full blown installation. And I am too lazy to setup a ssh tunnel, and I didn't attempt it before.

Of course, there is option number 3. Localtunnel, basically localtunnel is a ruby script that make tunneling very easy, without you having a ssh box remotely. They provide a linux box remotely, which have no shell and only authorized_keys file in home. So you don't need a dedicated ssh box somewhere.

On linux, make sure you have ruby install, and rubygems installed. On ubuntu, on fedora just replace with yum. The rest of the instruction is on the link below.
sudo apt-get install ruby1.8 rubygems

http://progrium.com/localtunnel/

Friday, January 30, 2009

My Adventure with Photorec

The whole story started when my cousin ask me to restore data on her broken hard disk, I don't think it is broken btw, more like corrupted partition. Either way, I still need to recover her data.

That's where photorec comes in. Photorec is a tools to recover data from harddisk, it is a program comes with testdisk. Don't be fooled by the name, it can recover documents, video, mp3 etc, not just photos.


First you need to find the partition, you can just type in terminal
fdisk -l
Then in terminal
photorec /dev/
replace device name with sdb, hdb etc.

Then just follow instructions.

And there you have it, it will create a folder on where you create it, with all the data. It is quite easy to use.

To install on ubuntu
system -> adminstration -> synaptic package manager
 Find testdisk

On fedora
system -> administration -> add/remove software
search testdisk.

BTW there is a windows version. But i test this on ubuntu.

P.S This actually is a bit anticlimatic, I actually expect to create a disk image, and use sleuthkit. photorec is much more easier. That atchek, hehe.