summaryrefslogtreecommitdiff
path: root/other/shellkit/x86_linux/xor.s
diff options
context:
space:
mode:
authorRoot THC2026-02-24 12:42:47 +0000
committerRoot THC2026-02-24 12:42:47 +0000
commitc9cbeced5b3f2bdd7407e29c0811e65954132540 (patch)
treeaefc355416b561111819de159ccbd86c3004cf88 /other/shellkit/x86_linux/xor.s
parent073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff)
initial
Diffstat (limited to 'other/shellkit/x86_linux/xor.s')
-rw-r--r--other/shellkit/x86_linux/xor.s24
1 files changed, 24 insertions, 0 deletions
diff --git a/other/shellkit/x86_linux/xor.s b/other/shellkit/x86_linux/xor.s
new file mode 100644
index 0000000..29e3b78
--- /dev/null
+++ b/other/shellkit/x86_linux/xor.s
@@ -0,0 +1,24 @@
1 .globl cbegin
2 .globl cend
3
4cbegin:
5 jmp XOR_down
6
7XOR_up:
8 popl %ebx
9 movb $0x26, %cl /* lenght */
10
11XORLoop:
12 xorb $0x64, %bl /* xor key */
13 incl %ebx
14 dec %cl
15 jnz XORLoop
16 jmp XORLoopDone
17
18XOR_down:
19 call XOR_up
20
21XORLoopDone:
22 .ascii ""
23
24cend: