-
Notifications
You must be signed in to change notification settings - Fork 732
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
NetHunter OK, /system/xbin/hid-keyboard not found [Mi 9T] #38
Comments
Are you using an official release of NetHunter from https://www.kali.org/get-kali/#kali-mobile ? Try this command to test whether you have the file but it was installed at an alternative location:
Note that if you are using NetHunter Lite or NetHunter Rootless you won't have HID support, which is required for that file. |
Yes, I have full Nethunter release official, my phone appear in the list. I can actually use hid functions with official Nethunter App and an app called USB Keyboard from Nethunter Store. I actually found a hid-keyboard file using Android terminal (so not Kali terminal) in /data/data/com.offsec.nethunter/files/scripts/bin but I cant use it with Android-brute-force because is not the Kali terminal, but typeing "echo a | /data..." it work |
Could you try editing the
I could guess that the difference between the Android terminal and Kali terminal is the PATH variable. You could check this with |
Can't do this, because Android-brute-force is downloaded in Kali terminal, and Kali cannot access Android internal data |
If the latest version of NetHunter has changed the installed location of hid-keyboard then I will need to change my script. In the meantime you could try these commands from the Android terminal as the root user:
|
For personal reason I had to wipe, but I will try this when I can. I don't know if it will work, because even if I copy hid-keyboard in the new xbin folder, Android-brute cannot access that folder because your script is in kali terminal and not in Android terminal, and Kali cannot access in Android data. I will try anyway 👍 |
I'm sorry but I don't understand why there is any difference between the two terminal apps. Are you using the root user account? I may have to install the latest version of NetHunter to know what you are experiencing. |
Android contains Kali's data. As Kali contained IN Android, Kali cannot go up and reach the hid-keyboard file, with Kali I cannot literally go behind the home folder and reach hid-keyboard. With Android I can go in /data/local/nh system/kalifs/home/kali/Desktop/Android-PIN... but cannot execute the script |
Sorry if this is difficult, Im not even good with English, its not easy |
There are lots of people in the world who do not speak English as their native language. I'm happy that you want to try my code. |
Cannot copy, for error "Read-only file system" |
I can help you with this erro :-) |
I have exactly the same error as OT, on Mi 9T Pro, mind helping me please (hidg0 and hidg1 are available, but hid-keyboard is not found)? :) |
Test me on telegram @dunno_whoami |
Any Solution for hid-keyboard out of reach? Just copying it to /system/xbin/hid-keyboard doesn't work for me, I have numbers printed on the terminal nothing else and typed into adnroid |
For me I solved this by changing the path to /system/bin/hid in the config file. Err, nevermind, this just results in a different error. The hid-keyboard file doesn't appear to be anywhere in this distro. Like the others, the USB keyboard app works perfectly, sending key strokes remotely. I just can't get this script to work because hid-keyboard isn't present. Any workaround to have it go through the same interface as whatever USB keyboard uses? |
Try copying For |
How can I use/run this binary from chroot. During normal startup, an error is generated that the file was not found, although it is located. ./hid-keyboard Please don't say anything right now. Check the path where you started it. Is there support for HID and blah blah blah. I have it all and it works. I need to run this binary from chroot. That's why I'm asking you because the usual methods don't work. |
Well does not work for me on Nethunter for OnePlus 3, because But you can copy the I first copied it with root terminal from And then in Kali chroot terminal I copied it from
Then just edit the config file And it should work. |
Could you please send me the executable file? Because I didn't find it on my Nothing Phone NetHunter |
I am using kali linux in vm there i cant find the hid-keyboard path can you help me to locate it |
It's located in a forum dedicated to Kali Linux. We are discussing Kali Nethunter, which runs on Android. |
This is my solution for In the nethunter phone start NH Terminal. By default it opens chrooted shell. We need additional android shell. Tap on 3 dots -> New Session -> New Root Shell. In Android Root Shell execute:
Now hid-keyboard should work you can test it by simply executing:
It is good idea to update
Then after phone reboot after entering chrooted terminal just enter bash: |
@pablocool it's works perfectly! I'm working on Nokia 6.1 with Lineage 18.1 (last Nethunter in full version for this phone). I had to adjust mount commands to:
and then to @urbanadventurer Could you please add this comment to wiki or something? Or do you accept PR with .md file with this description? |
NetHunter succesfully installed, HID Attack from NetHunter app works very well.
/system/xbin/hid-keyboard not found when using Android-PIN-Bruteforce, where is this file?
The text was updated successfully, but these errors were encountered: