Migrated from Forgejo: mattc-old/pyrat
  • Python 68.9%
  • Go 19.8%
  • HTML 10.6%
  • Makefile 0.7%
Find a file
2024-04-30 20:48:50 +00:00
client code fmt 2023-11-30 12:20:12 -05:00
go-client Update go-client/go.mod 2024-04-30 20:48:50 +00:00
mgmt_client code fmt 2023-11-30 12:20:12 -05:00
server Remove unnecessary db files and update .gitignore, and add go client 2023-11-30 14:23:17 -05:00
.gitignore Remove unnecessary db files and update .gitignore, and add go client 2023-11-30 14:23:17 -05:00
README.md web management 2023-11-30 13:56:34 -05:00
renovate.json Add renovate.json 2024-02-16 17:15:02 -05:00

pyrat

python remote access tool

Action spec

(called request)


{
    "task_id": "something",
    "ad_key": "SECRET_KEY", // only used on task add/remove
    "action": "what_to_do",
    "params": "params_for_the_action",
    "complete": // true/false (set to false in backend when task made)
}

Action Response Spec

response


{
    "task_id": "some_id",
    "result_status": "success/failed",
    "result": "string result"
}

Action values

  • cmd - params is exec
  • quit