pentestfunctions / BlueDucky

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

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

Open alexcazoring opened 6 months ago

alexcazoring commented 6 months 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 6 months ago

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