-
Notifications
You must be signed in to change notification settings - Fork 282
Description
yeah getting issue in kali 2025.2 while selecting and executing payload from the options so , i followed all steps as per given in guide , pybluez and bdaddr is also installed as per steps described , now when running the tool after cloning and ran it without sudo permission , it scaned perfectly and then when i wanted to select the payload option from the menu : say payload1.txt it crashed it asks for sudo password , password given now it says following :
Available payloads:
[1]: payload_example_1.txt
[2]: wp_payload.txt
[3]: payload_example_2.txt
Enter the number that represents the payload you would like to load: 1
Selected payload: /home/sam/git/BlueDucky/payloads/payload_example_1.txt
2025-07-19 21:40:51,090 - INFO - executing 'sudo service bluetooth restart'
[sudo] password for mak:
2025-07-19 21:40:54,177 - INFO - executing 'sudo hciconfig hci0 name Robot POC'
Traceback (most recent call last):
File "/home/sam/git/BlueDucky/BlueDucky.py", line 755, in
main()
~~~~^^
File "/home/sam/git/BlueDucky/BlueDucky.py", line 719, in main
adapter = setup_bluetooth(target_address, adapter_id)
File "/home/sam/git/BlueDucky/BlueDucky.py", line 615, in setup_bluetooth
adapter.set_property("name", "Robot POC")
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/home/sam/git/BlueDucky/BlueDucky.py", line 87, in set_property
self._run_command(command)
~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/home/sam/git/BlueDucky/BlueDucky.py", line 81, in _run_command
raise ConnectionFailureException(f"Failed to execute command: {' '.join(command)}. Error: {result.stderr}")
ConnectionFailureException: Failed to execute command: sudo hciconfig hci0 name Robot POC. Error: Can't change local name on hci0: Network is down (100)
As after selecting the payload the bluetooth also gets turned off and might causing this error , so i tried to install "requiremnts,txt" is any dependencies might be missing , and faced first error regarding pydbus install error "not-found", as pydbus has built from source at first so commented it out and second error regarding "error: PyObjC requires macOS to build" so commented it to as its for macos not linux ,so now ran it in sudo to install requirments.txt and it sucessfully installed now i ran again but still same error with bluetooth getting closed during payload selection . Any sollution ??