Created
June 16, 2021 01:38
-
-
Save rayepeng/169c1db623461e8c17fe4cc21d91d2fd to your computer and use it in GitHub Desktop.
shellcode 编写
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 参考 https://bbs.pediy.com/thread-256000.htm | |
| 利用FPU获取EIP | |
| section .text | |
| BITS 32 | |
| global CMAIN | |
| CMAIN: | |
| fldz | |
| fnstenv [esp-0xc] | |
| pop eax | |
| add al,0x09 | |
| xor eax, eax | |
| ret | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment