Run Me, Baby!

Challenge:

This one's easy, ain't it? Just run the .class file. Hope you like Java!

Solution:

Trying to execute the Class file resulted in an error to to missing Groovy libraries:

$ java runme
Error: Could not find or load main class runme
Caused by: java.lang.NoClassDefFoundError: groovy/lang/Script

Luckily for me there was a Groovy JAR file included with Ghidra on my CTF-Rig.

$ java -cp /home/pingtrip/Tools/ghidra/Ghidra/Features/GhidraServer/data/yajsw-stable-12.12/lib/extended/groovy/groovy-all-2.4.11.jar:. runme
[removed the program warnings]

The flag is: he2021{isnt_17_gr00vy_baby?}

The accepted flag was, he2021{isnt_17_gr00vy_baby?}

Published:

Updated:

Leave a comment