Plugin Server module - wb8tyw/D-Rats GitHub Wiki

The pluginsrv allows third party applications to connect to the d-rats client.

Currently that port is hard coded to port 9100, and limits you to running one d-rats client per system.

One example program has been found at d-rats.com for using this module.

We need to add a test script to d-rats both to test this module and to also do a test of the routines that it calls.

The plugin server has some built in calls and also a general RPC call method to support any RPC call that d-rats knows about.

As only the SimpleRPCServer is used in pluginsrv, the introspection routines can not be used.

Most of the RPC calls can only be used on remote systems that are reachable.

Error handling comes back encoded in a xmlrpc.client.Fault exception and the original error if desired can attempt to be extracted, but the original Error class may not be know to the plug-in program.

This looks like something that could be used to split of some features d-rats some in the future, to make a smaller core d-rats client for base functionality.