Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FAIL] HID USB device not ready. /data/local/nhsystem/kali-arm64/files/hid-keyboard returned 126 or 127 #116

Open
3bdelrhman-rabie opened this issue Jun 3, 2022 · 2 comments

Comments

@3bdelrhman-rabie
Copy link

When I downloaded Android-pin-bruteforce files on Kali nethunter and modified the config file this err appeared :

./android-pin-bruteforce crack --length 4
Android PIN brute-force :: version 0.1
[INFO] Loading optimised PIN list for 4 digits (optimised-pin-length-4.txt)
[INFO] PIN list contains 10000 PINs
[INFO] Checking environment
[PASS] HID device (/dev/hidg0) found
[PASS] hid-keyboard executable (/files/hid-keyboard) found
[FAIL] HID USB device not ready. /files/hid-keyboard returned 127.
[FAIL] HID USB device not ready. /files/hid-keyboard returned 127.
[FAIL] HID USB device not ready. /files/hid-keyboard returned 127.
^C

Then I tried it on termux but I found the same problem :

./android-pin-bruteforce crack --length 4
Android PIN brute-force :: version 0.1
[INFO] Loading optimised PIN list for 4 digits (optimised-pin-length-4.txt)
[INFO] PIN list contains 10000 PINs
[INFO] Checking environment
[PASS] HID device (/dev/hidg0) found
[PASS] hid-keyboard executable (/data/local/nhsystem/kali-arm64/files/hid-keyboard) found
[FAIL] HID USB device not ready. /data/local/nhsystem/kali-arm64/files/hid-keyboard returned 126.
[FAIL] HID USB device not ready. /data/local/nhsystem/kali-arm64/files/hid-keyboard returned 126.
[FAIL] HID USB device not ready. /data/local/nhsystem/kali-arm64/files/hid-keyboard returned 126.
^C

I'm using Redmi note 10 pro as a NH's device (with a kernel which ducky hid works on) and a termux's device. And the target phone was Redmi note 10 s , and I tried it on Samsung tab a 2016 (I don't think that it supports otg)

@IamCOD3X
Copy link

IamCOD3X commented Jan 9, 2023

Here is the solution https://youtu.be/OoMctGTSQ-A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants