Coder Social home page Coder Social logo

cppfool / prey-standalone-control-panel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stephenjudge/prey-standalone-control-panel

0.0 3.0 0.0 132 KB

Simple app to trigger reports for Prey Standalone users.

Home Page: http://preyproject.com

Ruby 100.00%

prey-standalone-control-panel's Introduction

Basic Control Panel for Prey Standalone users

If you want to use Prey on Standalone mode and wish to manage multiple devices, this is a small app that can give you a hand. It's written in Ruby using Sinatra and MongoMapper.

Requirements

  • Ruby
  • Mongo DB
  • Bundler ruby gem

Installation

Once you've got Mongo and Ruby set up, clone the repo and run:

bundle install

And let Bundler take care of all the gem dependencies. Once you're ready you can run:

rackup -s thin

And the app should load. By browsing to / you'll be requested a username and password via Basic HTTP auth. The default values are 'admin/secret' but you can change it by modifying config.ru if you want to.

Setting up the clients

Once you've created a device on the admin panel, the check URL on the device should be:

http://your.server.com/devices/:device_id

For example, if the ID of your newly created device is 000000123456, the full url should look like:

http://your.server.com/devices/000000123456

And that's it. Your device should now start checking its state against your own Control Panel. If it ever goes missing, just log in again and change the missing field for that device from 'false' to 'true', and Prey will begin to send reports via email using your SMTP settings.

Additionally, you can change the execution delay and modify the modules which will be triggered remotely using the module_list field. Just make sure you separate them with spaces (e.g. "geo network lock").

Credits

Written by Tomás Pollak.

Legal

(c) 2011-2013 - Fork Ltd. Released under the GPLv3 license.

prey-standalone-control-panel's People

Contributors

tomas avatar

Watchers

James Cloos avatar Praveen Kumar avatar  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.