Re:Iconv, set the charset to RCE: Exploiting the glibc to ha...
by rwmj on Monday May 27, 2024 @12:48PM
(#40492446)
Can someone explain how the "hello world" prefixing example works? I assume it has to do with converting a base64 encoded string to a different charset then base64 decoding but I don't understand how that would get extra characters.
[ Parent
| on HN ]
Re:Iconv, set the charset to RCE: Exploiting the glibc to ha...
by gwillem on Monday May 27, 2024 @02:55PM
(#40493523)
Some encodings add a prefix, which then get sanitised by the liberal base64_decode. https://www.synacktiv.com/en/publications/php-filters-chain-...
Re:Iconv, set the charset to RCE: Exploiting the glibc to ha...
by ec109685 on Monday May 27, 2024 @10:48PM
(#40496885)
Explained here nicely: https://github.com/DownUnderCTF/Challenges_2022_Public/blob/...