-
-
[求助]一段很简单的溢出代码。
-
发表于:
2013-7-17 13:51
4129
-
.386
.Model Flat, StdCall
Option Casemap :None
Include windows.inc
Include user32.inc
Include kernel32.inc
Include gdi32.inc
includelib gdi32.lib
IncludeLib user32.lib
IncludeLib kernel32.lib
.data
bigbuffer db 'abcdefg',0
.code
_bufferflow proc
local @smallbuffer[36]:BYTE
invoke lstrcpy,addr @smallbuffer,addr bigbuffer
_bufferflow endp
start: invoke _bufferflow
invoke ExitProcess,NULL
end start
为何在invoke _bufferflow的时候程序会崩溃呢?
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)