Comments (22)
Try copying
/data/data/com.offsec.nethunter/files/scripts/bin/hid-keyboard
to/system/xbin/
using any root explorer. Worked for me in oneplus nord.For
/system
partition read-only error use custom os. Nowadays by default all OS comes by read-only portion for /system.
Well does not work for me on Nethunter for OnePlus 3, because /system/
is read-only.
But you can copy the hid-keyboard
to another location and it will work.
I first copied it with root terminal from /data/data/com.offsec.nethunter/files/scripts/bin/hid-keyboard
to /mnt/sdcard/Downloads
.
And then in Kali chroot terminal I copied it from /sdcard/Downloads/
to /opt/
If you run into permission erros make sure it is executeable.
chmod +x /opt/hid-keyboard
Then just edit the config file vim /opt/Android-Pin-Bruteforce/config
and change the location of hid-keyboard to /opt/hid-keyboard
.
And it should work.
from android-pin-bruteforce.
Could you try editing the config
file to include the following line:
HID_KEYBOARD=/data/data/com.offsec.nethunter/files/scripts/bin/hid-keyboard
I could guess that the difference between the Android terminal and Kali terminal is the PATH variable. You could check this with echo $PATH
.
from android-pin-bruteforce.
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:
su
mkdir -p /system/xbin/
cp /data/data/com.offsec.nethunter/files/scripts/bin/hid-keyboard /system/xbin/hid-keyboard
chmod 755 /system/xbin/hid-keyboard
exit
from android-pin-bruteforce.
Try copying /data/data/com.offsec.nethunter/files/scripts/bin/hid-keyboard
to /system/xbin/
using any root explorer. Worked for me in oneplus nord.
For /system
partition read-only error use custom os. Nowadays by default all OS comes by read-only portion for /system.
from android-pin-bruteforce.
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:
find / -name hid-keyboard 2>/dev/null
Note that if you are using NetHunter Lite or NetHunter Rootless you won't have HID support, which is required for that file.
from android-pin-bruteforce.
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
from android-pin-bruteforce.
Can't do this, because Android-brute-force is downloaded in Kali terminal, and Kali cannot access Android internal data
from android-pin-bruteforce.
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 👍
from android-pin-bruteforce.
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.
from android-pin-bruteforce.
Android contains Kali's data.
Android contains hid-keyboard file.
Kali contains /dev/hidgX.
Android-PIN-bruteforce is downloaded in Kali (/home/kali/Desktop/)
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
from android-pin-bruteforce.
Sorry if this is difficult, Im not even good with English, its not easy
from android-pin-bruteforce.
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.
from android-pin-bruteforce.
Cannot copy, for error "Read-only file system"
from android-pin-bruteforce.
I can help you with this erro :-)
from android-pin-bruteforce.
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)? :)
from android-pin-bruteforce.
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
from android-pin-bruteforce.
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
from android-pin-bruteforce.
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?
from android-pin-bruteforce.
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.
from android-pin-bruteforce.
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 please send me the executable file? Because I didn't find it on my Nothing Phone NetHunter
from android-pin-bruteforce.
I am using kali linux in vm there i cant find the hid-keyboard path can you help me to locate it
from android-pin-bruteforce.
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.
from android-pin-bruteforce.
Related Issues (20)
- HID device (/dev/hidg0) not found HOT 2
- HID USB device Not Ready HOT 2
- [FAIL] hid-keyboard executable (/system/xbin/hid-keyboard) not found. Hint: You can configure an alternative location for this file with the HID_KEYBOARD variable in the config file.Locked phone: XXX, Nethunter phone: XXX - Bug description HOT 2
- Locked phone: XXX, Nethunter phone: Xioami Redme 9 - hid usb not able HOT 3
- Hid device HOT 1
- Tablet support? HOT 1
- does it work on cubot kingkong3? HOT 1
- Locked phone: XXX, Nethunter phone: XXX - Bug description HOT 5
- [FAIL] HID device (/dev/hidg0) not found HOT 10
- Locked phone: POCO F3, Nethunter phone: Sony Xperia Z1 - Sending custom return buttons HOT 6
- Stop BF when it finds correct PIN? HOT 1
- hid-keyboard: cannot execute: required file not found. HOT 2
- Problems with nethunter rootless HOT 1
- Too many attempts timer HOT 5
- Help HOT 1
- Locked phone: XXX, Nethunter phone: XXX - Bug description HOT 1
- How to get it running on Kali on a Laptop via USB-C
- Tshs phone brutefukrce HOT 1
- Locked phone: XXX, Nethunter phone: XXX - Bug description
- Blu Smartphone G60 | Nethunter phone: Oneplus 7 pro - PIN not submitting by "enter" key HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-pin-bruteforce.