Skip to main content

Module structural

Module structural 

Source
Expand description

Structural encoding strategies (null byte, overlong UTF-8, chunked, HPP). Structural encoding strategies — byte-level and framing manipulations.

Structs§

ChunkedBody
Result of chunked transfer-encoding split.

Functions§

base64_encode
Base64 encoding — standard alphabet.
base64_url_encode
Base64 URL-safe encoding — -_ alphabet, no padding.
chunked_split
Chunked transfer-encoding split — break payload across HTTP chunks.
deflate_encode
Deflate compression.
gzip_encode
Gzip compression.
hex_encode
Hex encoding.
null_byte_inject
Null byte injection — append %00 to truncate strings in C-style parsers.
overlong_utf8
Overlong UTF-8 encoding (2-byte) — represent ASCII non-alphanumeric as 2-byte sequences.
overlong_utf8_more
Extended overlong UTF-8 encoding (3-byte) — broader coverage with 3-byte sequences.
parameter_pollute
HTTP parameter pollution — duplicate parameter with a benign first value.
utf7_encode
UTF-7 encoding per RFC 2152.