rzers Advanced Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 50
|
Posted: Sat Apr 05, 2008 11:56 am Post subject: Simple sniffing tutorial |
|
|
Tutorial by Casi
This is a simple sniffing tutorial il just write cause I have nothing better to do...
Youll need two tools, which I think both are standard in BackTrack
Ettercap
nano
For SSL Dissection support, such as hotmail and gmail you have to open a shell
" Code: | nano /usr/local/etc/etter.conf | ", use the down arrow until you reach " Code: | redir_command_on/off | ", look at the linux part, your gonna need to change this
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" |
to this
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" |
after your done, press F2, Y, Return.
Now boot Ettercap: Menu - Backtrack - Spoofing - Ettercap
(Assuming u ar eusing backtrack xD)
Go to: Sniff - Unified Sniffing - ethX(what interface you want to sniff).
Then Press: Ctrl+S to scan hosts.
Then Go to: Mitm - ARP poisoning, select sniff remote connections, and press ok.
Then Go to: Start - Start Sniffing.
For an Example, Walk to another pc, go to your internet email account hotmail or gmail in this case, and log in, you will be asked to trust the certificate, Trust it, and watch your sniffing computer, the username and password should appear.
If it dosent appear...Then... Then what? xD
_________________
...::: www.zer0-day.net :::...
The best online place for hacking,cracking,exploits,programming,and LEARNING! <3 |
|