Make sure that rsp & 0xF == 0 when calling the print_flag function. If it is not, you need to pad your payload with ret instruction, see - https://www.ctfnote.com/pwn/linux-exploitation/rop/stack-alignment
Make sure that rsp & 0xF == 0 when calling the print_flag function. If it is not, you need to pad your payload with ret instruction, see - https://www.ctfnote.com/pwn/linux-exploitation/rop/stack-alignment
1 year ago
i cant get it please help.. @rivit