Questions tagged [duckyscript]

Scripting language for "USB Rubber Ducky" attack tool

Duckyscript syntax

Scripting language for "USB Rubber Ducky" attack tool

9 questions
1
vote
1 answer

USB RubberDucky Script Error: Only outputs last Wi-Fi profile, rather than all profiles to text file

I'm creating a basic USB Rubber Ducky script with the intent to save a computer's stored wifi passwords into a text file. I have flashed the USB RubberDucky with TwinDuck and have successfully been able to use it as both a keyboard logger, and mass…
1
vote
1 answer

usb rubber ducky special characters

Is there a way to let your usb rubber ducky know to type special characters like "ü, ö, ä or ß"? Because when I try to compile a rubber ducky script like for example: REM My Rubber Ducky Script STRING ß Then the compiler will give me an error
samnite307
  • 11
  • 3
0
votes
2 answers

Change Network connection from Public to Private powershell oneliner

Im working on a Ducky Script winRM backdoor and to set winRM up, the User must be connected to a network on a Private connection. How can I automate this with powershell commands? Get-NetConnectionProfile shows all the currently connected network. I…
alessio
  • 31
  • 4
0
votes
1 answer

Is there any way to turn the caps lock off with USB Rubber Ducky without me touching the computer?

I am using a USB rubber ducky. I found that if the caps lock on my computer interferes with typing. I want the USB Rubber Ducky to open a youtube URL and it isn't working with caps lock on. Programming my USB to press Caps Lock also doesn't work…
0
votes
1 answer

Running Ducky Script in Arduino with German Keyboard Layout?

I want to use my Arduino Micro as HID. I'm using the libary called Keyboard.h. If i run my script and I let the script type letters like "z" or "y" or any special letters, it types completly different letters. Is this because of my Keyboard layout…
Timo 42
  • 7
  • 3
0
votes
1 answer

How to put a parenthesis at the end of a line

I decided to try to do a code to automatically convert a ducky code into a python code (at least at a simple level), and the first thing I wanted to do was changing the STRING in the ducky code to python using pynput. The equivalent of STRING is…
MKing
  • 11
  • 1
0
votes
0 answers

I messed up really bad! I need to undo some ducky scripts

So I thought it would be fun to turn my Arduino Pro Micro into a bad usb rubber ducky. Wrong, It is not so fun. Stupid me ran this code that created an administrative user and hid it from other accounts. I am in way over my head and also am a…
Alex z
  • 33
  • 8
0
votes
2 answers

What is the USB Rubber Ducky escape character for " (double quote)?

I have a script like this: REM *** Define DUCKY drive as %duck% STRING for /f %d in ('wmic volume get driveletter^, label ^| findstr "DUCKY"') do set duck=%d ENTER with more code (which isn't important for now) saved to the USB Rubber Ducky. But…
M. Simon
  • 101
  • 1
  • 2
  • 14
-1
votes
1 answer

I am trying to print "echo \"-----BEGIN CERTIFICATE-----\" >> text.txt" using Arduino viva the `keyboard.print();` function the " turn to @

I am trying to use the keyboard function to print a string out through the keyboard in this case I am trying to print the below statement. CODE ____ Keyboard.begin() Keyboard.print("echo \"-----BEGIN CERTIFICATE-----\" >> text.txt"); //--> Arduino …
Nawad Aga
  • 11
  • 2