From 7b5895f7817f887916febd03be712b4c85b113e3 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneauwq Date: Thu, 30 Mar 2023 01:57:37 +0200 Subject: [PATCH] Fix pwn file permissions --- .../td5-stackoverflow_shellcode/files/q3/shellcode.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/secu_logicielle/td5-stackoverflow_shellcode/files/q3/shellcode.S b/content/secu_logicielle/td5-stackoverflow_shellcode/files/q3/shellcode.S index dc90d04..1c771d2 100644 --- a/content/secu_logicielle/td5-stackoverflow_shellcode/files/q3/shellcode.S +++ b/content/secu_logicielle/td5-stackoverflow_shellcode/files/q3/shellcode.S @@ -8,10 +8,9 @@ p: xorq %rdi, %rdi pop %rdi #shr $0x8, %rdi - push $0xfffffffffffffd66 + push $0x1b6 xor %rsi, %rsi pop %rsi - neg %rsi push $85 pop %rax syscall