Howto:wireshark

From Offensive-security.com

Jump to: navigation, search

This page is beign actively editted please wait to make any changes till this message is removed

Contents

How to Update Wireshark from source.

Download the latest version

curl -O http://www.wireshark.org/download/src/wireshark-0.99.6.tar.gz


Compile

cd wireshark-0.99.6/
./configure
  • If you do not receive a GTK version discrepancy then skip to Install; If you do then use this method:
pkgtool
Remove packages that are currently installed 
#Locate:
gtk+2.2.8.20-i486-1
gtk+2.2.8.17-i486-1
press space bar & hit ok.
slapt-get --install gtk+2 2.8.20-i486-1
cd wireshark-0.99.6/
./configure


Install

make
  • A few warnings to take note of.

Trunicated output of make

gcc: /usr/local/lib/libwireshark.so: No such file or directory
make[3]: *** [agentx.la] Error 1
make[3]: Leaving directory '/root/wireshark-0.99.6/plugins/agentx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/wireshark-0.99.6/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/wireshark-0.99.6'
make: *** [all] Error 2
make install

Check Version

wireshark --version
wireshark 0.99.6
Personal tools