非常经典
[aleph1]$ gcc -o shellcode -ggdb -static shellcode.c
[aleph1]$ gdb shellcode
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.15 (i586-unknown-linux), Copyright 1995 Free Software Foundation, Inc...
(gdb) disassemble main
Dump of assembler code for function main:
0x8000130 <main>: pushl %ebp
0x8000131 <main+1>: movl %esp,%ebp
0x8000133 <main+3>: subl $0x8,%esp
0x8000136 <main+6>: movl $0x80027b8,0xfffffff8(%ebp)
0x800013d <main+13>: movl $0x0,0xfffffffc(%ebp)
0x8000144 <main+20>: pushl $0x0
0x8000146 <main+22>: leal 0xfffffff8(%ebp),%eax
0x8000149 <main+25>: pushl %eax
0x800014a <main+26>: movl 0xfffffff8(%ebp),%eax
0x800014d <main+29>: pushl %eax
0x800014e <main+30>: call 0x80002bc <__execve>
0x8000153 <main+35>: addl $0xc,%esp
0x8000156 <main+38>: movl %ebp,%esp
0x8000158 <main+40>: popl %ebp
0x8000159 <main+41>: ret
End of assembler dump.
(gdb) disassemble __execve
Dump of assembler code for function __execve:
0x80002bc <__execve>: pushl %ebp
0x80002bd <__execve+1>: movl %esp,%ebp
0x80002bf <__execve+3>: pushl %ebx
0x80002c0 <__execve+4>: movl $0xb,%eax
0x80002c5 <__execve+9>: movl 0x8(%ebp),%ebx
0x80002c8 <__execve+12>: movl 0xc(%ebp),%ecx
0x80002cb <__execve+15>: movl 0x10(%ebp),%edx
0x80002ce <__execve+18>: int $0x80
0x80002d0 <__execve+20>: movl %eax,%edx
0x80002d2 <__execve+22>: testl %edx,%edx
0x80002d4 <__execve+24>: jnl 0x80002e6 <__execve+42>
0x80002d6 <__execve+26>: negl %edx
0x80002d8 <__execve+28>: pushl %edx
0x80002d9 <__execve+29>: call 0x8001a34 <__normal_errno_location>
0x80002de <__execve+34>: popl %edx
0x80002df <__execve+35>: movl %edx,(%eax)
0x80002e1 <__execve+37>: movl $0xffffffff,%eax
缓冲区溢出原理及防范_IT/计算机_专业资料。缓冲区溢出原理及防范摘要: 正文: 大纲: 1. 引言; 随着网络安全技术的飞速发展,缓冲区溢出漏洞已经成为当前最具安全...
标题:缓冲区溢出的原理和实践(Phrack) 作者:Sinbad 发信人: Sinbad <MicroBin@263.net> 标题: 缓冲区溢出的原理和实践(Phrack) 发信站: 辛巴达 (Fri Jun 15...
缓冲区溢出攻击 23页 2财富值 缓冲区分析 12页 5财富值 缓冲区溢出攻击原理与防范 11页 免费 缓冲区溢出原理及防护 7页 1财富值 缓冲区溢出的原理和实践 ...
缓冲区溢出的原理和实践 42页 2财富值 02 缓冲区溢出原理 23页 免费 缓冲... 缓冲区溢出原理学习.txt 如果我能够看到自己的影子,我想它一定很忧伤,因为我...
Windows缓冲区溢出利用原理_专业资料。缓冲区溢出问题广泛存在于软件系统中,本文详细分析缓冲区溢出的原理,并且介绍如何利用缓冲区溢出漏洞的一般方法。...
代码安全机制与实现技术》 《代码安全机制与实现技术》 缓冲区溢出原理教学课件:... 口腔执业医师实践技能复习资料 中医护理学基础重点 执业医师实践技能考试模拟试题...
bufbomb,缓冲区溢出_理学_高等教育_教育专区。CSAPP今日推荐 68份文档 ... 缓冲区溢出的原理和实践 68页 免费 缓冲区溢出实验说明 9页 免费 缓冲区溢出...
缓冲区溢出的补救措施 缓冲区溢出原理缓冲区溢出 缓冲区是内存中存放数据的地方... 缓冲区溢出的原理和实践 68页 免费 缓冲区溢出攻击原理 11页 免费...
计算机与信息学院 《软件安全》专题实践报告 专题题目:缓冲区溢出 难度类型: ...任务概述熟悉缓冲区溢出原理,掌握缓冲区溢出的方法,能编写简单的缓冲区溢出程序。...
热门文档