summaryrefslogtreecommitdiffstats
path: root/cholerab/reaktor
diff options
context:
space:
mode:
authortv <tv@iiso>2011-09-14 21:48:09 +0200
committertv <tv@iiso>2011-09-14 21:48:09 +0200
commit78956919e236d25b1d919cb975fff5e92a025eb7 (patch)
treeaf3128df02b138a527b5f4237b872a193ce54d40 /cholerab/reaktor
parent1e9f32bf57ab45ff1d3a61294e323b9c0cd3309b (diff)
parent04af55a06ba25e669a705b3c32a16e91fac05125 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'cholerab/reaktor')
-rw-r--r--cholerab/reaktor/priviliged_functions24
1 files changed, 24 insertions, 0 deletions
diff --git a/cholerab/reaktor/priviliged_functions b/cholerab/reaktor/priviliged_functions
new file mode 100644
index 00000000..a673267e
--- /dev/null
+++ b/cholerab/reaktor/priviliged_functions
@@ -0,0 +1,24 @@
+Use Case 1: Request update on Host
+=================================
+
+< user> bot: update
+< bot> /whois user
+< bot> /msg user [CHALLENGE]
+< user> /msg bot [CHALLENGE-RESPONSE]
+< bot> updating...
+< bot> now on rev XXXXX
+
+Command Flow
+----------------
+The bot has a locally stored list of [trusted] hosts along with their public
+key, preferably from the tinc/retiolum directory.
+
+The bot encrypts a 1K Byte long message with the public key of the host
+retrieved by the /whois command.
+
+This challenge is sent to the user requesting the command via private message.
+The user then decrpyts the message with its own private key and sends the
+decrpyted message to the bot.
+
+The bot then executes the requested command if the challenge is answered
+correctly