From c9cbeced5b3f2bdd7407e29c0811e65954132540 Mon Sep 17 00:00:00 2001 From: Root THC Date: Tue, 24 Feb 2026 12:42:47 +0000 Subject: initial --- other/shellkit/x86_linux/read.s | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 other/shellkit/x86_linux/read.s (limited to 'other/shellkit/x86_linux/read.s') diff --git a/other/shellkit/x86_linux/read.s b/other/shellkit/x86_linux/read.s new file mode 100644 index 0000000..870d125 --- /dev/null +++ b/other/shellkit/x86_linux/read.s @@ -0,0 +1,22 @@ + .globl cbegin + .globl cend + +cbegin: + jmp cend + +rrr: + movb $0xfa, %dl /* length */ + + popl %ecx /* position */ + + push $0x41 + pop %ebx + xorb $0x41, %bl + + push $0x3 + pop %eax + int $0x80 /* read */ + +cend: + call rrr + -- cgit v1.3