Raspberry Pi Pico as a Rubber Ducky

Overview

Raspberry-Pi-Pico-as-a-Rubber-Ducky

2022-02-09-16-58-32_Trim

Kurulum

  1. Raspberry Pi Pico cihazınız için CircuitPython'u indirin.
  2. Boot düğmesine basılı tutarken cihazı bir USB bağlantı noktasına takın ve cihazı taktıktan sonra boot tuşundan elinizi çekin. Bunun sonucunda "RPI-RP2" adlı çıkarılabilir bir medya aygıtı karşınıza çıkacaktır.
  3. İndirdiğiniz .uf2 dosyasını Pico'nun (RPI-RP2) ana dizinine kopyalayın. Bir süre sonra cihaz yeniden başlayacak ve 1-2 saniye sonra CIRCUITPY adında çıkarılabilir bir medya aygıtı olarak karşınıza çıkacaktır.
  4. Ardından adafruit-circuitpython-bundle-7.x-mpy-YYYYMMDD.zip dosyasını indirin ve cihazın dışına çıkarın.
  5. adafruit-circuitpython-bundle-7.x-mpy-YYYYMMDD klasörü altındaki "lib" klasörüne gidin ve "adafruit_hid'i" Raspberry Pi Pico'nuzdaki lib klasörüne kopyalayın.
  6. Buradaki sayfaya giderek CTRL + S tuşlarına basın ve dosyayı Pico'nun içerisinde bulunan code.py dosyasının üzerine yazarak Raspberry Pi Pico'nun ana dizinine "code.py" olarak kaydedin.
  7. Buradaki linkten bir script bulun veya kendi Rubber Ducky scriptinizi oluşturun ve "payload.dd" olarak kaydedin.
  8. Dikkat edin, son işlemden sonra cihaz yeniden başlatılacak ve yarım saniye sonra komut dosyası (payload.dd) çalışacaktır.

USB Etkinleştirme/Devre Dışı Bırakma

Pico'nun gizlilik amacıyla bir USB depolama aygıtı gibi görünmemesine istiyorsanız;

  1. Cihazı USB bağlantı noktasına takın.
  2. "boot.py" dosyasını Pico'nun (RPI-RP2) ana dizinine kopyalayın.
  3. payload.dd dosyanızı da Pico'ya (RPI-RP2) kopyalayın.
  4. Pico'yu bilgisayarınızdan çıkarın. Pin 18 ve pin 20 arasına bir jumper kablosu bağlayın. Bu durum Pico üzerinde bir kısa devre yaratacaktır ve hedef bilgisayara takıldığında Pico'nun bir USB sürücüsü olarak görünmesini engelleyecek.
  5. Tekrar programlamak için (Payload'ınızı güncellemek için) jumper kabloyu çıkarın ve PC'nize yeniden bağlayın. Varsayılan modda, USB depolama aygıtı aktif durumda olacaktır.

1

Klavye Düzenlerini Değiştirme

Varsayılan modda klavye düzeni İngilizce'dir. Bunu değiştirmek isterseniz;

  1. https://kbdlayout.info/ sayfasından istediğiniz klavye düzenini bularak üzerine tıklayın ve linki kopyalayıp https://www.neradoc.me/layouts/ sayfasındaki kutucuğa yapıştırın. Ardından "Make Zip Bundle Links" butonuna tıklayın.
  2. Ardından "Download the zip file (.py)" butonuna tıklayın.
  3. İndirilen dosyanın içerisinden kendize uygun olan klavye düzeninin dosyalarını Pico'nuzun içerisindeki lib klasörü altına kopyalayın (ben Türkçe Q klavye düzenini tercih ediyorum);
  • keyboard_layout.mpy
  • keyboard_layout_win_tuq.mpy
  • keycode_win_tuq.mpy

2

Dil Dosyanızı Kullanmak için Pico Kodunuzu Değiştirin

Pico içerisindeki "code.py" dosyasını açın ve içerisindeki şu kodu;

from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS as KeyboardLayout
from adafruit_hid.keycode import Keycode

aşağıdaki kod ile değiştirin;

from keyboard_layout_win_tuq import KeyboardLayout
from keycode_win_tuq import Keycode
Owner
Furkan Enes POLATOĞLU
Cyber Security Researcher, SOC Analyst, CENG, YnVsbGV0cHJvb2Y=
Furkan Enes POLATOĞLU
Zev es un Bot/Juego RPG de Discord creado en y para aprender Python.

Zev es un Bot/Juego RPG de Discord creado en y para aprender Python.

Julen Smith 3 Jan 12, 2022
Code for the onshape macropad.

Onshape_Macropad Code for the onshape macropad. This is a macropad built using the Pimoroni Keybow and the KPrepublic Enclosure. pimoroni_keybow kprep

Justin Cole 1 Nov 23, 2021
Raspberry Pi Pico development platform for PlatformIO

Raspberry Pi Pico development platform for PlatformIO A few words in the beginning Before experimental please Reinstall the platform Version: 1.0.0 Th

Georgi Angelov 160 Dec 23, 2022
A Raspberry Pi Pico plant sensor hub coded in Micropython

plantsensor A Raspberry Pi Pico plant sensor hub coded in Micropython I used: 1x Raspberry Pi Pico - microcontroller 1x Waveshare Pico OLED 1.3 - scre

78 Sep 20, 2022
A simple portable USB MIDI controller based on Raspberry-PI Pico and a 16-button keypad, written in Circuit Python

RPI-Pico-16-BTn-MIDI-Controller-using-CircuitPython A simple portable USB MIDI controller based on Raspberry-PI Pico, written in Circuit Python. Link

Rounak Dutta 3 Dec 04, 2022
Using a raspberry pi, we listen to the coffee machine and count the number of coffee consumption

A typical datarootsian consumes high-quality fresh coffee in their office environment. The board of dataroots had a very critical decision by the end of 2021-Q2 regarding coffee consumption.

dataroots 51 Nov 21, 2022
Provide Unifi device info via api to Home Assistant that will give ap sensors

Unifi AP Device info Provide Unifi device info via api to Home Assistant that will give ap sensors

12 Jan 07, 2023
CircuitPython library for the CH559 USB to Serial chip

CH559 (USB to Serial) CircuitPython Library Why? Because you might want to get keyboard/mouse/gamepad/HID input into your CircuitPython projects witho

Guy Dupont 3 Nov 19, 2022
A python library written for the raspberry pi.

A python package for using certain components on the raspberry pi.

Builder212 1 Nov 09, 2021
DIY split-flap display

The goal is to make a low-cost display that's easy to fabricate at home in small/single quantities (e.g. custom materials can be ordered from Ponoko or similar, and other hardware is generally availa

Scott Bezek 2.5k Jan 05, 2023
EuroPi: A reprogrammable Eurorack project based on the Raspberry Pi Pico

EuroPi The EuroPi is a fully user reprogrammable module based on the Raspberry Pi Pico, which allows users to process inputs and controls to produce o

Allen Synthesis 218 Jan 01, 2023
Simples Keylogger para Windows com um autoboot implementado no sistema

MKW Keylogger Keylogger simples para Windos com um autoboot implementado no sistema, o malware irá capturar pressionamentos de tecla e armazená-lo em

3 Jul 03, 2021
SPI driven CircuitPython driver for PCA9745B constant current LED driver.

Introduction THIS IS VERY MUCH ALPHA AND IN ACTIVE DEVELOPMENT. THINGS WILL BREAK! THIS MAY ALSO BREAK YOUR THINGS! SPI driven CircuitPython driver fo

Andrew Ferguson 1 Jan 14, 2022
Home Assistant custom integration for e-distribución

e-Distribución is an energy distribution company that covers most of South Spain area. If you live in this area, you probably are able to register into their website to get some information about you

VMG 17 Sep 07, 2022
A script and GUI for controlling stepper motors from an arduino

A script and GUI for controlling stepper motors from an arduino (nema 23 in my case but should work for others in general)

Pip 2 Aug 01, 2022
Various programs in Atari BASIC for #FujiNet for Atari 8-bit

FujiNet Various programs in Atari BASIC for #FujiNet for Atari 8-bit FujiNet-3D Tic Tac Toe In 1978, Scott Adams wrote a 3-D Tic Tac Toe game, for pla

Kay Savetz 2 Jan 01, 2022
Repo for the esp32s2 version of the Wi-Fi Nugget

Repo for the esp32s2 version of the Wi-Fi Nugget

HakCat 30 Nov 05, 2022
hardware design of the 250mm drone

hardware design of the 250mm drone

ZJU FAST Lab 645 Dec 25, 2022
Lego Mindstorms EV3 and Lego Spike Prime

Lego Mindstorms EV3 and Lego Spike Prime What is FLL? The FIRST LEGO League Challenge Robotics Tournament challenges students from 9 to 16 years old t

Danimar Campos da Costa 1 Nov 14, 2021
This is a Virtual Keyboard which is simple yet effective to use.

Virtual-Keyboard This is a Virtual KeyBoard which can track finger movements and lets you type anywhere ranging from notepad to even web browsers. It

Jehan Patel 3 Oct 01, 2021