-
-
[求助]一段很简单的溢出代码。
-
发表于:
2013-7-17 13:51
4130
-
.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的时候程序会崩溃呢?
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课