howdays

JIN's Lab

Monthly Archives: May 2019

Development

hexdump in C

void hexdump(char *buf, size_t len) { int i , j; for(i=0; i<len/16+1; i++) { printf(“%02d | “,i); for(j=0; j<16; j++) { if(i*16+j >= len) break; printf(“%02x “,buf[i*16+j]&0xff); } printf(“| “);… Continue Reading

Research

2.29 malloc exploit

모든 자료는 https://github.com/hOwD4yS/glibc_2_29_malloc 에 있습니다 if (tcache != NULL && tc_idx < mp_.tcache_bins) { /* Check to see if it’s already in the tcache. */ tcache_entry *e = (tcache_entry *) chunk2mem… Continue Reading