Send Bluetooth (BLE) scans from the ESP32 to Kismet!
- Flash your ESP32
- Download the binary from this repository.
This app parses JSON streams over serial, and uses the Kismet Scan Report API to send Bluetooth recon to the web interface!
ID
: ESP32's MAC AddressFW
: Firmware version from config.yamlTYPE
: BT, BLE, iBeacon, EddystoneUUID
: Unique BT Address, if applicableMFR
: Manufacturer, if foundNAME
: Bluetooth Device NameMAC
: MAC AddressRSSI
: Signal StrengthTX
: Reported TX power at 1 Meter, if broadcasted.
For the app, two env variables are needed:
KISMETURL
: Location of the kismet server, along with the port.KISMETAPIKEY
: API key with scanreport permissions.
A third optional log env variable can also be specified:
ESP32_SOURCE_LOG
: specifies how much logging should be output to terminal. Choice of trace || debug || info || warn || error || off. If env is not specified then this defaults to error.
# http[s]://[url]:[port]/
$ export KISMETURL=http://localhost:2501/
# [32 char key with scanreport perms]
$ export KISMETAPIKEY=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
# trace will incur log "vomit", debug being most useful to a programmer, info might be useful to the user,
# warn, error and off being self-explanatory,
$ export ESP32_SOURCE_LOG=trace
$ kismet_esp32_source
# or
$ KISMETURL='http://localhost:2501/' KISMETAPIKEY='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' kismet_esp32_source
- Binary depends on libudev on linux hosts, which the majority of linux distributions have installed by default. Alpine has issues. This will be remidiated in a future release.