Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rwmj
· 2y ago · 0 comments
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.
Comments
[–]
gwillem
2y ago
Some encodings add a prefix, which then get sanitised by the liberal base64_decode.
https://www.synacktiv.com/en/publications/php-filters-chain-...
[–]
ec109685
2y ago
Explained here nicely:
https://github.com/DownUnderCTF/Challenges_2022_Public/blob/...