Your task is simple - call the function print_flag. It is guarded by a couple of ifs - good luck in defeating them.
print_flag
if
nc rivit.dev 10000
1 day ago
tar
tar?
7 months ago
error the binary file from the tar archive " ┌──(XD㉿linux)-[~/Desktop] └─$ ./task zsh: no such file or directory: ./task"
wrong binary... only online works
ldd ./task linux-gate.so.1 (0xf7f84000) ./libc.so.6 => not found
2 years ago
i cant get it please help.. @rivit
you can ask for help on ctflearn discord :)
ASLR issue.. please help me..
Is there anything wrong with executable from tar? I can't run it...
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
ret
1 day ago
tar