diff options
| author | Root THC | 2026-02-24 12:42:47 +0000 |
|---|---|---|
| committer | Root THC | 2026-02-24 12:42:47 +0000 |
| commit | c9cbeced5b3f2bdd7407e29c0811e65954132540 (patch) | |
| tree | aefc355416b561111819de159ccbd86c3004cf88 /other/shellkit/x86_linux/setuid.s | |
| parent | 073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff) | |
initial
Diffstat (limited to 'other/shellkit/x86_linux/setuid.s')
| -rw-r--r-- | other/shellkit/x86_linux/setuid.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/other/shellkit/x86_linux/setuid.s b/other/shellkit/x86_linux/setuid.s new file mode 100644 index 0000000..e78410a --- /dev/null +++ b/other/shellkit/x86_linux/setuid.s | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | .globl cbegin | ||
| 2 | .globl cend | ||
| 3 | |||
| 4 | cbegin: | ||
| 5 | |||
| 6 | main: | ||
| 7 | pushb $0x17 | ||
| 8 | popl %eax | ||
| 9 | movw $0x4141, %ebx | ||
| 10 | xorw $0x4242, %ebx | ||
| 11 | int $0x80 | ||
| 12 | |||
| 13 | cend: | ||
| 14 | |||
