Search This Blog

Wednesday, October 31, 2012

Setting Tor Proxy on Virtual Box for anonymous browsing


Requirement:
Tor VM - http://www.janusvm.com/tor_vm/
BackTrack 5 live distro - http://www.backtrack-linux.org/
VirtualBox - https://www.virtualbox.org/

1. Install VirtualBox
2. Create a VM with Tor VM with little virtual Hard drive. Change the network setting of the virtual machine to "Bridged". Disable Audio and USB.
3. Create another VM with no virtual hard drive. Boot into the Stealth Version of Backtrack and change the network setting to "Bridged".
4.
vi /etc/resolv.conf
    nameserver [IP of the Tor VM]

5. change eth0 IP and boot up
   ifconfig eth0 [an used IP on the same network]/24 up
6. set gateway to the tor proxy
  route add default gw [IP of the Tor VM]

Thursday, October 18, 2012

Shellcode Quote Notes(1)

The following are some intuitive experiment to help understanding how the quote system works in shell code.

Asterisk (*)

* means "for any"

1. Create 3 file with filename : *testing *testing* testing* test*ing

$touch *testing
$touch "*testing*"
// won't work without the quote because of the starting with a meta-character " *"
$touch testing*
$touch test*ing
2. Test with "ls"

Case 1: 

Type:
$ls *

Meaning:
list anything

Result: 
*testing *testing* testing* test*ing

Case 2: 

Type:
$ls *\*

Meaning:
list anything that ends with a *

Result: 
*testing* testing* 

Case 3: 

Type:
$ls *\**

Meaning:
list anything (including nothing) that follows with a * and then follows by anything (including nothing)

Result: 
*testing *testing* testing* test*ing

Case 4: 

Type:
$ls \**

Meaning:
list something that starts with a * and then follow by anything (including nothing)

Result: 
*testing *testing*


Thursday, October 11, 2012

Resetting/Setting "adminstrative" password on ubuntu

If you just installed Ubuntu server edition, the root password is not set by default. you will have to use the following command to trigger a prompt to reset the "administrative" or "root" password

sudo passwd root
 

Wednesday, October 3, 2012

Making an ISO file from DVD with no protection

Just as simple as this:

dd if=/dev/dvd of=output.iso

Tried it on Windows XP installation disk and works. VirtualBox has no problem booting it up.