|
9 months ago | |
---|---|---|
.idea | 9 months ago | |
app | 9 months ago | |
example | 9 months ago | |
gradle/wrapper | 9 months ago | |
.gitignore | 9 months ago | |
LICENSE | 9 months ago | |
README.md | 9 months ago | |
build.gradle | 9 months ago | |
gradle.properties | 9 months ago | |
gradlew | 9 months ago | |
gradlew.bat | 9 months ago | |
settings.gradle | 9 months ago |
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.
{
"key": string,
"secret": string,
"cmd": "(lock|shutdown|panic|infraShutdown|infraPanic)"
}
cmd
requires one of lock
, shutdown
, ...
{
"access": (true|false),
"error": int
}
At the moment the following error codes are defined:
0 - OK
1 - Command not set
See example/index.php
.
See ding.