This is a level 3 challenge on picoctf this is the challenge. In this challenge we are given a very strange looking file and we have to find out what is the content of the file. Now the most helpful hint is in the name of the challenge. After little bit of googling i found out this wikipedia page after digging a little deeper it became clear that this is JSFuck. That was the tough part now we just needed to write a java script function to get this executed. Here is the code
flag

function myFunction() {
}

 

just put the entire content of the file in the function and execute you will get the flag.

Advertisements