https://www.anquanke.com/post/id/85357
之前稍微了解了一波Use After Free ,运用了fastbin,这次继续学一下fastbin的其他攻击方式,希望能学会吧
简单的介绍如下,图片来自CTFWIKI
Use After Free还是要派上用场的,不错欸
其实Fastbin Attack最精髓的地方就是每一块在fastbin中的堆被释放以后会放在一个链表中,而且free之后,size的prev_inuse标志位不会被清空哦
下面开始学(zhao)习(nue)啦
1.Fastbin Double Free
字面意思就是chunk可以多次释放
看一下是个什么鬼
int main(void)
{
void *chunk1,*chunk2,*chunk3;
chunk1=malloc(0x10);
chunk2=malloc(0x10);
free(c