Skip to content

Instantly share code, notes, and snippets.

@ovkulkarni
Last active May 15, 2016 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ovkulkarni/5a8d273e19ddcc8d2c2c437906276326 to your computer and use it in GitHub Desktop.
Save ovkulkarni/5a8d273e19ddcc8d2c2c437906276326 to your computer and use it in GitHub Desktop.

Whitespace

Problem: I’ve found this java program on someone’s computer that looks fishy.

Hint: I wonder, is that really Java?

The hint leads us to believe that that program is not actually a Java program, which can be confirmed by trying to compile the program in Java. If we Google the term whitespace, we find that it is a programming language. Next, we can search Google for a whitespace interpreter. We used the one found here. This interpreter has an upload option, so we just upload the program and click Exec.

This results in an output of The flag is: two_programs_in_one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment