Arch: amd64-64-little
RELRO: Partial RELRO
Stack: Canary found
NX: NX enabled
PIE: No PIE (0x400000)
FORTIFY: Enabled
1. malloc
2. free
3. new
4. delete
5. puts
6. exit
>>
nblock=(len+14)/15;
g_ary_ptr[ary_index] = fn(nblock);
g_ary_block_size[ary_index] = nblock;
struct
st_malloc_block{
QWORD unused;
char
buf[16];
//初始化为0
};
st_malloc {
st_malloc_block[nblock];
// << ret_ptr
st_new_block {
QWORD vtbl;
//delete时会判断vtbl[0], 如果不是0x400F20就会调用
st_new {
QWORD nblock;
st_new_block[nblock];
[注意]看雪招聘,专注安全领域的专业人才平台!