Post

TryHackMe - Compiler

Strings can only help you so far.

TryHackMe - Compiler

Tryhackme Room Link https://tryhackme.com/room/compiled

Reconaissance

We have given the Downloadable file. let’s open and observe it. this is an compailer file with unreadable texts. After run the compailer it’s asking for the password:

task

we don’t know the password let’s try to understand the file by using cat

logic

We have got a logic.

Logic

So, basically we need to enter the password with this keyphrase DoYouEven(sometext). we don’t know what the last text it is. let’s debug the compailer.

Here i used ghidra to Debug the code. Close looks, we got and hint i guess. look at the logic part

clue

We have got it. if the given password is == DoYouEven__init then the password is correct. if isn’t then it will show Try_again

Let’s try it.

flag

We have got the flag/answer.

Vardict

The ans are also shown in the file when we opened it. vardict

This post is licensed under CC BY 4.0 by the author.