Share
## https://sploitus.com/exploit?id=B1EAE59D-0AE3-566A-83B5-E4C1DD77A2CF
This is a CTF (Capture The Flag) challenge repository from the CONFidence CTF 2014 event. The repository contains several files and directories related to two tasks: "Crypto Machine" and "Memory".

**Crypto Machine**

The "Crypto Machine" task is a reverse engineering challenge that involves exploiting a vulnerability in a simple cryptographic program. The program is a virtual machine that implements a simple cryptographic algorithm. The goal is to exploit the vulnerability to obtain the flag.

The challenge involves:

Unpacking a slightly corrupted UPX-packed executable
Reverse engineering a simple virtual machine implemented in the challenge
Calculating the textual string expected by the VM program
Noticing that with the correct input, the real flag is constructed in memory in a destructor routine

The repository contains several files related to this challenge, including:

`password.txt`: a file containing a password
`flag.txt`: a file containing the flag
`Crypto Machine`: a directory containing the challenge files, including the virtual machine implementation and the destructor routine

**Memory**

The "Memory" task is a reverse engineering challenge that involves unpacking a slightly corrupted UPX-packed executable and reverse engineering a simple virtual machine implemented in the challenge. The goal is to calculate the textual string expected by the VM program and