Home >

Huntress CTF > Easy Challenges

Back <> Next

While walking home through a dark alley you find an archaic 1980s cassette tape. It has “PRESS PLAY ON TAPE” written on the label. You take it home and play it on your old tape deck. It sounds awful. The noise made you throw your headphones to the floor immedately. You snagged a recording of it for analysis.

For this challenge we are given an audio file to download “pressplayontape.wav”. Which you should under no circumstances play with the volume turned on.

The key to this challenge is to be old enough to recognize that the name of this challenge is a reference to commodore 64 games. The Commodore 64 was an iconic home computer system from the early 1980s that used cassette tapes as a common storage medium for programs and games. When you loaded a game or program from a cassette tape on a C64, you typically saw the message “Press Play on Tape” on the screen.

press_play1

The gimic here is to convert the .wav file into a .t64 file. to do this, we downloaded a few programs from SourceForge specifically, you need to download the WAV-PRG and [Audiotap](https://sourceforge.net/projects/wav-prg/files/audiotap/2.2.1/audiotap-2.2.1-win32.zip/download}. They will come in the form of .zip archive. We moved the zips to a folder, and extracted the wav-prg, followed by the autiotap while choosing to replace all files that are duplicate.Then run the wavprg.exe and choose the option to convert the file to T64.

press_play2

Then click ok, and choose the .wav file on the next screen, as well as the destination to save the output to. The result will be a .t64 file that you can retrieve the flag from using a few different methods. The easiest method would be to run strings on the file or view it in a text editor:

press_play3

Alternatively, you could also use an online Emulator. Simply upload the t64 file and type run in the console and it will print the flag!

press_play4

Back <> Next