Skip to content

Instantly share code, notes, and snippets.

@mapcentia
Last active August 6, 2021 06:15
Show Gist options
  • Save mapcentia/1f2d8a6b4369beb1c930 to your computer and use it in GitHub Desktop.
Save mapcentia/1f2d8a6b4369beb1c930 to your computer and use it in GitHub Desktop.
Install Ubertooth and Kismet on Raspbian
#!/bin/bash
#Install build tools and dependencies
apt-get -y update
apt-get -y install cmake libusb-1.0-0-dev make gcc g++ libbluetooth-dev libncurses5-dev libnl-dev \
pkg-config libpcap-dev python-numpy python-pyside python-qt4
#Get and build libbtbb
cd ~
wget https://github.com/greatscottgadgets/libbtbb/archive/2015-10-R1.tar.gz -O libbtbb-2015-10-R1.tar.gz
tar xf libbtbb-2015-10-R1.tar.gz
cd libbtbb-2015-10-R1
mkdir build
cd build
cmake ..
make
make install
ldconfig
#Get and build Ubertooth tools
cd ~
wget https://github.com/greatscottgadgets/ubertooth/releases/download/2015-10-R1/ubertooth-2015-10-R1.tar.xz -O ubertooth-2015-10-R1.tar.xz
tar xf ubertooth-2015-10-R1.tar.xz
cd ubertooth-2015-10-R1/host
mkdir build
cd build
cmake ..
make
make install
ldconfig
#Get and build Kismet and Ubertooth plugin
cd ~
wget http://www.kismetwireless.net/code/kismet-2016-01-R1.tar.xz
tar xf kismet-2016-01-R1.tar.xz
cd kismet-2016-01-R1
ln -s ../ubertooth-2015-10-R1/host/kismet/plugin-ubertooth ./
./configure
make deb
make && make plugins
make suidinstall
make plugins-install
#Set writeinterval
sed -i "s/writeinterval=300/writeinterval=10/g" /usr/local/etc/kismet.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment