GithubHelp home page GithubHelp logo

keycroc's Introduction

@Le0X8/keycroc

Scripts for the Hak5 Key croc


Setting up Node.js

The Key Croc runs on Linux. To use the scripts I have created, you need to install Node.js onto it.

Here is a quick guide on how to do it:

Warning

This doesn't really work right now because of missing dependencies.

  1. Boot the Key Croc into Arming Mode (blue status LED) by pressing the hidden button.
  2. Access the serial console, under Linux, type sudo screen /dev/ttyACM0 115200 (you may have to install the screen package via apt). For other operating systems, please refer to the official guide.
  3. Log in into the Debian shell using the default credentials (user: root, password: hak5croc). If you already changed these, use your custom credentials instead.
  4. Download a recent version of Node.js from the official website. Please download the prebuilt binaries for the ARMv7 CPU architecture, other versions won't work.
  5. Copy the binaries into the root directory of the mounted Key Croc drive.
  6. Mount the same drive that's connected to your PC to your Key Croc by executing mkdir /mnt/croc && mount /dev/nandf /mnt/croc && cd /mnt/croc in the serial shell.
  7. Install Node: tar -xf node-v*-linux-armv7l.tar.xz -C /opt && mv /opt/node-v*-linux-armv7l /opt/node && ln /opt/node/bin/* /usr/bin/. This unpacks Node.js to a permanent path in the system and symlinks the binaries.

keycroc's People

Contributors

le0x8 avatar

Watchers

 avatar

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.