Skip to contentSkip to conversation

Strings encoding

DISCUSSION Lev Stipakov 2 participants 2 messages Mar 22, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

The string values can be either enclosed in quotation marks or hex-encoded. Is it safe to assume that sequence of bytes after hex decoding is always utf-8 encoded string?

-Lev

#1 lore raw

Hello,

Quoted 3 lines · Lev Stipakov

The string values can be either enclosed in quotation marks or hex-encoded. Is it safe to assume that sequence of bytes after hex decoding is always utf-8 encoded string?

There are no guarantees what they are. This is used whenever the user could have controlled the input in a way to trick the audit parser. And in one case the hex encoding is an actual socket address structure.

-Steve