Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknow problem about ble-replay #13

Open
Taolaw opened this issue Sep 14, 2019 · 1 comment
Open

unknow problem about ble-replay #13

Taolaw opened this issue Sep 14, 2019 · 1 comment

Comments

@Taolaw
Copy link

Taolaw commented Sep 14, 2019

Follow the instructions to perform the results:

root@kali:~# ble-replay -i 0 -d AC:9A:22:C4:84:E8 -p '/root/tmp/btsnoop_hci.log' -r
loading file
Btsnoop capture file version 1, type 1002
DEBUG:blesuite.connection_manager:creating central
DEBUG:blesuite.pybt.stack:Trying to set reuseaddr
DEBUG:blesuite.pybt.stack:Settings ins reuse

The program stopped here and there was no response. I used the wireshark to capture the Bluetooth port and only sent a hci_cmd package. The content is: 01 09 10 00, I don't know what the problem is. I tried https://github.com/nccgroup/BLE-Replay this tool, but the effect is even worse, as shown below:

root@kali:~/code/BLE-Replay-master# python ble-replay.py -h
Traceback (most recent call last):
  File "ble-replay.py", line 1, in <module>
    import hci_parser
  File "/root/code/BLE-Replay-master/hci_parser.py", line 3, in <module>
    import util
  File "/root/code/BLE-Replay-master/util.py", line 4, in <module>
    from blesuite.bleServiceManager import bleServiceWriteToHandle
ImportError: No module named bleServiceManager

I used grep to search the directory of BLEsulte, and did not find the string about bleServiceManager. Is this the reason for the version aid change? Is this class still useful?

I hope you can see, thank you, I urgently need to do some testing, I hope BLEsuite can help me.

@MrARM
Copy link

MrARM commented Sep 16, 2019

This isn't the right place to post this issue as this isn't BLE-Replay, but I also stumbled upon this issue and found a solution.

BLE-Replay was built on BLESuite 1.0.0(Based on the commit dates), so you will need to downgrade to that version. You can do that by resetting your git repo to the last commit 1.0 had.
git reset --hard 58574a2e48, then reinstall and try again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants