ciscn

ciscn,第1张

ciscn

栈转移

不重复造轮子!!!

推荐链接,结合着看,认真看完基本上就懂了!

https://bbs.pediy.com/thread-258030.htm

https://bbs.pediy.com/thread-269163.htm

https://blog.csdn.net/mcmuyanga/article/details/109318321

https://www.freebuf.com/articles/system/305341.html

注意:system函数传进去的是/bin/sh的地址,/bin/sh写到栈里面去了,借用ebp算s的位置,继而算出偏移值!

理解起来有难度,柳暗花明又一村!

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5572678.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-14
下一篇 2022-12-14

发表评论

登录后才能评论

评论列表(0条)

保存