Yipanic/README.md
2020-05-25 16:11:33 +02:00

658 B

Yipanic

This appilcation sends a JSON to an API with the intent to remote control your computer or infrastructure in terms of panic.

The app can be secured by a passcode.

What the app sends

{
  "key": string,
  "secret": string,
  "cmd": "(lock|shutdown|panic|infraShutdown|infraPanic)"
}

cmd requires one of lock, shutdown, ...

What answers the app expect

{
  "access": (true|false),
  "error": int
}

At the moment the following error codes are defined:

0 - OK
1 - Command not set

Example backend

See example/index.php.

What is ding?

See ding.