ya-webadb
ya-webadb copied to clipboard
Protocol analyzer
Continuing #397
It would be interesting to provide more information about each packet, for example, a CNXN
(connect) packet can be displayed as
Version: 0x01000001
Max payload size: 1048576
Target type: host
+ Features:
shell_v2
cmd
and a WRTE
(write) packet as
Remote stream ID: 10
Local stream ID: 20
Stream initialized by: Local
Service string: "shell,v2:"
Payload: (binary)
(stream initializer and service string can be retrieved from packet dispatcher)
It would be more interesting to parse the payload of each WRTE
, but this needs their service strings and previous packets, so the logger must be started in parsing mode, and would use extra CPU and memory resources.