pico-ducky | USB Rubber Ducky like device using a Raspberry PI Pico

 by   dbisu Python Version: v2.0 License: GPL-2.0

kandi X-RAY | pico-ducky Summary

kandi X-RAY | pico-ducky Summary

pico-ducky is a Python library typically used in Internet of Things (IoT), Raspberry Pi, Arduino applications. pico-ducky has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has medium support. However pico-ducky build file is not available. You can download it from GitHub.

Create a USB Rubber Ducky like device using a Raspberry PI Pico
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pico-ducky has a medium active ecosystem.
              It has 1534 star(s) with 361 fork(s). There are 47 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 16 open issues and 120 have been closed. On average issues are closed in 16 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of pico-ducky is v2.0

            kandi-Quality Quality

              pico-ducky has 0 bugs and 0 code smells.

            kandi-Security Security

              pico-ducky has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              pico-ducky code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              pico-ducky is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              pico-ducky releases are available to install and integrate.
              pico-ducky has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pico-ducky and discovered the below as its top functions. This is intended to give you an instant insight into pico-ducky implemented functionality, and help decide if they suit your requirements.
            • Select the payload .
            • Parse a line .
            • Run a script .
            • Convert a line into a list .
            • Get the program status .
            • Updates the LED cycle .
            • Activate the LED cycle .
            • Run a single script line .
            • Send a line to the layout .
            Get all kandi verified functions for this library.

            pico-ducky Key Features

            No Key Features are available at this moment for pico-ducky.

            pico-ducky Examples and Code Snippets

            Keyboard Layouts For Circuitpython
            Pythondot img1Lines of Code : 2dot img1License : Permissive (MIT)
            copy iconCopy
            circup bundle-add Neradoc/Circuitpython_Keyboard_Layouts
            circup install keyboard_layout_win_fr keycode_win_fr
              

            Community Discussions

            QUESTION

            How to execute system commands using raspberry pi pico
            Asked 2021-Nov-27 at 17:04

            I wanted to know if it is possible to run system commands on computer using raspberry pi pico when plugging it into the USB?

            I've tried to do it like a normal C program :

            ...

            ANSWER

            Answered 2021-Aug-27 at 13:09

            To be able to run system() function call in C in an embedded system, you need to know several things first:

            • system() calls the user shell with the string passed as argument as a parameter. Are you running an operating system at all? A shell is normally an operating system component, and it is not normally present in many embedded systems.
            • system() requires /bin/sh normally to work. To run ls, you need in adition to have it (the ls command) installed.

            You don't say what operating system you have in your Raspberry pi pico, but I'm afraid it is not linux (or any unix flavour) so probably all of this is forbidden to you.

            Normally, the requirements to have a unix like environment in a small system impede to use a high technology operating system in such systems. Linux requires large amoutns of memory (as there are in the normal raspberry pi, but not in the small versions), a large capacity storage system (bein a usb disk, flash memory card, etc. but normally several Gb for a minimum installation)

            In your case, 264kb of ram are very small to have a non-mmu handled microprocessor, capable of addressing virtual memory spaces. Also 2Mb of flash gives you to write large programs, but not to install an operating system like linux.

            Had you an emulator of system() you should be able to run other programs, but how? A raspberry pi pico has space to run just one program (the one you write to the flash and nothing else) Even if you write a kernel of a multitasking operating system, you would lack space to run filesystem stored programs, as you normally have limited access to the flash where programs are installed.

            Source https://stackoverflow.com/questions/68941622

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pico-ducky

            Install and have your USB Rubber Ducky working in less than 5 minutes.
            Download CircuitPython for the Raspberry Pi Pico. *Updated to 7.0.0
            Plug the device into a USB port. It will show up as a removable media device named RPI-RP2.
            Copy the downloaded .uf2 file to the root of the Pico (RPI-RP2). The device will reboot and after a second or so, it will reconnect as CIRCUITPY.
            Download adafruit-circuitpython-bundle-7.x-mpy-YYYYMMDD.zip here and extract it outside the device.
            Navigate to lib in the recently extracted folder and copy adafruit_hid to the lib folder in your Raspberry Pi Pico.
            Click here, press CTRL + S and save the file as code.py in the root of the Raspberry Pi Pico, overwriting the previous file.
            Find a script here or create your own one using Ducky Script and save it as payload.dd in the Pico.
            Be careful, if your device isn't in setup mode, the device will reboot and after half a second, the script will run.
            To edit the payload, enter setup mode by connecting the pin 1 (GP0) to pin 3 (GND), this will stop the pico-ducky from injecting the payload in your own machine. The easiest way to so is by using a jumper wire between those pins as seen bellow.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link