Skip to content

Commit e79f3e6

Browse files
committed
Revert "Use /bin/bash instead of bin/sh"
This reverts commit f2e3794.
1 parent f2e3794 commit e79f3e6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: shell.asm

+3-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ _start:
1010
push 59 ;sys_execve
1111
pop rax
1212
xor rsi, rsi ;NULL
13-
xor rdx, rdx ;NULL
13+
xor rdx, rdx ;NULL
1414
push rdi
15-
;mov rdi, 0x68732F2f6e69622F ;/bin/sh in reverse
16-
mov rdi, 0x616268732F2f6e69622F ; /bin/bash in reverse
15+
mov rdi, 0x68732F2f6e69622F ;/bin/sh in reverse
1716
push rdi
1817
mov rdi, rsp ;pointer to the /bin/sh
19-
syscall
18+
syscall

0 commit comments

Comments
 (0)