To Hex Content
Converts special characters in a string to hexadecimal. This format is used by SNORT for representing hex within ASCII text. For example, foo=bar becomes foo|3d|bar. To Hex Content lives in the Data format category of the fx menu.
Parameters
Section titled “Parameters”Input is the primary value (previous step output or a literal).
Returned value
Section titled “Returned value”Limitations
Section titled “Limitations”- This operation treats Input as raw bytes (binary-capable). Non-text payloads may display differently after decoding.
- Invalid or mismatched encoding for the chosen options typically raises an evaluation error — fix the Input or options before re-running.
Example
Section titled “Example”Run To Hex Content
Converts special characters in a string to hexadecimal. Adjust optional parameters when the defaults do not match your payload.
-
Set Input to the value to transform. Paste:
Input foo=bar -
Review Convert, Print spaces between bytes and keep defaults unless your format requires otherwise.
-
Confirm Output value matches the expected result (for example
foo|3d|bar.).