Giter Site home page Giter Site logo

sbcshop / hackypi-software Goto Github PK

View Code? Open in Web Editor NEW
101.0 18.0 14.0 17.32 MB

HackyPi is a compact and versatile USB device powered by the RP2040 microcontroller. It is a powerful tool for both ethical hacking and learning programming, compatible with all major operating systems. You can program using python language.

License: MIT License

Python 100.00%

hackypi-software's Introduction

HackyPi-Software

HackyPi is a compact and versatile USB device powered by the RP2040 microcontroller. It is a powerful tool for both ethical hacking and learning programming, compatible with all major operating systems. You can program using python language. Its sleek and modern design, combined with a user-friendly interface, makes it easy to use for beginners and experts alike. HackyPi is highly portable.

Setup HackyPi

  1. Download and Install Thonny IDE for your respective OS from Link Download Thonny

  2. Adding CircuitPython bootloader in HackyPi

    For this first you need to Press and Hold the boot button on HackyPi, without releasing the button connect it to USB port of PC/laptop. Then you see a new device named "RPI-RP2" drag file "firmware.uf2" available in this repository to the device as shown in figure, or you can download from Circuitpython official website click here

After downloading just copy and paste firmware file to "RPI-RP2" folder and then remove the device. Now at this step bootloader installed properly inside Pico of Hackypi. To verify remove device and re-insert into PC/Laptop, no need to press boot button. This time you will see a new device as shown in the below image:-

Running First Code in HackyPi

  1. Start Thonny IDE application, after this go to run->select interpreter, choose device and suitable com port Write simple python code and click on green run button

  2. Now you are ready to try out your own codes. Even you can try some of below Example codes provided, for that just copy all the files (library files) from lib folder of this repository and paste inside the HackyPi lib folder

Run Script Standalone without Thonny IDE

Follow below steps to save your script to device, once done then remove device and reinsert in PC to run your script without the need of Thonny IDE. Meaning you can now plug to USB Port and your code will be executed by HackyPi.

And remember to save your script as code.py name into device otherwise script will not run after inserting into USB.

Examples Codes

This example folder in repository includes ready to use and experimental code with HackyPi

Play with it and create your own, Happy Coding!

Documentation

Related Products

  • SquaryFi - ESP8266-12E version of SquaryPi

    SquaryFi

  • Roundy - 1.28" Round LCD version based on ESP8266 and RP2040

    Roundy

Product License

This is open source product. Kindly check LICENSE.md file for more information.

Please contact [email protected] for technical support.

hackypi-software's People

Contributors

sbcshop avatar sbcshop1 avatar sbcshop3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hackypi-software's Issues

Hackpi doesn't work

Hi, I plugged the key to my laptop before looking at the github and the key was launching a program. Now I have followed the setup steps, my key doesn't work. Can you help me ?

Safely insert back into my pc

Good afternoon,

After the step "Run Script Standalone without Thonny IDE" how do I reinsert hackypi on my pc without running its script.

Thanks

ImportError after uploading firmware.u2f

The examples do not work with firmware.u2f in your repository (which contains CircuitPython version 7.1.1) .

First I've flashed firmware.u2f from your repository. Then I've copied lib to the HACKYPI drive and saved HackyPi_Mouse_control.py as code.py.

Traceback (most recent call last):
File "", line 13, in
File "adafruit_hid/init.py", line 21, in
ImportError: no module named 'future'

The CircuitPython version 8.0.5 provided in https://circuitpython.org/board/raspberry_pi_pico/ worked. Please update firmware.u2f or remove firmware.u2f and edit README.md, thanks!

Error with Running images with hackyPi

i have received this error:

showing bmp image /images/img1.bmp
Traceback (most recent call last):
File "", line 53, in
ValueError: Invalid file

(yes im using thonny and yes everything is set up correctly) I dont get what is causing this error

Powershell - Admin override

When running a elevated (powershell Start-Process cmd -Verb runAs) powershell command.
keycode ALT-Y is needed to bypass the UAC window, however, when applied with the keyboard.send function, UAC doesn't accept the key combination (keyboard.send(Keycode.ALT, Keycode.Y)) from the HackyPi HID. Most all security testing will require elevated command prompts, this issue needs to be resolved.

Not recognized

I keep getting this message on every PC I try this in. Also tried a raspberry pi 4 and a Chromebook. Nothing. Only the display shows the Hackypi splash screen then nothing else happens.

In device manager it's not recognized as a com port. How do I fix it. It's brand new and it's never worked right once.
It shows a description error. It should say Pico, but there is no description.
Ive tried 2 laptops
Recommendation, a 4 port hub, a chromebook, and a raspberry pi 4, All with known working USB ports.
On windows, I only get this message.
"Try reconnecting the device. If Windows still does not recognize it, your device may not be working properly."

ImportError: no module named '__future__'

Hi There,

I am using portable thonny and I am receiving such error:

%Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "", line 13, in
File "adafruit_hid/init.py", line 21, in
ImportError: no module named 'future'

How to install future on device?

fix Display_Images_from_SDCard

The example display_sdcard_images.py is broken.

  1. Turn on backlight: insert after "backlight display.show(main)":
    tft_bl = board.GP13
    led = digitalio.DigitalInOut(tft_bl)
    led.direction = digitalio.Direction.OUTPUT
    led.value=True

  2. the images need to be copied to the sd cards root folder (and not to a folder named images). Please correct README.md

I've tried several different SD cards which I have formatted with FAT16 or FAT32 but the image loading time is very slowly (~3 minutes). image_display.py using the internal flash memory is loading images much faster (~4-5 seconds)

HackyPi wont run after after applying firmware.uf2

After following the instruction to to apply the firmware as described in the sbcshop GitHub one HackyPi will not run as intended and screen is blank. Explorer still sees the HACKYPI drive and it is still recognised and connects in Thonny.

The only difference I could find with the two I have is once the HackyPi is loaded up in Thonny is the welcome messages in the shell window .

HackyPi #1 with firmware from this repository.
GitHub 2023-05-07 043351

HackyPi #2 with preinstalled firmware.
Stock 2023-05-07 043722

Will the latest firmware be available here any time soon?

Keyboard issue when using non us keyboard

I tried the examples/mac/[HackyPi_openWebsite.py](https://github.com/sbcshop/HackyPi-Software/blob/main/examples/mac/HackyPi_openWebsite.py) example.

Seems to work fine - BUT on the opened terminal appears the following:

> open httpsÖ--shop.sbßcomponents.co.uk
The file /Users/<myUsername>/httpsÖ--shop.sbßcomponents.co.uk does not exist.

So, it seems the :// in the example's keyboard_layout.write("open https://shop.sb-components.co.uk") translates to Ö--

What could be wrong here.
Test-Mac is a M1 with german setup (lang, kbd, ...)

Just a Recommendation

I recommend starting a wiki on this repo so that people getting started can really get started at the educational level. I know one of my issues is the breakdown between the Pi access and the storage access and can you ssh into the pi side. Also getting the the additional SD storage working along with what are the limitations or requirements.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.