Newer
Older
BLE_CTF_V2 / Setup_Pi_for_BLE.txt
root on 5 Feb 2021 927 bytes setting up test pi
- Setup Pi for BLE -

sudo apt-get install bluez bluez-tools python-bluez (gives us hcitool & gatttool + python imports for bluez)

### install bleah ###
cd /opt
git clone https://github.com/evilsocket/bleah.git
cd bleah/
git checkout 6a2fd3a

sudo apt-get install git build-essential libglib2.0-dev python-setuptools

cd /opt
git clone https://github.com/IanHarvey/bluepy.git
cd bluepy/
sudo python setup.py build
sudo python setup.py install

sudo nano /usr/local/lib/Ptyhon2.7/dist-packages/bluepy-1.3.0-py2.7.egg/bluepy/btly.py
change:
	from queue import Queue, Empty
to:
	from Queue import Queue, Empty
(capitolization of first "queue")

cd /opt/bleah/
python setup.py build
sudo python setup.py install

### install spooftooph ##
sudo apt-get install libncurses-dev libbluetooth-dev
cd /opt
git clone https://gitlab.com/kalilinux/packages/spooftooph.git
cd spooftooph/
make
make install