Skip to content

wirebits/PicoWQuack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PicoWQuack

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

This project is only working for Raspberry Pi Pico W!

Credits

  • The mnemoics used in this tool is heavily inspired by Hak5 Ducky Script.
  • The main inspiration of this project is from Spacehuhn.
  • The implementation of the wifi duck into Raspberry Pi Pico W inspired me by dbisu.

Key Features

  • Minimal Setup.
  • Simple and clean webpage for type scripts.

OS Support

  • Windows 10
  • Android

Installation and Setup of Circuit Python

  1. Download latest Circuit Python .uf2 file for Raspberry Pi Pico W from here.
    Latest is 9.0.4.
  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.
  1. 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.
  1. Open CIRCUITPY.
  • There are two important things in it : lib folder and code.py file.
  1. Download Adafruit CircuitPython Bundle from here.
  2. Download the latest ZIP file according to latest circuit python uf2 file version.
    Latest is adafruit-circuitpython-bundle-9.x-mpy-20240518.zip.
  3. Extract the ZIP file.
  4. Copy adafruit_hid and adafruit_httpserver folders in the lib folder of CIRCUITPY.
  5. Done! Now, Raspberry Pi Pico W is ready to use as a Wifi Duck.

Mnemonic Table

Mnemonics Description Example
WAIT It add time in the code.
Time is in milliseconds.
1000 ms = 1 second.
WAIT 1000
TYPE It add text want to type in the code. TYPE Hello World!

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. There are two files in it : code.py and index.html.
  • Make sure that your Raspberry Pi Pico W is connected to your PC/Laptop.
  1. Copy both 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 PicoWQuack whose password is picowquack.
  1. Connect to that access point.
  2. When connected successfully, open your browser and type the following IP - 192.168.4.1.
  3. Hit enter.
  • A webpage open like this :

PicoWQuack Web Page

  1. Type your script and click on Run button.
  • The script executes!

Before Coding...

Start your code with WAIT so that board get time to initiate.

Clean Raspberry Pi Pico W

  1. Connect Raspberry Pi Pico W with a USB cable.
  2. 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.
  1. Copy the flash_nuke.uf2 file in the RPI-RP2.
  • When it is copied, then it disconnects automatically and reconnect as RPI-RP2.

Examples

Open notepad and type Hello World!

WAIT 1000
GUI R
WAIT 1000
TYPE notepad
WAIT 1000
ENTER
WAIT 1000
TYPE Hello World!

Open CMD as Administrator Mode

WAIT 1000
GUI R
WAIT 1000
TYPE cmd
WAIT 1000
CTRL SHIFT ENTER
WAIT 1300
ALT Y