-
“grep” offset of ascii string from binary file
grep --byte-offset --only-matching --text foobar main -
linux shell 10进制转16进制
printf ‘%x\n’ 15 -
dump binary file
objdump -h main
.rodata 014e4e6f 00000000023df2c0 00000000023df2c0 01fdf2c0 -
Extracting the Raw Contents
dd if=main of=out_objdump bs=1 count= ( ( 0 x 014 e 4 e 6 f ) ) s k i p = ((0x014e4e6f)) skip= ((0x014e4e6f))skip=((0x01fdf2c0))