BlueSpy icon indicating copy to clipboard operation
BlueSpy copied to clipboard

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

Open Electro-Gamma opened this issue 2 years ago • 3 comments

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')


Electro-Gamma avatar Apr 01 '24 19:04 Electro-Gamma

Same here

alternativehacker avatar May 15 '24 14:05 alternativehacker

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.

jesusgomezmoreno avatar May 20 '24 10:05 jesusgomezmoreno

Same problem, no Iphone. Headphones.

hisbalah avatar Jul 20 '24 13:07 hisbalah