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

Error while executing command "bluetoothctl connect XX:XX:XX:XX:XX:XX" #13

Open
Electro-Gamma opened this issue Apr 1, 2024 · 2 comments

Comments

@Electro-Gamma
Copy link

Electro-Gamma commented Apr 1, 2024

XX:XX:XX:XX:XX:XX is my Phone MAC

┌──(kali㉿kali-raspberry-pi)-[~/Desktop/P_tools/BlueSpy]
└─$ python3 BlueSpy.py -a XX:XX:XX:XX:XX:XX
░█▀▄░█░░░█░█░█▀▀░█▀▀░█▀█░█░█░
░█▀▄░█░░░█░█░█▀▀░▀▀█░█▀▀░░█░░
░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░░░░▀░░
░▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀░
Bluetooth audio recording tool by Tarlogic
[I] Avoiding authentication with XX:XX:XX:XX:XX:XX...
[I] Generating shared key...
[!] Key generated
[I] The device is vulnerable!
[I] Establishing connection...
Traceback (most recent call last):
  File "/home/kali/Desktop/P_tools/BlueSpy/BlueSpy.py", line 94, in <module>
    main()
  File "/home/kali/Desktop/P_tools/BlueSpy/BlueSpy.py", line 78, in main
    connect(target, verbose=args.verbose)
  File "/home/kali/Desktop/P_tools/BlueSpy/core.py", line 97, in connect
    run_and_check(
  File "/home/kali/Desktop/P_tools/BlueSpy/system.py", line 35, in run_and_check
    raise CommandValidationException(cmdline, out)
system.CommandValidationException: ('Error while executing command "bluetoothctl connect XX:XX:XX:XX:XX:XX"', 'Attempting to connect to XX:XX:XX:XX:XX:XX\n[\x1b[0;92mNEW\x1b[0m] Endpoint /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/sep1 \n[\x1b[0;92mNEW\x1b[0m] Transport /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/sep1/fd0 \nFailed to connect: org.bluez.Error.Failed br-connection-unknown\n')


@alternativehacker
Copy link

Same here

@jesusgomezmoreno
Copy link
Collaborator

This seems to be a problem when using bluetoothctl to connect to the device. Can you connect to the device using bluetoothctl? Usually, an iPhone device won't allow other devices to connect to it, and this is not the use case of the PoC.

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

3 participants