Two times sixteen
20 points Easy

Your task is simple - call the function print_flag. It is guarded by a couple of ifs - good luck in defeating them.

nc rivit.dev 10000

task.tar.gz
Flag
Rating 4.95
5
4
3
2
1

Discussion

error the binary file from the tar archive " ┌──(XD㉿linux)-[~/Desktop] └─$ ./task zsh: no such file or directory: ./task"

0

wrong binary... only online works

ldd ./task linux-gate.so.1 (0xf7f84000) ./libc.so.6 => not found

0

i cant get it please help.. @rivit

1

you can ask for help on ctflearn discord :)

0
Protected
0

ASLR issue.. please help me..

0

Is there anything wrong with executable from tar? I can't run it...

2
Protected
0
Protected
2

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

0