Skip to content

TheOnlySyntax/PI-PICO-WIFI-DUCKY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PicoWDucky

Setup for Raspberry Pi Pico W to make a Wifi Duck.

This project is only working for Raspberry Pi Pico W!

What is Wifi Ducky?

USB Rubber Ducky where you can run payloads from iternet

Key Features

  • Minimal Setup.
  • Simple and clean webpage for type mnemonics.
  • Run Button - Run typed mnemonics.
  • Schedule - Schedule run.
  • Store on Pico - Store payloads on Pico
  • Upload Button - Upload .txt files which contain mnemonics to run.
  • Save Button - Save typed mnemonics on the system.
  • Clear Button - Clears the text area.

OS Support

  • Windows 10
  • Android

Installation and Setup of Circuit Python

  1. Download Latest Circuit Python .uf2 file for Raspberry P i Pico W - here
    • Latest version is 9.1.0.
  2. Connect Raspberry Pi Pico W with a USB cable.
  3. Press and hold the BOOTSEL button and connect to the PC/Laptop.
    • When it connects, then Raspberry Pi Pico W show as a removable storage device named RPI-RP2.
    • When RPI-RP2 is showing, then release the BOOTSEL button.
  4. Copy the .uf2 file in the RPI-RP2.
    • When it is copied, then it disconnects automatically and reconnect as CIRCUITPY.
    • Means circuit python is successfully flashed in the Raspberry Pi Pico W.
  5. Done! Now, Raspberry Pi Pico W is ready to use as a Wifi Duck.

CIRCUITPY Directory Structure

  • CIRCUITPY/
    • lib/
      • adafruit_hid
      • adafruit_httpserver
    • code.py
    • index.html

Mnemonic Table

Mnemonics Description Example
DELAY It add time in the code.
Time is in milliseconds.
1000 ms = 1 second.
WAIT 1000
STRING It add text want to type in the code. TYPE Hello World!
LOOP It runs commands for a certain number of times.
Syntax is LOOP number-of-times commands
LOOP 3
TYPE Hello World!
EXIT

LOOP 4
TAB
EXIT

LOOP 1
CTRL S
EXIT

LOOP 1
CTRL SHIFT N
EXIT
INF It run commans infinitely.
Syntax is INF commands
INF
TYPE Hello World!
EXIT

INF
TAB
EXIT
REM (#) REM This is a comment
STRING_DELAY It types text with a delay between each character. You can specify the delay in milliseconds. STRING_DELAY Hello World! 100 (Types "Hello World!" with 100 ms delay between each character)
HOLD It simulates holding down a key. You can specify a key to hold down. HOLD SHIFT
RELEASE It simulates releasing a key that was previously held down. RELEASE SHIFT
END_LOOP It ends a loop. Can be used with LOOP or INF commands to stop repetitive actions. END_LOOP
DEFINE It defines a variable or constant to be used later in the script. DEFINE VAR1 Hello (Defines a variable VAR1 with value "Hello")
VAR It inserts the value of a variable into the script. TYPE VAR1 (Types the value of VAR1, in this case "Hello")
REPEAT It repeats the last action a specific number of times. REPEAT 5 TYPE Hello (Types "Hello" 5 times)
IF It allows conditional execution. You specify a condition to check before running the next commands. IF VAR1 == Hello TYPE Condition Met (Checks if VAR1 equals "Hello", then types "Condition Met")
ELSE It specifies an alternate set of actions if the IF condition is not met. ELSE TYPE Condition Not Met (If the IF condition fails, it types "Condition Not Met")
END_IF It ends the block of conditional execution started by IF. END_IF
CALL It calls a function or another script in the Rubber Ducky script. CALL myFunction (Calls the function or script named "myFunction")

Supported Mnemonics

Alphabet Keys

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Function Keys

F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12

Navigation Keys

LEFT UP RIGHT DOWN TAB HOME END PGUP PGDN

Lock Keys

CAPS NUM SCROLL

System and GUI Keys

GUI ESC PRTSCR PAUSE

Editing Keys

INSERT DEL BKSP ENTER

Modifier Keys

CTRL SHIFT ALT

ASCII Characters

` ! @ # $ % ^ & * ( ) - = [ ] \ ; ' , . / SPACE ~ _ + { } | : " < > ? 0 1 2 3 4 5 6 7 8 9

Install and Run

  1. Download or Clone the Repository.
  2. Open the folder.
  3. Copy all files in the CIRCUITPY.
    • It ask for replacement of code.py file, then replace it.
    • It will overwrite in the code.py file.
    • After 2-3 minutes, an Access Point is created named PicoWDuck whose password is picowducky.
  4. Connect to that access point.
  5. When connected successfully, open your browser and type the following IP - 192.168.4.1.
  6. Hit enter.
    • A webpage opens
  7. Type your script and click on Run button.
    • The script executes!

Tip

Start your code with DELAY so that board get time to initiate.
While using LOOP use only one command.

Examples

Open notepad and type Hello World!

DELAY 1000
GUI R
DELAY 1000
STRING notepad
DELAY 1000
ENTER
DELAY 1000
STRING Hello World!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors