请参阅: 说明
类 | 说明 |
---|---|
AutobahnServer |
A Web Socket echo server for running the
autobahn test suite
|
AutobahnServerHandler |
Handles handshakes and messages
|
AutobahnServerInitializer |
01. Install python (if not already installed).
02. Install Python Setup Tools if not already installed. sudo apt-get install python-setuptools
03. Add ppa:twisted-dev/ppa to your system's Software Sources
04. Install Twisted: sudo apt-get install python-twisted
05. Install AutoBahn: sudo easy_install autobahntestsuite. Test using wstest --help.
06. Create a directory for test configuration and results: mkdir autobahn cd autobahn.
07. Create fuzzing_clinet_spec.json in the above directory
{
"options": {"failByDrop": false},
"outdir": "./reports/servers",
"servers": [
{"agent": "Netty4",
"url": "ws://localhost:9000",
"options": {"version": 18}}
],
"cases": ["*"],
"exclude-cases": [],
"exclude-agent-cases": {}
}
08. Run the AutobahnServer located in this package. If you are in Eclipse IDE, right click on AutobahnServer.java and select Run As > Java Application.
09. Run the Autobahn test wstest -m fuzzingclient -s fuzzingclient.json.
10. See the results in ./reports/servers/index.html