C - The %x format specifier

前端 未结 5 1881
礼貌的吻别
礼貌的吻别 2020-12-22 23:15

I have a small question. I know that the %x format specifier can be used to read values from the stack in a format string attack.

I found the following code:

<
5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-23 00:15

    %08x means that every number should be printed at least 8 characters wide with filling all missing digits with zeros, e.g. for '1' output will be 00000001

提交回复
热议问题