In this recipe, we will look at a different type of HID attack, known as DuckHunter HID. This allows us to convert infamous USB Rubber Ducky scripts into NetHunter HID attacks.
Can I charge my phone?
How to do it...
To perform DuckHunter HID attacks follow the given steps:
- We can perform them by opening the NetHunter app.
- In the menu, we choose DuckHunter HID attacks.
- The Convert tab is where we can type or load our scripts for execution:
![](https://static.packt-cdn.com/products/9781787121829/graphics/assets/d15cac69-980b-450b-9400-8e5209b004eb.png)
- Let's start by using a simple Hello world! script.
- We open a text editor on any device and then we connect our device and click on the play button.
- We will see that this is automatically typed in the editor:
![](https://static.packt-cdn.com/products/9781787121829/graphics/assets/11ac900d-44c1-4e80-9c35-5b9b58ac556a.png)
- There are multiple scripts available on the internet that can be used...