rgbCTF-2020

CTF Writeup - https://ctf.rgbsec.xyz/

Home Other writeups of rgbCTF-2020
14 July 2020

Object Oriented Programming

by raghul-rajasekar

There’s this small up and coming language called java I want to tell you about

Files:

Solution

Extracting from src.zip gives us a bunch of Java files with two-letter names and an rather verbose Main.java file. Each two-letter Java file has several two-letter functions, each returning some other two-letter string. The gist of Main.java is:

This sufficiently detailed explanation should be enough to get the flag. The chunks corresponding to ja, va, ut and il were found to be glvg, prpk, qgam and fggg respectively. XORing glvgprpkqgamfggg with 2 gave enterprisecodeee, which was the flag.

Flag

rgbCTF{enterprisecodeee}
tags: