FA2018 Week 10

Format String Vulnerabilities

Presented by: 

Loading PDF…
1 of 1

Useful printf format specifiers

  • %x: print hexadecimal
  • %d: print decimal
  • %s: print string, given pointer to string on stack
  • %n: store number of characters printed thus far into a pointer on the stack