/Recurso-Disassembler

Disassembler written in python to disassemble recurso bytecode file (.recc)

Primary LanguagePython

Recurso-Disassembler

Disassmbler , Emulator written in python language to disassemble the Recurso compiled bytecode.

  1. Disassmbles the bytecode to Recurso instructions
  2. Emulates the execution of the Recurso bytecode

This was written completely based on given Recurso Executable in the CTF.
By analyszing the decompiled code of given executable and understanding it -> written this disassmbler, emulator to solve the challenge.

Recurso is a stack based interpreted functional programming language given in K3RN3LCTF.
The language was created by Abraxus

Recurso Compiler & Instruction set & More about it : https://github.com/Kasimir123/Recurso

CTF Challenges

There are two challanges given in the CTF. based on this Recurso VM

  1. Recurso (file : leFlag.recc)
  2. Rasm (file : rasm.recc)

Both are files compiled by Recurso Executable which is emulator, compiler.
We can run recc bytecode file with the given Recuso file.

Goal is

challenge files (.recc - Recurso compiled) contain the flag checking logic.
By getting functionality of them , Reversing the logic -> getting flag.

More about the Challanges :

  1. Recurso
  2. Rasm