Enumeration & Exploitation Challenge 1 - Java++

Accuracy: 100%

Prompt

Cyber Command: We’ve identified a language that claims to be Java++ but we’re not convinced.


Answers

Q1 (10 pts) - What language was this program written in?
Scala

Q2 (15 pts) - What type does this program extend?
App

Q3 (40 pts) - What is an input to this program that will produce a successful exit code?
SKY-SCLA-6830


Steps I Took

Q1 & Q2 — Googled the first line of the code: object Flag extends App {. Results pointed to Scala. The second answer, App, was visible directly in that same line.

Q3 — Had no idea how to reverse-engineer the flag value. Asked Claude.ai — it got it wrong the first time.

Told it to try again and it got the correct answer. Two CS students also looked at it and couldn’t figure it out either.