Tags: reverse 

Rating:

[https://github.com/chaocipher/Writeups/blob/master/ASIS%202018%20-%20Warm%20up.pdf](http://)

# Warm up
### Category: Reverse
### 27 Points
### 283 Solves
### Problem description:
### Must-Have Pre-Workout Warm up Challenge.
### Author: Chaocipher
### Date: 5/2/2018
### Thanks goes to ASIS for organizing the CTF.
## Start
I downloaded the file from the description. It’s just a 7z file nested inside another 7z file with one file inside:
warmup
{see screenshot at URL above}

## Warmup
This is just a .c file with a bit of code put into a single line to read.
{see screenshot at URL above}

I tinkered with the code a bit, but I didn’t see anything wrong so I just tried to compile it. With enough effort I was able to get the correct GCC compile command with all the required imports. Here is the string I ended up with:
#### gcc warmup.c -o warmup.exe -include stdint.h -include stdio.h -include math.h

From there I just ran the exe and waited for a couple minutes.
{see screenshot at URL above}
### ASIS{hi_all_w31c0m3_to_ASISCTF}

Original writeup (http://www.bitforksecurity.com/).