summaryrefslogtreecommitdiffstats
path: root/Reaktor/UDP/README
diff options
context:
space:
mode:
authortv <tv@iiso>2011-09-18 22:50:34 +0200
committertv <tv@iiso>2011-09-18 22:50:34 +0200
commitdbc2b120fb03ebf3301ab843599d43f1636f46be (patch)
treec3ca94395b38e4807c2f95c1a0fcee75e0cde9aa /Reaktor/UDP/README
parent5ac37243d06e87ee81bc8e51fa10bf5082fe2212 (diff)
parentdae3147e1bad4c57f7e492ab7df7a1679b4b2273 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'Reaktor/UDP/README')
-rw-r--r--Reaktor/UDP/README51
1 files changed, 51 insertions, 0 deletions
diff --git a/Reaktor/UDP/README b/Reaktor/UDP/README
new file mode 100644
index 00000000..ad7117fe
--- /dev/null
+++ b/Reaktor/UDP/README
@@ -0,0 +1,51 @@
+# Specifications
+From 2011-09-16:
+## Use Case
+ [
+ {
+ "port": 1337,
+ "pattern": "XXYY",
+ "action" : {
+ "POST": {
+ "url" : "xyz",
+ "data" : "abc"
+ }
+ }
+ }
+ ]
+## Head definition
+ {
+ "bind" : "127.0.0.1",
+ "port" : 1234,
+ "pattern" : "XXZZ",
+ "terminator" : "\r\n"
+ "action" : { },
+ }
+bind is an optional entry which lets the user define a bind address for the server.
+terminator is optional which lets the user define the EOM terminator.
+
+## Actions
+### POST
+"POST" : {
+ "url" : "http://euer.krebsco.de/",
+ "data" : "{ \"something\" : \"else\" }"
+ }
+
+### PROCESS
+Process is taken from //hyper/process/test/bc.json - rev:a7fd3f
+
+stdout/stderr are optional and if left away data will be written to real stdout/stderr
+
+ "PROCESS" : {
+ {
+ "path": "/usr/bin/bc",
+ "argv": [
+ "bc"
+ ],
+ "envp": {
+ "was": "geht"
+ },
+ "stdout": "uri:///path/to/somewhere",
+ "stderr": "uri:///path/to/somewhere"
+ }
+ }
[cgit] Unable to lock slot /tmp/cgit/0d200000.lock: Permission denied (13)