Skip to content

Docker image for the sigsci-agent

To Build

mvn clean install

To Run

$ docker run -d -p 18181:19191 -it sigsci-module-jetty:latest /bin/bash
root@e56d60422e18:/# sigsci-agent -rpc-address=0.0.0.0:19191 -debug-rpc-test-harness

The TCP msgpack server, running in debug mode, should be available on

$(docker-machine ip default):18181

Manual commands

sigsci-agent -rpc-address=127.0.0.1:4567 -debug-rpc-test-harness

make run-simple-example-server

curl --data 'a=b' --header "X-Forwarded-For: 54.91.40.249" 'http://127.0.0.1:8800/test/123?foo=1+UNION+ALL+SELECT+1'

curl --data '{"a"="b"}' --header "Content-Type: application/json" --header "X-Forwarded-For: 54.91.40.249" 'http://127.0.0.1:8800/test/123?foo=1+UNION+ALL+SELECT+1'