summaryrefslogtreecommitdiffstats
path: root/Reaktor/UDP/README
diff options
context:
space:
mode:
authortv <tv@iiso>2011-09-27 00:12:49 +0200
committertv <tv@iiso>2011-09-27 00:12:49 +0200
commitecc173f3f472efcabf12693e17866930768af82b (patch)
tree59a1098d3f147d7fa09c84807e415535dcf6679e /Reaktor/UDP/README
parentf541b6139ca8ecbc64c736179604280e3006bede (diff)
parent592331580802ace9e96f3e4369bc9019f8e484b9 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'Reaktor/UDP/README')
-rw-r--r--Reaktor/UDP/README7
1 files changed, 4 insertions, 3 deletions
diff --git a/Reaktor/UDP/README b/Reaktor/UDP/README
index ad7117fe..587c8046 100644
--- a/Reaktor/UDP/README
+++ b/Reaktor/UDP/README
@@ -5,6 +5,7 @@ From 2011-09-16:
{
"port": 1337,
"pattern": "XXYY",
+ "comment" : "does the right thing",
"action" : {
"POST": {
"url" : "xyz",
@@ -15,10 +16,9 @@ From 2011-09-16:
]
## Head definition
{
- "bind" : "127.0.0.1",
+ "bind_addr" : "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.
@@ -35,6 +35,7 @@ terminator is optional which lets the user define the EOM terminator.
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
+in the process in envp => "payload" will be allocated for the given payload from the network
"PROCESS" : {
{
@@ -43,7 +44,7 @@ stdout/stderr are optional and if left away data will be written to real stdout/
"bc"
],
"envp": {
- "was": "geht"
+ "was": "geht",
},
"stdout": "uri:///path/to/somewhere",
"stderr": "uri:///path/to/somewhere"