Unlock an Android phone (or device) by bruteforcing the lockscreen PIN. Turn your Kali Nethunter phone into a bruteforce PIN cracker for Android devices! (no root, no adb)
4.01k
stars
724
forks
source link
hid-keyboard: cannot execute: required file not found. #146
I have read through many similar issues about the hid-keyboard binary. For me, the /system/xbin directory did not have the correct binary, so I copied it to /usr/bin (from kali-chroot) as the /system directory was read only for me (Evolution X on Veux). I changed the config to reflect the location of the script, but when I run either the main bruteforce script, or the hid-keyboard script itself, it always returns the same error: bash: /usr/bin/hid-keyboard: cannot execute: required file not found. I have no idea which file it is missing, and for good measure I copied all the files from /data/data/com.offsec.nethunter/files/scripts/bin/ to the same directory as the script, so I'm not sure what is wrong. I even copied the su binary to the same directory, with no luck. The hid0 and hid1 devices are operational, as set through the NetHunter USB Arsenal. I know it isn't a problem with this project, but just the hid-keyboard binary it depends on. Is there any way to satisfy the binary?
To Reproduce
Steps to reproduce the behavior:
Run copied hid-keyboard binary from anywhere in the kali-chroot, or run android-hid-bruteforce diag and see the same result.
Error
Expected behavior
Expected script and binary to run as normal.
Describe the bug
I have read through many similar issues about the hid-keyboard binary. For me, the /system/xbin directory did not have the correct binary, so I copied it to /usr/bin (from kali-chroot) as the /system directory was read only for me (Evolution X on Veux). I changed the config to reflect the location of the script, but when I run either the main bruteforce script, or the hid-keyboard script itself, it always returns the same error:
bash: /usr/bin/hid-keyboard: cannot execute: required file not found
. I have no idea which file it is missing, and for good measure I copied all the files from/data/data/com.offsec.nethunter/files/scripts/bin/
to the same directory as the script, so I'm not sure what is wrong. I even copied thesu
binary to the same directory, with no luck. The hid0 and hid1 devices are operational, as set through the NetHunter USB Arsenal. I know it isn't a problem with this project, but just the hid-keyboard binary it depends on. Is there any way to satisfy the binary?To Reproduce Steps to reproduce the behavior:
hid-keyboard
binary from anywhere in the kali-chroot, or runandroid-hid-bruteforce diag
and see the same result.Expected behavior Expected script and binary to run as normal.