BLE SMP packets sniffing using scapy python

49 views Asked by At

SMP packet i want to sniff I want to sniff SMP packets from a bluetooth socket using the python scapy library or using another tool. I expect to use such a function on Windows, but I don’t know if this is possible even on Linux. Please tell me what I can do to achieve my goal

I was able to sniff such packets using the usual wireshark launch on Linux and on Windows using btvs.exe. I also saw that using scapy on Linux you can sniff HCI packets

So, to collect SMP pascket using wireshark on linux i just opended wireshark and started sniffing, connected to BLE device. To collect HCI packets using scapy i did next: scapy Then i just copy it to pcap using "wrpcap("/tmp/bluetooth.pcap", pkts)" On windows i collected SMP by ".\btvs.exe -Mode Wireshark" in powershell

0

There are 0 answers