From 80b76e4f5f294df721048674bcaac00b96dc9680 Mon Sep 17 00:00:00 2001 From: dledda-r7 Date: Fri, 14 Feb 2025 04:31:11 -0500 Subject: [PATCH] docs: add reference to the pull-request inside source --- .../source/shellcode/linux/aarch64/stager_sock_reverse.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/external/source/shellcode/linux/aarch64/stager_sock_reverse.s b/external/source/shellcode/linux/aarch64/stager_sock_reverse.s index 1a9ef4fa2a..026caf3079 100644 --- a/external/source/shellcode/linux/aarch64/stager_sock_reverse.s +++ b/external/source/shellcode/linux/aarch64/stager_sock_reverse.s @@ -77,10 +77,10 @@ read_loop: svc 0 cmn x0, #0x1 beq failed - mov x2, x0 - mov x8, #0x51 - svc 0 - mov x0, x2 + mov x2, x0 # The 'sync' syscall was added to fix a strange bug in RaspberryPi 4 + mov x8, #0x51 # More information here: + svc 0 # https://github.com/rapid7/metasploit-framework/pull/19875 + mov x0, x2 # add x3, x3, x0 subs x4, x4, x0 bne read_loop