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
AERO 421: Spacecraft Attitude, Dynamics, and Control Final Project.

AERO - 421 Final Project Redevelopment Spacecraft Attitude, Dynamics, and Control: Simulation to determine and control a satellite's attitude in LEO.

Gagandeep Thapar 3 Dec 16, 2022
Home Assistant custom integration to fetch data from Powerpal

Powerpal custom component for Home Assistant Component to integrate with powerpal. This repository and integration is not affiliated with Powerpal. Th

Lawrence 32 Jan 07, 2023
ESP32 recording button presses, and serving webpage that graphs the numbers over time.

ESP32-IoT-button-graph-test ESP32 recording button presses, and serving webpage via webSockets in order to graph the responses. The objective was to t

f-caro 1 Nov 30, 2021
ModbusTCP2MQTT - Sungrow & SMA Solar Inverter addon for Home Assistant

ModbusTCP2MQTT Sungrow & SMA Solar Inverter addon for Home Assistant This addon will connect directly to your Inverter using Modbus TCP. Support model

Teny Smart 40 Dec 21, 2022
Intel Realsense t265 into Unreal Engine

t265_UE Intel Realsense t265 into Unreal Engine. Windows only, and Livelink plugin is 4.26.2 only at the moment. Might recompile it for different vers

Bjarke Aagaard 30 Jan 02, 2023
Sticklog2heatmap - Draw a heatmap of RC sticks from OpenTX logs or USB HID device

sticklog2heatmap Draw a heatmap of RC sticks from OpenTX logs or USB HID device

2 Feb 02, 2022
Resmed_myair_sensors - This is a Home Assistant custom component to pull daily CPAP data from ResMed's myAir service using an undocumented API

resmed_myair This component will set up the following platforms. Platform Description sensor Show info from the myAir API. Installation Using the tool

Preston Tamkin 17 Dec 29, 2022
ArucoFollow - A script for Robot Operating System and it is a part of a project Robot

ArucoFollow ArucoFollow is a script for Robot Operating System and it is a part

5 Jan 25, 2022
Raspberry Pi Spectrometer

PySpectrometer 2021-03-05 Raspberry Pi Spectrometer The PySpectrometer is a Python (OpenCV and Tkinter) implementation of an optical spectrometer. The

Les Wright 538 Jan 05, 2023
Hardware-accelerated ROS2 packages for camera image processing.

Isaac ROS Image Pipeline Overview This metapackage offers similar functionality as the standard, CPU-based image_pipeline metapackage, but does so by

NVIDIA Isaac ROS 52 Dec 15, 2022
It is a serial communicator(controller, receiver...), communicate with sensor LP20 which is a laser ranger.

Intro It is a serial communicator(controller, receiver...), communicate with sensor LP20 which is a laser ranger. Its datasheet is contained in this r

3 Sep 19, 2022
MPY tool - manage files on devices running MicroPython

mpytool MPY tool - manage files on devices running MicroPython It is an alternative to ampy Target of this project is to make more clean code, faster,

Pavel Revak 5 Aug 17, 2022
Home Assistant custom component to help ev-chargers stay below peak hourly energy levels.

Peaqev ev-charging Peaqev ev-charging is an attempt of charging an ev without breaching a preset monthly max-peak energy level. In order for this inte

Magnus Eldén 35 Dec 24, 2022
A small Python app to converse between MQTT messages and 433MHz RF signals.

mqtt-rf-bridge A small Python app to converse between MQTT messages and 433MHz RF signals. This acts as a bridge between Paho MQTT and rpi-rf. Require

David Swarbrick 3 Jan 27, 2022
ENC28J60 Ethernet chip driver for MicroPython (RP2)

micropy-ENC28J60 ENC28J60 Ethernet chip driver for MicroPython v1.17 (RP2) Rationale ENC28J60 is a popular and cheap module for DIY projects. At the m

11 Nov 16, 2022
Python application, displaying currently played track from Spotify on OLED display connected via I2C

RaspberryPi Spotify OLED Display This application will display currently played track on SSD1306 OLED display connected to RaspberryPi. Displayed stuf

Wojciech Olech 2 Dec 30, 2021
Brogrammer-keyboard - FIrmware for the Brogrammer Keyboard v1.0

Brogrammer Keyboard Firmware The package contains the firmware that runs on the Brogrammer Keyboard v1.0 See https://imgur.com/a/oY5QZ14 This keyboard

Devin Hartleben 1 Apr 21, 2022
Home assiatant Custom component: Camera Archiver

Camera archiver Archive your ftp camera meadia files on other ftp with files renaming and event creation. Event can be used for send information to el

1 Jan 06, 2022
This repo uses a stereo camera and gray-code-based structured light to realize dense 3D reconstruction.

Structured-light-stereo This repo uses a stereo camera and gray-code-based structured light to realize dense 3D reconstruction. . How to use: STEP 1:

FEI 20 Dec 31, 2022
A circle of LEDs

This repository contains all the design files, production files and example code for a simple circular LED display.

Pim de Groot 15 Aug 21, 2022