使用 ROP 链(64 位)创建数组?
为了解决二进制利用 CTF-Challenge,我必须创建一个参数数组来传递给系统调用。我在互联网上搜索了很多,但找不到有关如何在 64 位计算机上使用 ROP-Chain 创建字符串数组的描述。
有谁知道已经完成了吗?
in order to solve a binary exploitation CTF-Challenge I have to create an array of arguments to pass to a syscall. I searched a lot on the internet, but I can't find a description on how to create an array of strings with a ROP-Chain on a 64-bit machine.
Does anyone know it's done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您提供堆栈地址,它将使用 pwntools ROP 功能自动完成。
摘自文档:
0x7fffe038: b'-c\x00 0x7fffe03c: b'ls\x00
If you supply the stack address, it will be automatically done using pwntools ROP functionality.
Excerpt from the docs:
0x7fffe038: b'-c\x00 0x7fffe03c: b'ls\x00