diff options
| author | Yuval Adam <_@yuv.al> | 2018-04-12 11:57:00 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2018-04-12 11:57:00 +0300 |
| commit | 549795396cc1810b3be9f2e603bc3498606fbdf9 (patch) | |
| tree | bd40d606038040803617575f00d23bc501063ec7 /README.rst | |
| parent | 862cf7418faa7757e507ecb2784a957df7ba7736 (diff) | |
Support raw bytes in CLI
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -42,6 +42,12 @@ Alternatively, the library can be used via command line by directly executing th Which will pretty-print the decoded data structure. +The command line usage can also accept raw bytes with the `-r` flag: + +.. code-block:: shell + + $ cat data.base64 | base64 -d | python -m viewstate -r + Viewstate HMAC signatures are also supported. In case there are any remaining bytes after parsing, they are assumed to be HMAC signatures, with the types estimated according to signature length. .. code-block:: python |
