Ettercap 7.3 安装
#./configure&&make&&make install
#./configure&&make&&make plug-ins
#./configure&&make&&make plug-ins_install
System is Ubuntu 8.10..
1. Library requirements (gtk+-2.0 >= 2.00 pango >= 1.0) not met
This is most cased by the version of your glib/pango
So how to check the version, do the following commands
[root@~]# rpm -q gblib atk pango
glib-1.2.10-15
atk-1.8.0-2
pango-1.6.0-9
found it was too old for the latest 7.3
Fixing way,
Upgrade glib.
使用:
http://hi.baidu.com/jimwin/blog/item/41eaf0dd76d4b9ea77c638ce.html
Fixing way in Ubuntu
sudo apt-get build-dep ettercap && sudo apt-get install build-essential
to get the latest essential requirement resoures for install ettercap. if u did this, some of the following items may ignored.
2. E: Couldn't find package libpcap
apt-get yum
then
yum install libpcap
if it still not works, then from here to download it and manual install it
3. when install libpcap, the error shows as below
yacc -d grammar.y
make: yacc: Command not found
make: *** [grammar.c] Error 127
First to check the yacc
apt-cache search yacc
then install bison
apt-get install bison
4. then reinstall libpcap3
configure: error: Incorrect libpcap version. libpcap >= 0.8.1 required
First to uninstall the old version
If you have the install file, then you can directly using ./configure&&make&&make uninstall to uninstall it
then to install you new version one
Else if you didn't have the install files,
Then try rpm -qa | grep pcap to find the pakage, then remove it manually by rep -e thepackagename
5. libnet: err: configure: error: libnet >= 1.1.2.1 not found
download the latest version of libnet from here
cd into your package of libnet1.1.2.1
first, execute: ./configure&&make&&make uninstall
then, execute: ./configure&&make&&make install
6. error: call to '__open_
missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 argumen
see the bug
Basic to run this following commands to get the latest version of root-system 5.18.00.2
# apt-get install root-system, if it doesn't work, try the following
http://www.hacktoolrepository.com/tool/31/Ettercap
You will need to change the following line in src/ec_log.c:
fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY);
into:
fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0666);
视频教程 -- 简单示意
如何在Ubuntu中启动
输入: # ettercap -G
当然可以自己手动创建一个启动项.
教程