所属分类:
系统/网络安全
开发工具:Visual C++
文件大小:46KB
下载次数:89
上传日期:2005-12-01 22:31:01
说明: 本代码演示了缓冲区溢出的攻击与防范。我的开发环境
操作系统:windows xp professional + sp1a
编译器:visual c++.net 2003
由于操作系统的补丁太多,即使与我相同的系统也可能需要修改LoadLibrary、GetProcAddress、VirtualAlloc和"jmp esp"指令的地址。
请谨慎修改编译参数,修改参数可能导致修改程序。
请只编译release版,debug版无法正常执行。
(demonstration of the code of buffer overflow attacks and Prevention. I development environment operating system : Windows XP Service Pack 1a Express Install professional compiler : visual c. Net 2003 operating system patches too much, even with the same system, I may need to revise LoadLibrary, GetProcAddress, VirtualAlloc and "JMP esp" instruction address. Please carefully revised compiler parameters, parameter changes could lead to the revision process. Please only compiler release version, debug version of the normal implementation.)