Open Vamerio opened 6 months ago
Script to unblock and restore Bluetooth after a crash of BlueDucky.py
echo "Restoring Bluetooth..." Unblock the Bluetooth device
if ! sudo rfkill unblock bluetooth; then echo "Failed to unblock Bluetooth device." exit 1 fi Bring up the Bluetooth interface
if ! sudo hciconfig hci1 up; then echo "Failed to bring up Bluetooth interface." exit 1 fi Restart the Bluetooth service
if ! sudo systemctl restart bluetooth; then echo "Failed to restart Bluetooth service." exit 1 fi Wait for the service to restart
sleep 5 Use bluetoothctl to configure Bluetooth
{ echo "power on" sleep 1 echo "agent off" sleep 1 echo "agent on" sleep 1 echo "default-agent" sleep 1 echo "scan on" sleep 5 } | bluetoothctl
echo "Bluetooth restored successfully." Delay before running the Python script
sleep 5 Run the Python script
if ! sudo python3 BlueDucky.py; then echo "Failed to run BlueDucky.py." exit 1 fi
exit 0
sudo nano restore_bluetooth.sh
sudo chmod +x restore_bluetooth.sh
Hey which Bluetooth adaptor do you use ?
Hey which Bluetooth adaptor do you use ?
ud100
Hey which Bluetooth adaptor do you use ?
ud100
Sorry for the late response,the name of the adaptor is Cambridge Silicon Radio Ltd.
Can you send us an Amazon link to this adaptor ?
Στις Παρ 7 Ιουν 2024 στις 5:52 μμ ο χρήστης Vamerio < @.***> έγραψε:
Hey which Bluetooth adaptor do you use ?
ud100
Sorry for the late response,the name of the adaptor is Cambridge Silicon Radio Ltd.
— Reply to this email directly, view it on GitHub https://github.com/pentestfunctions/BlueDucky/issues/52#issuecomment-2155007039, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO36KNHYSBBA2YG2IBB6Q7TZGHCLJAVCNFSM6AAAAABICTSA76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVGAYDOMBTHE . You are receiving this because you commented.Message ID: @.***>
Delete line 615 in the code. That line tries to change the name of the adapters, which causes the error. After deleting it, the script worked for me
After I choose the payload, It shows this