Skip to content

Instantly share code, notes, and snippets.

@Nokius
Last active February 28, 2018 14:04
Show Gist options
  • Save Nokius/475d339cb3bcd6e0636e to your computer and use it in GitHub Desktop.
Save Nokius/475d339cb3bcd6e0636e to your computer and use it in GitHub Desktop.
install wireshark-whatsapp plugin on OS X

build wireshark-whatsapp on OSX

needed parts

Install cmake

make camke working via cli

sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install

git clone https://github.com/davidgfnet/wireshark-whatsapp.git

cd wireshark-whatsapp

mkdir build ; cd build

get the wireshark source

wget https://1.eu.dl.wireshark.org/src/wireshark-1.12.6.tar.bz2 tar zxvf wireshark-1.12.6.tar.bz2

cd wireshark-1.12.6

ln -s packaging/macosx/native-gtk/config.h . (make will not fail)

cd ..

brew install glib

brew install libgcrypt

run cmake

cmake -DWIRESHARK_INCLUDE_DIRS="/path/to/wireshark-whatsapp/wireshark-1.12.6/" .. (it should not fail exept that glib/gregex.h and glib/gchecksum.h are not found)

run make

make (failing for me atm)

make install

@jgyonzo
Copy link

jgyonzo commented Dec 28, 2015

You also have to install pkg-config:
brew install pkg-config

@cicciovo
Copy link

cicciovo commented Apr 1, 2016

Hi nokius, i build with success the plugin but when i put it in dir of personal plug in wireshark crash! do you know why? I had install wireshark 1.12.6 via pkg file....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment