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 these steps:
- We can perform DuckHunter HID attacks by opening the NetHunter app.
- In the menu, choose the DuckHunter HID attacks option.
- The Convert tab is where we can type or load our scripts for execution:

- Let's start by using a simple Hello world! script.
- We open a text editor on any device, then we connect our device and click on the Play button.
- We will see that the following script is automatically typed into the editor:

- There are multiple scripts available...