/bletools

BLE pentesting scripts

Primary LanguagePythonMIT LicenseMIT

bletools

BLE pentesting scripts

BLE Hacking Resources

setup bluetooth on arch linux

pacman -S bluez bluez-utils
systemctl start bluetooth
bluetoothctl power on

BLE Testing Tools

All of the following client programs use the Bleak python library: https://bleak.readthedocs.io/en/latest/index.html

pip3 install bleak

scan.py

This program scans for BLE devices that are advertising

usage: ./scan.py <scan time>

services.py

This program connects to a BLE device and enumerates its services

usage: ./services.py <device MAC>

read.py

This program connects to a BLE device and reads a characteristic

usage: ./read.py <device MAC> <characteristic UUID>