mirror of
https://github.com/GwynethLlewelyn/goswi.git
synced 2026-08-14 00:58:00 +00:00
This is a quick AI-generated fix to avoid writing passwords to the logs. There are a few packages to do just that, and I may change that in the future, but, for now, this should work fine. Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
goRemoteAdmin
A very basic command-line tool to connect via XML-RPC to the remote admin console of OpenSimulator
It's still a work in progress.
Loosely based on Marcel Edward's OpenSim-RemoteAdmin package which was written in PHP (which I can read, unlike so many others), and having this cool idea of using a RemoteAdmin.json file to store all possible Remote Admin commands!
This is a standalone CLI tool just to do some basic testing.
You can use the 'help' command to get an idea of what commands are available, but here is a complete example:
goRemoteAdmin -p averydifficulttoguesspassword --host http://my.opensim.server.tld:9150 admin_broadcast message "Look ma, no hands"
Known bugs
- Currently, the request seesm to go through, but it is ignored;
- Multiple commands sent simultaneously aren't working (due to wrong parameer prssing — bug in the code!)
Future updates
If Marcel ever releases a new version of RemoteAdmin.json, make sure you get it!