The first thing I did, was to download the code and then try to compile it and run it on my own local machine. When that was unsuccessful, I then tried to play around with the online version of it. After using ghidra, I was still unable to find the flag. I then references this site, and then I got a hint about what to do. I also did view this site in order to get a better understanding of the program. I then ran the script from the second website, using pwntools.

This led me to get the flag:

However, that flag was incorrect. I had to do further research and found this site, where the guy reveals how he solved it and that answer worked for me:

Last updated