Setup for Raspberry Pi Pico W to make a Wifi Duck.
- 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.
- Minimal Setup.
- Simple and clean webpage for type scripts.
- Windows 10
- Android
- Download latest Circuit Python
.uf2
file for Raspberry Pi Pico W from here.
Latest is9.0.4
. - Connect Raspberry Pi Pico W with a USB cable.
- 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 theBOOTSEL
button.
- Copy the
uf2
file in theRPI-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.
- Open
CIRCUITPY
.
- There are two important things in it :
lib
folder andcode.py
file.
- Download Adafruit CircuitPython Bundle from here.
- Download the latest ZIP file according to latest circuit python
uf2
file version.
Latest isadafruit-circuitpython-bundle-9.x-mpy-20240518.zip
. - Extract the ZIP file.
- Copy
adafruit_hid
andadafruit_httpserver
folders in thelib
folder ofCIRCUITPY
. - Done! Now, Raspberry Pi Pico W is ready to use as a Wifi Duck.
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! |
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
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
LEFT
UP
RIGHT
DOWN
TAB
HOME
END
PGUP
PGDN
CAPS
NUM
SCROLL
GUI
ESC
PRTSCR
PAUSE
INSERT
DEL
BKSP
ENTER
CTRL
SHIFT
ALT
`
!
@
#
$
%
^
&
*
(
)
-
=
[
]
\
;
'
,
.
/
SPACE
~
_
+
{
}
|
:
"
<
>
?
0
1
2
3
4
5
6
7
8
9
- Download or Clone the Repository.
- Open the folder.
- There are two files in it :
code.py
andindex.html
.
- Make sure that your Raspberry Pi Pico W is connected to your PC/Laptop.
- 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 ispicowquack
.
- Connect to that access point.
- When connected successfully, open your browser and type the following IP -
192.168.4.1
. - Hit enter.
- A webpage open like this :
- Type your script and click on Run button.
- The script executes!
Start your code with WAIT
so that board get time to initiate.
- Connect Raspberry Pi Pico W with a USB cable.
- 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 theBOOTSEL
button.
- Copy the
flash_nuke.uf2
file in theRPI-RP2
.
- When it is copied, then it disconnects automatically and reconnect as
RPI-RP2
.
WAIT 1000
GUI R
WAIT 1000
TYPE notepad
WAIT 1000
ENTER
WAIT 1000
TYPE Hello World!
WAIT 1000
GUI R
WAIT 1000
TYPE cmd
WAIT 1000
CTRL SHIFT ENTER
WAIT 1300
ALT Y