 
                             HID attack using Android 
Using Android as Rubber Ducky against Android. This is not a new technique, just a demo how to perform HID attack using Android instead of rubber ducky. For targeted Android dii
                                is not necessary to be rooted, have ADB/USB debugging enabled and device authorized, since attacker’s smartphone behaves as connected keyboard.
 How to prevent this happening
 $ charge you smartphone using your own adapter
$ use none trivial PIN or password lockscreen protection 
 $ use mobile security software that will detect and prevent
                                from launching payloads
                                
                            
Prerequesite
$ rooted Android with HID kernel support (e.g. NetHunter ROM)
$ OTG cable
 How to prevent this happening
 $ charge you smartphone using your own adapter
$ use none trivial PIN or password lockscreen protection 
 $ use mobile security software that will detect and prevent
                                from launching payloads
                            
 Script info 
This is custom script, which might not work on your testing case scenario. Because of that, you must play around with pressed keys that are sent to targeted device. Website with my testing payload
                                is not active anymore. List of all possible keys can be found on the link below.
 Script info 
This is custom script, which might not work on your testing case scenario. Because of that, you must play around with pressed keys that are sent to targeted device. Website with my testing payload
                                is not active anymore. List of all possible keys can be found on the link below.
 Execute command 
bash hid_attack
 How to flash custom ROM with HID support 
                                https://github.com/pelya/ android-keyboard-gadget
                            
 Brute-force pin using Android as HID
                                https://github.com/pelya/ android-keyboard-gadget
                            
 List of all keys 
                                https://github.com/anbud/ DroidDucky/blob/master /droidducky.sh