{"id":30192860,"url":"https://github.com/michael-koll/bad-pico","last_synced_at":"2026-04-17T05:02:25.356Z","repository":{"id":284606913,"uuid":"955486398","full_name":"michael-koll/bad-pico","owner":"michael-koll","description":"Turn your Raspberry Pi Pico into a Bad-USB","archived":false,"fork":false,"pushed_at":"2025-08-12T01:52:58.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T03:34:51.274Z","etag":null,"topics":["adafruit-hid","bad-usb","badusb","circuitpython","cybersecurity","demo","hidscript","powershell-script","raspberry-pi-pico","tutorial","video"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michael-koll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-26T18:01:10.000Z","updated_at":"2025-08-12T01:53:01.000Z","dependencies_parsed_at":"2025-03-26T19:23:36.566Z","dependency_job_id":"7f52266a-b7e6-4644-906f-53b9bc774a66","html_url":"https://github.com/michael-koll/bad-pico","commit_stats":null,"previous_names":["michael-koll/bad-pico"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/michael-koll/bad-pico","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-koll%2Fbad-pico","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-koll%2Fbad-pico/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-koll%2Fbad-pico/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-koll%2Fbad-pico/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michael-koll","download_url":"https://codeload.github.com/michael-koll/bad-pico/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-koll%2Fbad-pico/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adafruit-hid","bad-usb","badusb","circuitpython","cybersecurity","demo","hidscript","powershell-script","raspberry-pi-pico","tutorial","video"],"created_at":"2025-08-13T00:02:43.039Z","updated_at":"2026-04-17T05:02:25.331Z","avatar_url":"https://github.com/michael-koll.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bad-pico\n\u003cimg src=\"https://github.com/user-attachments/assets/a86fc9e2-eaeb-43d1-bf7c-59b97f7b021f\" alt=\"IMG_01\" width=\"900\"\u003e\n\n# Requirements\n- Raspberry Pi Pico\n- USB-Type-C to USB-Type-A Cable\n\n# Setup\n1. Plug the Raspberry Pi Pico into the USB-A port on your computer while pressing the `BOOT` Button\n   \u003cimg src=\"https://github.com/user-attachments/assets/00609bc7-cc77-4fff-b4cd-5bc89dda5416\" alt=\"IMG_02\" width=\"400\"/\u003e\n2. Download the circuit python `.UF2` from https://circuitpython.org/board/raspberry_pi_pico/\n3. Copy the `.UF2` file into the root directory of `RPI-RP2`\n4. Now the `RPI-RP2` should disconnect and reconnect as `CIRCUITPY`\n6. To use the German keyboard layout, copy the two files inside the \u003ca href=\"https://github.com/michael-koll/bad-pico/tree/4c00515756e9ed61a6abb8118db1a340638ca387/layout_files_win_gr-py\"\u003elayout_files_win_gr-py\u003c/a\u003e into the `lib` folder of `CIRCUITPY`\n   (for other languages visit https://www.neradoc.me/layouts/)\n8. Copy the folder \u003ca href=\"https://github.com/michael-koll/bad-pico/tree/db70f938178029ae3bb420612fd6c7bf1faba3ff/adafruit_hid\"\u003eadafruit_hid\u003c/a\u003e into the `lib` folder of `CIRCUITPY`\n9. At the end the `lib` folder of `CIRCUITPY` should look like this:                                                              \n   \u003cimg src=\"https://github.com/user-attachments/assets/0eafd492-bb3e-49a5-9c18-1125b8fde647\" alt=\"IMG_03\" width=\"200\"/\u003e\n10. Copy the content of \u003ca href=\"https://github.com/michael-koll/bad-pico/blob/bc51192bd2319b3314d5a06a7a27a85003dfbb65/payload.py\"\u003epayload.py\u003c/a\u003e into `code.py` of `CIRCUITPY`\n11. Change the `command` within the `code.py` to whatever powershell command you want to run                                              \n    \u003cimg src=\"https://github.com/user-attachments/assets/f139026b-42b6-43eb-9396-a1978cb50d8c\" alt=\"IMG_04\" width=\"175\"/\u003e\n13. Be careful! As soon as you save the `code.py` file, the payload will be executed on your system!\n# Poc Videos\n## Simple Caculator Demo\nhttps://github.com/user-attachments/assets/a4a637c1-07b4-407a-ac29-768c91c2f24a\n## Reverse Shell Setup via Cloud Server\nhttps://github.com/user-attachments/assets/38869f6d-2439-41f1-a105-40536cdcaed2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael-koll%2Fbad-pico","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichael-koll%2Fbad-pico","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael-koll%2Fbad-pico/lists"}