How do I decode this string into what it really is?
\x5Bli\x5DLevel\x3A\x2023\x5B\x2Fli\x5D
When decoded using some online tools it looks like this
[li]Level: 23[/li]
My problem starts with not knowing what it is encoded with or how it's been encoded, I've been able to find online decodes that can change it into what it really is, but that doesn't help me much as I still don't know how it was encoded.
I've tried urldecode, utf8_decode, base64_decode, html_entity_decode, htmlspecialchars_decode using the following php code.
$string = '\x5Bli\x5DLevel\x3A\x2023\x5B\x2Fli\x5D';
var_dump('base64_decode', base64_decode($string));
var_dump('json_decode', json_decode($string));
var_dump('html_entity_decode', html_entity_decode($string));
var_dump('htmlspecialchars_decode', htmlspecialchars_decode($string));
var_dump('urldecode', urldecode($string));
var_dump('utf8_decode', utf8_decode($string));
None of the above have worked.