예제
Reconstruct an HTTP header terminator
입력
GET / HTTP/1.1|0d 0a|Host: example.org|0d 0a 0d 0a|Expected answer
UTF-8 text · exact bytesGET / HTTP/1.1
Host: example.org
GET / HTTP/1.1 Host: example.org
Read an SMB protocol signature
입력
|ff|SMB|72 00|Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | ff 53 4d 42 72 00 | .SMBr. |
ff 53 4d 42 72 00
Recover quoted JSON from a mixed content pattern
입력
{|22|status|22 3a 22|ready|22|}Expected answer
UTF-8 text · exact bytes{"status":"ready"}{"status":"ready"}Preserve literal pipes outside a valid hex block
입력
left|right|3d|okExpected answer
UTF-8 text · exact bytesleft|right=okleft|right=ok
Inspect a zero-delimited key and value
입력
user|00|Ada|00|Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 75 73 65 72 00 41 64 61 00 | user.Ada. |
75 73 65 72 00 41 64 61 00