Git Product home page Git Product logo

petbot-device's Introduction

#PetBot device

An open source repository for PetBot client side software.

Here you will find everything you need to program your own PetBot. For case and electronics please see the other repositories.

Included in this repository is:

  • DeviceScaffold.py - To connect to management servers
  • gst-manager.py - Managed gstreamer connections to the streaming server
  • install.sh - A script used to install PetBot onto a fresh Raspbian install
  • tcp_client.py - Simple TCP client to keep-alive connection with server
  • wifi_manager.py - Script to scan and connect to wifi networks. Useful for debugging.
  • single_cookie_gear.c - To drop a single treat at a time.

License

All content here is licensed under GNU General Public License v3.0

petbot-device's People

Contributors

misko avatar

Stargazers

Ethan Gong avatar andyxwxu avatar

Watchers

James Cloos avatar  avatar Simon Sitwell avatar  avatar

petbot-device's Issues

Treat log

Have a log for when treats were dispensed

Possible code execution?

I can't help but notice that static/wifi_connect.php looks an awful lot like a possible code execution vulnerability.
Suppose someone would make a post request with an ssid like ; sudo rm -rf /*
This issue can easily be understood from the following script:

<?php
  $foo = "foo; whoami";
  echo shell_exec("echo $foo");
  $bar = escapeshellarg($foo);
  echo shell_exec("echo $bar");
?>

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.