Open lkmidas opened 4 years ago
Exact same experience for me.
unfortunately this is a known bug of the gatt library ( http://github.com/bettercap/gatt ) that i forked and tried to fix a bit, but it's still very unstable ... when i started working on the BLE module there was nothing better that supported both linux and mac ... then we lost support with newer macs, so in theory we could just find another library but that'd take some major reworking of the module
unfortunately this is a known bug of the gatt library ( http://github.com/bettercap/gatt ) that i forked and tried to fix a bit, but it's still very unstable ... when i started working on the BLE module there was nothing better that supported both linux and mac ... then we lost support with newer macs, so in theory we could just find another library but that'd take some major reworking of the module
any idea if this is the same issue (not working once then not at all like some people mention), Ubuntu 20.04.3 LTS focal, ran make with "sudo apt-get install libusb-1.0-0-dev" in order to succeed the installation (otherwise couldn't make & start bettcap)
recon works fine, show too but I can't get enum to work. hciconfig is UP RUNNING.
Hope this helps.
Description of the bug or feature request
When I use the latest precompiled binary of bettercap 2.28 (https://github.com/bettercap/bettercap/releases/download/v2.28/bettercap_linux_amd64_v2.28.zip), I can only perform
ble.enum
orble.write
without problems once per execution of bettercap. Further calls to these commands will always hang the program (and may requirehciconfig up/down
to make it works again).Environment
-debug
.ble.enum
,ble.write
.Steps to Reproduce
Expected behavior:
ble.enum
orble.write
can be executed indefinitely per launch.Actual behavior:
ble.enum
orble.write
can only be executed once per launch.