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.94
5
4
3
2
1

Discussion

i cant get it please help.. @rivit

0

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...

1
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
Protected
0

How am I supposed to open these files?

0

it is simple tar archive - use tar command to unpack it

0

tar -xvf <filename>

0