Update ChannelLinterUsage.md

dependabot/npm_and_yarn/Src/WebController/UI/websocket-extensions-0.1.4
Tim Carrington 2020-02-22 11:48:12 +00:00
parent 749658ab6a
commit 98d1b8ff87
1 changed files with 39 additions and 0 deletions

View File

@ -19,3 +19,42 @@ Options:
-x <ID> [ARGS... ], --command <ID> [ARGS... ] -x <ID> [ARGS... ], --command <ID> [ARGS... ]
Execute a command with a given <ID> and arguments [ARGS...] Execute a command with a given <ID> and arguments [ARGS...]
``` ```
Below is an example of a **Failed** run of a channel, note the exception. This information tells us that an incorrect character was passed to the base64 decoder. The cause of this was lack of URL Encoding.
```
.\ChannelLinter_r86.exe -n Trello -a "input" "output" "KEY" "TOKEN" "linterTest1" -i
Custom Command and Control - Channel linter. BUILD: C3-1.0.manual-build
Channel: Trello
Parsing create arguments ... OK
Parsing command definitions ... OK
Registered commands:
id name
65534 Set UpdateDelayJitter
65535 Close
Trello's Capability json verified OK.
Creating channel ... OK
Creating complementary channel ... OK
Testing channel with 8 bytes of data ... parse error: character [32 ' '] out of bounds
```
Once fixed, a successful run is observed:
```
.\ChannelLinter_r86.exe -n Trello -a "input" "output" "KEY" "TOKEN" "linterTest1" -i
Custom Command and Control - Channel linter. BUILD: C3-1.0.manual-build
Channel: Trello
Parsing create arguments ... OK
Parsing command definitions ... OK
Registered commands:
id name
65534 Set UpdateDelayJitter
65535 Close
Trello's Capability json verified OK.
Creating channel ... OK
Creating complementary channel ... OK
Testing channel with 8 bytes of data ... OK
Testing channel with 64 bytes of data ... OK
Testing channel with 1024 bytes of data ... OK
Testing channel with 1048576 bytes of data ... OK
```