Code Monkey home page Code Monkey logo

secret_hat's Introduction

Secret Hat

A Raspberry Pi subsystem for the Sense Hat

This project is a subsystem for the Sense Hat that contains many useful applications.

Installation

git clone https://github.com/charl050/Secret_hat.git
cd Secret_hat
./install.sh   # Not finished

Applications

  • Message encryption
  • System and board infos
  • Tracking infos
  • Timer
  • Backdoor
  • Pirate box
  • Settings

Message encryption

Encrypt messages with the positions of the Sense Hat.

System and board infos

Display informations about the Raspberry and the Sense hat.

Tracking infos

Record informations (time, ip, ping, Sense Hat temperature, pressure, humidity, orientation, compass, accelerometer, gyroscope and traceroute) and save them in saved_logs.txt.

Timer

Timer allowing to activate GPIOs, reset the Secret Hat or shutdown it.

Backdoor

Simple backdoor using Dataplicity.

Pirate Box

A PHP file explorer to share files with another connected users. This app uses https://github.com/prasathmani/tinyfilemanager for the explorer.

Setting

Set up Wifi (connect or AP), the iptables rules, the main password, the brightness, the password precision (50 is default, 1 is too much precise), shutdown, reboot and reset the Secret Hat.

Configuration

If the config file doesn't exist or contains errors, the Secret Hat will show an error, and ask you if you want to reset the config file. Select Yes if it's the first boot

Wifi APs

Add yours wifis APs to the config.ini :

[wifi]
ssid1         # Wifi with no key
ssid2 = key2
ssid3 = key3

Reset

There are three resetting modes :

  • Mode 1 : reset all configuration, and delete all messages
  • Mode 2 : delete all subsystem
  • Mode 3 : block the Secret Hat (only for main password)

Personalization

Edit the text color and the text scrolling speed in config.ini :

[personalization]
color1 = [255,255,0]  # List or tuple
color2 = [0,255,0]  # List or tuple
speed = 0.05  # Float

Iptables rules

Add your own iptables rules in iptables_rules file :

# Rule name 1 
rule command 1

# Rule name 2
rule command 2

If iptables_rule contains errors, the Secret Hat will show a error and return in the Setting menu.

secret_hat's People

Contributors

klaertus 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.