bash-c / bash-c.github.io

My Blog
https://writeup.md
0 stars 0 forks source link

post/linux-kernel-pwn-abc-1/ #4

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Linux Kernel Pwn ABC(Ⅰ) - localhost - Done with development, it's time to pwn.

记录一下最近学到的 linux kernel pwn 知识,第一篇主要是一些基础知识和简单漏洞利用,比较基础。

https://bash-c.github.io/post/linux-kernel-pwn-abc-1/

0xfocu5 commented 4 years ago

师傅想问一下,为什么open一次不可以

0xfocu5 commented 4 years ago

就通过uaf漏洞,为什么要open两次,kfree并没有将指针置为null啊...

bash-c commented 2 years ago

@0xfocu5 抱歉,刚看到这条留言。。。 第二次open是uaf中的use步骤,是为了操控free后的内存(不过我猜这么久了你应该也已经搞明白了

HuangPayoung commented 2 years ago

大佬,想问一下字符串显示的问题 printk("\x016core: called core_writen"); 我IDA里面遇到这种有不可见字符就不会把字符串显示出来,想问一下你是怎么设置的

bash-c commented 2 years ago

@HuangPayoung ida里选中字符串,点下A