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:
![](https://static.packt-cdn.com/products/9781789952308/graphics/assets/233c41ac-ff39-4cd9-8f81-c56455831ffa.png)
- 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:
![](https://static.packt-cdn.com/products/9781789952308/graphics/assets/fbc9f17e-e764-4807-aaf0-9aa5d92343ad.png)
- There are multiple scripts available...