Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yuawn Pwn1 orw Writeup - kazma's blog #9

Open
kazmatw opened this issue Dec 12, 2023 · 1 comment
Open

Yuawn Pwn1 orw Writeup - kazma's blog #9

kazmatw opened this issue Dec 12, 2023 · 1 comment

Comments

@kazmatw
Copy link
Owner

kazmatw commented Dec 12, 2023

https://kazma.tw/2023/12/10/Yuawn-Pwn1-orw-Writeup/

lab_rop1執行看一下: file 看一下: r2 看一下 main: OK,首先他把第一個輸入讀到全域變數 obj.name,然後開了一個 0x10 的 buffer 但是讀了 0x100 個 bytes。那我們的計畫就是把 “/bin/sh\0” 先放到 obj.name,然後正常 rop 就行,值得注意的是因為是 statically linked,所以基本上

@kazmatw
Copy link
Owner Author

kazmatw commented Dec 12, 2023

快更新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant