Skip to content

Commit 9436e00

Browse files
authored
Put sockfd to r0
r0 has return value instead of sockfd in second loop interation
1 parent 8fa437e commit 9436e00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ loop:
8888
swi 0
8989
cmp r0, #0
9090
blt failed
91+
mov r0, r12 @ replace return code with sockfd
9192
b loop
9293
last:
9394
add r2,#1000 @ len

0 commit comments

Comments
 (0)