Tuesday, June 24, 2008

view log ettercap

using etterlog to view ettercap log.

etterlog -T logfile

Saturday, June 14, 2008

Fix MBR boot VISTA

Use Vista Recovery Disk, it can be dowloaded at:
http://coblitz.codeen.org/neosmart.net/downloads/guides/Vista_Repair/Vista_Recovery_Disc_x86.iso

* Boot up your computer using Microsoft Windows Vista Bootable disk. (Check your BIOS setup)
* When you see the 1st Windows Vista installation screen appear, please configure your 'language' preferences.
* When prompted, click 'Repair your computer'.
* Startup Repair will automatically detect a problem. When prompted, click 'Repair and restart', and then restart your computer from the Windows Vista bootable disk. If Startup Repair does not automatically detect a problem, continue to the next step.
* click 'Repair Your Computer'.
* Click Command Prompt from the System Recovery Options.
* BootRec.exe provides the following command-line options:

* /FixMbr. Re-writes the master boot record (MBR) of the system partition to start Windows Vista. This won’t overwrite the existing partition table.

* /FixBoot. Writes a boot sector onto the system partition to start Windows Vista.

* /ScanOs. Scans all disks for Windows Vista installations and displays them to you. Oddly, this didn’t work for me, even on a test system that was starting just fine.

* /RebuildBcd. Scans all disks for Windows Vista installations and prompts you to pick the ones you want to add to the BCD.

* Type 'BootRec.exe /fixmbr' and press Enter.
* Congratulations! You're done.

Basically your Linux GRUB will go away. We recommend you look at GUID Partition Table.

Change MAC Ubuntu

sudo ifconfig wlan0 hw ether <>

Friday, June 6, 2008

enable SSL

After installing, you need to uncomment some code to enable SSL dissection. Open up a terminal window and type “nano /usr/local/etc/etter.conf”, without the quotes. Scroll down using your arrow keys until you find this piece of code:

# if you use iptables:
# redir_command_on = “iptables -t nat -A PREROUTING -i %iface -p tcp –dport %port -j REDIRECT –to-port %rport”
# redir_command_off = “iptables -t nat -D PREROUTING -i %iface -p tcp –dport %port -j REDIRECT –to-port %rport”

You need to uncomment the last two lines.

# if you use iptables:
redir_command_on = “iptables -t nat -A PREROUTING -i %iface -p tcp –dport %port -j REDIRECT –to-port %rport”
redir_command_off = “iptables -t nat -D PREROUTING -i %iface -p tcp –dport %port -j REDIRECT –to-port %rport”