Skip to content

Some problem with "ble.recon on" (kali) #1095

@WilliamL71Oi

Description

@WilliamL71Oi

» panic: runtime error: slice bounds out of range [2:0]

goroutine 164 [running]:
github.com/bettercap/gatt.(*Advertisement).unmarshall(0xc000179e10, 0xc00055dd40, 0x1a, 0x1a, 0xc00050ae86, 0xc00050aee8)
/go/pkg/mod/github.com/bettercap/gatt@v0.0.0-20210514133428-df6e615f2f67/adv.go:2013 +0x1465
github.com/bettercap/gatt.(*device).Init.func3(0xc0004caaa0)
/go/pkg/mod/github.com/bettercap/gatt@v0.0.0-20210514133428-df6e615f2f67/device_linux.go:97 +0x6d
github.com/bettercap/gatt/linux.(*HCI).handleAdvertisement(0xc0006d8000, 0xc000834003, 0x64, 0xffd)
/go/pkg/mod/github.com/bettercap/gatt@v0.0.0-20210514133428-df6e615f2f67/linux/hci.go:319 +0x4f4
created by github.com/bettercap/gatt/linux.(*HCI).handleLEMeta
/go/pkg/mod/github.com/bettercap/gatt@v0.0.0-20210514133428-df6e615f2f67/linux/hci.go:432 +0x190

kali:
uname -a
Linux kali 6.6.15-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.6.15-2kali1 (2024-04-09) x86_64 GNU/Linux

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions