Skip to content

Commit cdac135

Browse files
committed
fix: sync syscall comment
1 parent 80b76e4 commit cdac135

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ read_loop:
7777
svc 0
7878
cmn x0, #0x1
7979
beq failed
80-
mov x2, x0 # The 'sync' syscall was added to fix a strange bug in RaspberryPi 4
81-
mov x8, #0x51 # More information here:
82-
svc 0 # https://github.com/rapid7/metasploit-framework/pull/19875
83-
mov x0, x2 #
80+
mov x2, x0 // The 'sync' syscall was added to fix a strange bug in RaspberryPi 4
81+
mov x8, #0x51 // More information here:
82+
svc 0 // https://github.com/rapid7/metasploit-framework/pull/19875
83+
mov x0, x2 //
8484
add x3, x3, x0
8585
subs x4, x4, x0
8686
bne read_loop

0 commit comments

Comments
 (0)