Due to limitation of https://github.com/kubkon/zig-yaml we can't use yaml multiline syntax:
examples: |
Scanning selected hosts and ports:
tcpScanner str:192.168.0.1:80,22,443
tcpScanner str:192.168.0.1:100-200
tcpScanner str:102.168.1.1-128:445,81,8080-8089
Instead we need to use:
examples: '
Scanning selected hosts and ports:
tcpScanner str:192.168.0.1:80,22,443
tcpScanner str:192.168.0.1:100-200
tcpScanner str:102.168.1.1-128:445,81,8080-8089
'
That is inconsistent with a Python's YAML implementation (used in https://github.com/The-Z-Labs/bof-launcher/blob/main/examples/implant/z-beac0n-console.py) where using:
syntax, does not preserves text's structure. Therefore we need to you different syntax for cli4bofs ( ' ...') and different for z-beac0n console (| ...).
Solution is to add multiline syntax support (|) to https://github.com/kubkon/zig-yaml.
Due to limitation of
https://github.com/kubkon/zig-yamlwe can't use yaml multiline syntax:Instead we need to use:
That is inconsistent with a Python's YAML implementation (used in
https://github.com/The-Z-Labs/bof-launcher/blob/main/examples/implant/z-beac0n-console.py) where using:syntax, does not preserves text's structure. Therefore we need to you different syntax for cli4bofs (
' ...') and different for z-beac0n console (| ...).Solution is to add multiline syntax support (
|) tohttps://github.com/kubkon/zig-yaml.