Skip to content

Instantly share code, notes, and snippets.

@kadin2048
Created June 24, 2022 06:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kadin2048/a72b2d5c0c41dbfd2c8c046438e21863 to your computer and use it in GitHub Desktop.
Save kadin2048/a72b2d5c0c41dbfd2c8c046438e21863 to your computer and use it in GitHub Desktop.
Error log from bettercap 2.32.0 on Debian Bullseye amd64
$ sudo bettercap -version
bettercap v2.32.0 (built for linux amd64 with go1.15.15)
kevin@thinkpad:~$ sudo service bluetooth restart
kevin@thinkpad:~$ sudo bettercap -debug
192.168.1.0/24 > 192.168.1.123 » ble.recon on
192.168.1.0/24 > 192.168.1.123 » [01:36:17] [sys.log] [dbg] ble.recon starting discovery ...
192.168.1.0/24 > 192.168.1.123 » [01:36:17] [sys.log] [dbg] ble.recon state changed to PoweredOn
192.168.1.0/24 > 192.168.1.123 » [01:36:17] [sys.log] [dbg] ble.recon started devices pruner with ttl 30s
192.168.1.0/24 > 192.168.1.123 » [01:36:17] [ble.device.new] new BLE device detected as 43:FE:CD:XX:XX:XX (Apple, Inc.) -68 dBm.
192.168.1.0/24 > 192.168.1.123 » [01:36:17] [ble.device.new] new BLE device detected as 41:74:0E:XX:XX:XX (Google) -68 dBm.
[ More ble.device.new lines trimmed here ]
192.168.1.0/24 > 192.168.1.123 » ble.recon off
[01:38:27] [mod.stopped] ble.recon
[01:38:27] [sys.log] [dbg] ble.recon [gatt.log] hci.Close()
[01:38:27] [sys.log] [inf] ble.recon stopping scan ...
[01:38:27] [sys.log] [dbg] ble.recon stopping device
[01:38:27] [sys.log] [dbg] ble.recon [gatt.log] bytepool: send on closed channel
[01:38:27] [sys.log] [dbg] ble.recon [gatt.log] got nil buffer, breaking mainLoop
[01:38:27] [sys.log] [dbg] ble.recon [gatt.log] mainLoop exited
[01:38:27] [sys.log] [dbg] ble.recon [gatt.log] closing &{9 [{9 1 0}] 0 hci0 0xc00024f380 0xc00024f388}
[01:38:27] [sys.log] [dbg] ble.recon [gatt.log] hci.mainLoop stopped
[01:38:27] [sys.log] [dbg] ble.recon [gatt.log] linux.device.Close()
192.168.1.0/24 > 192.168.1.123 » [01:38:27] [sys.log] [dbg] ble.recon resetting device instance
192.168.1.0/24 > 192.168.1.123 » [01:38:27] [sys.log] [dbg] ble.recon state changed to PoweredOff
192.168.1.0/24 > 192.168.1.123 » [01:38:27] [sys.log] [dbg] ble.recon gatt device closed
192.168.1.0/24 > 192.168.1.123 » [01:38:27] [sys.log] [dbg] ble.recon module stopped, cleaning state
192.168.1.0/24 > 192.168.1.123 » ble.show
┌─────────┬───────────────────┬─────────────────────────────┬──────────────────────────────────────────────┬─────────┬──────────┐
│ RSSI ▴ │ MAC │ Vendor │ Flags │ Connect │ Seen │
├─────────┼───────────────────┼─────────────────────────────┼──────────────────────────────────────────────┼─────────┼──────────┤
│ -59 dBm │ 33:5e:d9:d3:XX:XX │ │ │ ✖ │ 01:38:27 │
│ -59 dBm │ 41:74:0e:f0:XX:XX │ Google │ │ ✖ │ 01:38:27 │
│ -59 dBm │ 43:fe:cd:4e:XX:XX │ Apple, Inc. │ LE + BR/EDR (controller), LE + BR/EDR (host) │ ✔ │ 01:38:27 │
│ -59 dBm │ e9:46:02:87:XX:XX │ Apple, Inc. │ │ ✖ │ 01:38:26 │
│ -66 dBm │ 64:e7:d8:68:XX:XX │ Samsung Electronics Co.,Ltd │ LE + BR/EDR (controller), LE + BR/EDR (host) │ ✔ │ 01:38:27 │
│ -68 dBm │ 88:6b:0f:45:XX:XX │ Bluegiga Technologies OY │ BR/EDR Not Supported │ ✔ │ 01:38:26 │
│ -88 dBm │ c7:a8:4a:95:XX:XX │ Apple, Inc. │ │ ✖ │ 01:38:15 │
│ -90 dBm │ 4b:b7:ba:f0:XX:XX │ Apple, Inc. │ LE + BR/EDR (controller), LE + BR/EDR (host) │ ✔ │ 01:38:27 │
│ -90 dBm │ 63:be:53:4e:XX:XX │ Apple, Inc. │ LE + BR/EDR (controller), LE + BR/EDR (host) │ ✔ │ 01:37:58 │
│ -95 dBm │ 67:7c:85:b3:XX:XX │ Apple, Inc. │ LE + BR/EDR (controller), LE + BR/EDR (host) │ ✔ │ 01:38:11 │
└─────────┴───────────────────┴─────────────────────────────┴──────────────────────────────────────────────┴─────────┴──────────┘
192.168.1.0/24 > 192.168.1.123 »
192.168.1.0/24 > 192.168.1.123 » ble.enum 88:6b:0f:45:XX:XX
[01:40:25] [sys.log] [dbg] ble.recon initializing device (id:-1) ...
[01:40:25] [sys.log] [dbg] ble.recon [gatt.log] got 1 devices
[01:40:25] [sys.log] [dbg] ble.recon [gatt.log] dev: hci0 up
[01:40:25] [sys.log] [dbg] ble.recon [gatt.log] dev: hci0 reset
[01:40:25] [sys.log] [dbg] ble.recon [gatt.log] dev: hci0 down
[01:40:25] [sys.log] [dbg] ble.recon [gatt.log] dev: hci0 opened
[01:40:25] [sys.log] [dbg] ble.recon [gatt.log] hci.mainLoop started
[01:40:25] [sys.log] [inf] ble.recon connecting to 88:6b:0f:45:XX:XX ...
[01:40:25] [sys.log] [dbg] ble.recon state changed to PoweredOn
[01:40:25] [sys.log] [dbg] ble.recon current device was not cleaned: &{ 2022-06-24 01:38:26.852361662 -0400 EDT m=+162.988276734 Bluegiga Technologies OY -68 0xc000132700 0xc0007268f0 []}
192.168.1.0/24 > 192.168.1.123 » [01:40:27] [sys.log] [dbg] ble.recon [gatt.log] HCI: can't find data for [136 107 15 69 XX XX]
192.168.1.0/24 > 192.168.1.123 » [01:40:30] [sys.log] [war] ble.recon connection timeout
192.168.1.0/24 > 192.168.1.123 » ble.enum 43:fe:cd:4e:XX:XX
[01:42:12] [sys.log] [inf] ble.recon connecting to 43:fe:cd:4e:XX:XX ...
192.168.1.0/24 > 192.168.1.123 » [01:42:17] [sys.log] [war] ble.recon connection timeout
192.168.1.0/24 > 192.168.1.123 » ble.enum 88:6b:0f:45:XX:XX
[01:42:25] [sys.log] [inf] ble.recon connecting to 88:6b:0f:45:XX:XX ...
192.168.1.0/24 > 192.168.1.123 » [01:42:30] [sys.log] [war] ble.recon connection timeout
192.168.1.0/24 > 192.168.1.123 »
192.168.1.0/24 > 192.168.1.123 » quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment