Skip to content

Instantly share code, notes, and snippets.

@r4ndom-handle
Last active August 9, 2019 16:14
Show Gist options
  • Save r4ndom-handle/aeff83b609816cc1c8a061fd36f2f301 to your computer and use it in GitHub Desktop.
Save r4ndom-handle/aeff83b609816cc1c8a061fd36f2f301 to your computer and use it in GitHub Desktop.
Kali Linux - remove packaged Kismet, download and install newest Kismet with RTL_AMR, RTL_433, and RTL_ADSB PHY support
#!/bin/bash
#Hacked together by: Nick Delewski / @r4ndom_handle / r@ndom.email
#Date: 9 August 2019
#Installs the newest kismet with all currently enabled RTLSDR goodness on a fresh Kali build.
cd /opt
apt -y remove kismet
#Install dependencies
apt install zlib1g zlib1g-dev zlibc libmicrohttpd-dev libmicrohttpd12 libsqlite3-0 libsqlite3-dev libpcap-dev \
libpcap0.8 libprotobuf-dev protobuf-c-compiler protobuf-compiler libprotobuf-c1 libprotobuf-c-dev libusb-1.0.0 \
libusb-1.0.0-dev libnm-dev libnl-3-200 libnl-genl-3-dev libnl-3-dev lm-sensors libsensors4-dev libdw-1 libdw-dev
#install rtl_433
git clone https://github.com/merbanan/rtl_433.git
cd rtl_433
mkdir build
cd build
cmake ../
make
make install
cd ../..
#install rtl_amr
apt -y install golang
git clone https://github.com/bemasher/rtlamr.git
go get github.com/bemasher/rtlamr
cp /root/go/bin/rtlamr /bin/
#install pyModeS (for rtl_adsb)
git clone https://github.com/junzis/pyModeS.git
cd pyModeS
python setup.py install
cd ..
#install kismet
git clone https://www.kismetwireless.net/git/kismet.git
cd kismet
./configure
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment