Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

HID doesn't work inside of Nethunter app, USB Keyboard works #1240

Open
ktweed opened this issue Jan 6, 2019 · 3 comments
Open

HID doesn't work inside of Nethunter app, USB Keyboard works #1240

ktweed opened this issue Jan 6, 2019 · 3 comments

Comments

@ktweed
Copy link

ktweed commented Jan 6, 2019

Device:

Galaxy S4 (jfltexx)

OS version (KitKat/Lollipop/Marshmallow/Nougat):

6.0.1 Marshmallow (Lineage)
Root through Magisk 18.0

Built from repo (date and build command) or downloaded from website (links):

Built with Nethunter installer today (January 6th, 2019) with this command:
./build.py -d jfltexx --marshmallow --rootfs full

Output of cat /proc/version in adb shell or NetHunter Terminal:

Linux Version 3.4.112-kali (semsevens@Dark) (gcc version 4.9.4 20150629 (prerelease) (crosstool-NG 1.20.0 - Linaro GCC 2015.06 - Cortex-A15) ) #2 SMP PREEMPT Sun Nov 13 02:34:41 CST 2016

Issue:

With the Nethunter app version 2018.01.01, HID Attacks and DuckHunter HID don't work. With HID Attacks I get the following toasts:

Nethunter was granted Superuser rights

Attack launched...

Attack execution ended.

Nethunter was granted Superuser rights

When I try DuckHunter HID I get these:

Launching Attack

Nethunter was granted Superuser rights

Attack launched!

Nethunter was granted Superuser rights

However, the USB keyboard app works fine, with keyboard and mouse working. USB HID support is enabled in the main screen, and 2 devices show up (/dev/hidg0 and /dev/hidg1). However, the HID toggle turns itself off occasionally. These 2 devices do show up in Device Manager on Windows 10 1809 as 2 separate "USB Input Device" entries.

If anyone knows how I could go about fixing this, that would be awesome.

Thanks!
-- ktweed

@yesimxev
Copy link

yesimxev commented Feb 25, 2019

Please paste the result if you have the files in here
ls /sdcard/nh_files/modules/

@ktweed
Copy link
Author

ktweed commented Feb 26, 2019

Thanks for helping, here's what I get

$ ls /sdcard/nh_files/modules
duckconvert.txt duckhunter.py filetohid.py keyseed.py

@yesimxev
Copy link

I see, not sure if this causes, but try to compile those .py-s. Hopefully the missing compiled keyseed file is your problem
python -m compileall /sdcard/nh_files/modules

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

No branches or pull requests

2 participants