pentestfunctions / BlueDucky

🚨 CVE-2023-45866 - BlueDucky Implementation (Using DuckyScript) 🔓 Unauthenticated Peering Leading to Code Execution (Using HID Keyboard)
953 stars 162 forks source link

Error: Can't change local name on hci0: Network is down (100) #60

Open alexcazoring opened 1 month ago

alexcazoring commented 1 month ago

Available payloads:

Enter the number that represents the payload you would like to load: 2 Selected payload: /home/kali/BlueDucky-main/payloads/payload_example_1.txt 2024-05-27 15:45:50,483 - INFO - executing 'sudo service bluetooth restart' 2024-05-27 15:45:51,443 - INFO - executing 'sudo hciconfig hci0 name Robot POC' Traceback (most recent call last): File "/home/kali/BlueDucky-main/BlueDucky.py", line 755, in main() File "/home/kali/BlueDucky-main/BlueDucky.py", line 719, in main adapter = setup_bluetooth(target_address, adapter_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/BlueDucky-main/BlueDucky.py", line 615, in setup_bluetooth adapter.set_property("name", "Robot POC") File "/home/kali/BlueDucky-main/BlueDucky.py", line 87, in set_property self._run_command(command) File "/home/kali/BlueDucky-main/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)

coldvisionz commented 1 month ago

hey, can you show output of bluetooth and sudo systemctl status bluetooth commands.