pwnmedium
Floats
spbctf
Task: input numeric values (double, int64, uint64) via scanf that form a specific target string in memory. Solution: split the 24-byte target string into three 8-byte chunks and interpret each as the corresponding numeric type in little-endian using struct.unpack, then send the computed values.
$ ls tags/ techniques/
type_punningieee754_float_representationlittle_endian_byte_interpretation
🔒
Permission denied (requires tier.pro)
Sign in to access full writeups
Create a free account with GitHub, then upgrade to Pro.
$ssh [email protected]