RubberNugget
Search…
Live Control
Run Commands live
The RubberNugget supports live command both through a web interface and via a web API.

Web Interface

To access the web interface and run payloads live, connect to the RubberNugget's Wi-Fi access point and visit http://192.168.4.1/create.html
From this page, you can create, run, and save payloads to your RubberNugget.

Python Script

If you want to use a scrip to send DuckyScript commands or files to your RubberNugget, the following scripts will help you get started.
The following simple Python script can be used to send individual DuckyScript commands from your computer while connected to the RubberNugget's Wi-Fi network.
1
import requests, base64
2
url = 'http://192.168.4.1/runlive.php'
3
while True:
4
pew = input("Enter command:\n")
5
try: requests.post(url, base64.b64encode(pew.encode()))
6
except: print("Sent")
Copied!
If you want to sent entire DuckyScript payloads, you can use the following short script to send .TXT files.
1
import requests, base64
2
url = 'http://192.168.4.1/runlive.php'
3
4
while True:
5
pew = input("Enter path to Duckyscript File:\n")
6
file = open(pew, "r")
7
payload = file.read()
8
try: requests.post(url, base64.b64encode(payload.encode()))
9
except: pew = input("Sent, press enter to send another:\n")
Copied!