Coder Social home page Coder Social logo

Comments (10)

Duvio avatar Duvio commented on July 18, 2024 1

@urbanadventurer
I didnt try it out yet, but ill do when i can (today - UTC)

from android-pin-bruteforce.

 avatar commented on July 18, 2024 1

@urbanadventurer hid-keyboard from that zip is generic. should also work for him.

from android-pin-bruteforce.

 avatar commented on July 18, 2024

binary.zip
Download the binary zip and extract.
but you need to modify the script to use without kali nethunter

from android-pin-bruteforce.

urbanadventurer avatar urbanadventurer commented on July 18, 2024

I'm interested to learn if this works out of the box or if you need to do anything else first.

from android-pin-bruteforce.

 avatar commented on July 18, 2024

I'm interested to learn if this works out of the box or if you need to do anything else first.

it will surely work without nethunter
but need to modify your script a little bit

i will update you once done editing the script and tried

from android-pin-bruteforce.

urbanadventurer avatar urbanadventurer commented on July 18, 2024

If you just want /system/xbin/hid-keyboard, that's a compiled version of hid_gadget_test.c. This is a small program for testing the HID gadget driver that is included in the Linux Kernel. The source code for this file can be found at https://www.kernel.org/doc/html/latest/usb/gadget_hid.html.

@0x300T provided compiled versions, but if you want to compile your own you can do this.

This worked on my phone, but it might not work on yours:
copy/paste the source code into a file named hid-keyboard.c then execute the following commands:

make hid-keyboard
cp hid-keyboard /usr/local/bin/
chmod +x /usr/local/bin/hid-keyboard
/usr/local/bin/hid-keyboard

In your case you can then update the config file with the new location for the hid-keyboard executable.

# Operating System Environment
KEYBOARD_DEVICE=/dev/hidg0
HID_KEYBOARD=/system/xbin/hid-keyboard

You can download the usb-devices script from https://github.com/gregkh/usbutils/blob/master/usb-devices

By the way, I've just updated the script so that it doesn't require usb-devices to work.

from android-pin-bruteforce.

 avatar commented on July 18, 2024

@urbanadventurer it worked out of the box without kali nethunter.only in su terminal.just had to port bash in /system/bin/ folder.
Screenshot_2021-02-18-11-21-45-809_com offsec nhterm

from android-pin-bruteforce.

Duvio avatar Duvio commented on July 18, 2024

Cannot confirm
There was no hid file in /dev/ for me

from android-pin-bruteforce.

 avatar commented on July 18, 2024

Cannot confirm
There was no hid file in /dev/ for me

kernel support hid?? and did yoy enable hid??

from android-pin-bruteforce.

urbanadventurer avatar urbanadventurer commented on July 18, 2024

Have a look at this https://github.com/pelya/android-keyboard-gadget/blob/master/README.md

I'll close this issue now.

from android-pin-bruteforce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.