Open RwOnke opened 5 months ago
Same problem
@SonofShiva @RwOnke The files are in the wrong directory:
1: go to ~/pybluez/BlueDucky/utils
2:Copy the Files in the right folder sudo cp magic_keyboard_hid.py menu_functions.py _pycache_ register_device.py ~/pybluez/BlueDucky
3: go to ~/pybluez/BlueDucky
4: Edit the BlueDucky.py with:sudo mousepad BlueDucky.py
5: Edit line 7 & 8 remove the "utils." in each line and SAVE the File
It should look like this :
Line 7:from menu_functions import (main_menu, read_duckyscript, run, restart_bluetooth_daemon, get_target_address) Line 8: from register_device import register_hid_profile, agent_loop
6: It should work now ........
fixes #30 @pentestfunctions Merge pull request This is completed
Hey that worked, thank you very much
@SonofShiva @RwOnke The files are in the wrong directory: 1: go to
~/pybluez/BlueDucky/utils
2:Copy the Files in the right foldersudo cp magic_keyboard_hid.py menu_functions.py _pycache_ register_device.py ~/pybluez/BlueDucky
3: go to~/pybluez/BlueDucky
4: Edit the BlueDucky.py with:sudo mousepad BlueDucky.py
5: Edit line 7 & 8 remove the "utils." in each line and SAVE the File It should look like this : Line 7:from menu_functions import (main_menu, read_duckyscript, run, restart_bluetooth_daemon, get_target_address) Line 8: from register_device import register_hid_profile, agent_loop
6: It should work now ........fixes #30 @pentestfunctions Merge pull request This is completed
Hey there, This worked well for me but after reboot it seems to have broken my internal bluetooth adapter, my bluetooth mouse doesnt pair and blueducky doesn't find any bluetooth devices, hcitool dev shows no devices either. Any idea on how to fix this??
@RwOnke Check with journalctl | grep "bluetooth"
for error messages related to bluetooth. In general you can check with journalctl in Terminal for Errors and get a hint what to look for. Difficult to say.
Try running these in terminal to see if it will wake your bluetooth up:
sudo systemctl enable bluetooth.service
sudo systemctl start bluetooth.service
python3 BlueDucky.py Traceback (most recent call last): File "/root/BlueDucky/BlueDucky.py", line 7, in
from utils.menu_functions import (main_menu, read_duckyscript, run, restart_bluetooth_daemon, get_target_address)
ModuleNotFoundError: No module named 'utils.menu_functions'; 'utils' is not a package