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
A versatile program that uses the raspberry pi camera and provides it as a service

PiCameleon Is a daemon program meant to provide the RaspberryPi Camera as a service while running according to a configuration.

André Esser 52 Oct 16, 2022
A refreshed Python toolbox for building complex digital hardware

A refreshed Python toolbox for building complex digital hardware

nMigen 1k Jan 05, 2023
Bucatini: a soft PIPE PHY for FPGA SerDes

Bucatini: a soft PIPE PHY for FPGA SerDes Bucatini is a noodly gateware layer capable of transforming an FPGA SerDes into a PIPE PHY, allowing you to

Great Scott Gadgets 28 Dec 02, 2022
A python project based on a TV show Wheel of Fortune

Wheel-of-Fortune-using-Python Wheel of Fortune in python this game is the hands-on project in Python 3 Programming Specialization offered By Universit

Eszter Pai 1 Jan 03, 2022
Controlling fireworks with micropython

Controlling-fireworks-with-micropython How the code works line 1-4 from machine

Montso Mokake 1 Jan 08, 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
🎃 Some spooky code samples to hack yourself a pumpkin 👻

🎃 Tech Or Treat 👻 It's spooky season for those who celebrate Halloween, and to get in the spirit (spirit - get it? 👻 ) we thought it would be fun t

Jim Bennett 5 Feb 07, 2022
Projet d'integration SRI 3A ROS

projet-integration-sri-2021-2022 Projet d'intégration ROS SRI 2021 2022 Organization: Planification de tâches Perception Saisie: Cédérick Mouliets Sim

AIP Primeca Occitanie 3 Jan 07, 2022
🌱 - WebhookHard◞ Fines Educativos ◟

v1.0.0 WebhookHardware ¿Que es WebhookHardware? WebhookHardware se trata de un proyecto tratado para sacar informacion sobre el hardware de tus victim

3 Jun 14, 2021
Rasberry Pie GPIO memory game. Press the corresponding key to the lit LED.

RPie-keyboard-game Rasberry Pie GPIO memory game. Press the corresponding key to the lit LED. Randem LED (general output) is lit up on rasberrypi rand

Shawn Dowling 1 Oct 24, 2021
KIRI - Keyboard Interception, Remapping, and Injection using Raspberry Pi as an HID Proxy.

KIRI - Keyboard Interception, Remapping and Injection using Raspberry Pi as a HID Proxy. Near limitless abilities for a keyboard warrior. Features Sim

Viggo Falster 10 Dec 23, 2022
Pinion — Nice-looking interactive diagrams for KiCAD PCBs

Pinion — Nice-looking interactive diagrams for KiCAD PCBs Pinion is a simple tool that allows you to make a nice-looking pinout diagrams for your PCBs

Jan Mrázek 297 Jan 06, 2023
Tools and documentation to aid in modifying the ADI ADALM Pluto firmware

Pluto firmware modifications This repository contains tools and documentation to aid in modifying the ADI ADALM Pluto firmware. Extraction of the Plut

Daniel Estévez 28 Dec 21, 2022
Uses the Duke Energy Gateway to import near real time energy usage into Home Assistant

Duke Energy Gateway This is a custom integration for Home Assistant. It pulls near-real-time energy usage from Duke Energy via the Duke Energy Gateway

Michael Meli 28 Dec 23, 2022
OpenStickFirmware is open source software designed to handle any and all tasks required in a custom Fight Stick

OpenStickFirmware is open source software designed to handle any and all tasks required in a custom Fight Stick. It can handle being the brains of your entire stick, or just handling the bells and wh

Sleep Unit 23 Nov 24, 2022
Authentication provider using Synology DSM users for Home Assistant

Authentication provider using Synology DSM users for Home Assistant The Synology authentication provider lets you authenticate using the users in your

Sam Debruyn 5 Oct 06, 2022
🔆 A Python module for controlling power and brightness of the official Raspberry Pi 7

rpi-backlight A Python module for controlling power and brightness of the official Raspberry Pi 7" touch display. Note: This GIF was created using the

Linus Groh 238 Jan 08, 2023
Home Assistant custom components MPK-Lodz

MPK Łódź sensor This sensor uses unofficial API provided by MPK Łódź. Configuration options Key Type Required Default Description name string False MP

Piotr Machowski 3 Nov 01, 2022
Aqara Camera G3 integration for Home Assistant

Aqara Camera G3 integration for Home Assistant ATTENTION: The component only works after enabled telnet. Only supportd stream. Not support still image

14 Dec 18, 2022
A python file which I wrote to allow the Dorna Robots API to draw an Image on a 3D plane

Dorna-Robotics-Internship Code In the directory "Code" is a python file which I wrote to allow the Dorna Robots API to draw an Image on a 3D plane. I

Stephen Otto 2 Dec 06, 2021