Challenge Description

Alright, our task is to convert a number from decimal to binary, pretty simple! There are many ways to do this.

First, we download the Python script convertme.py (using wget), and ran nano immediately to examine the code.

How the provided python script looks like

It seems like upon running the script, a random number between 10 to 100 will be generated, and we are tasked to convert this number from decimal to binary. If our answer is correct, we are awarded with the flag.

To assist myself, I added this line in the above script:

print(f'Binary representation is {bin(num)}')

This line prints the binary representation of the decimal number right before I am asked for the answer, which will allow me to basically copy and paste the correct answer and get the flag easily.

Running the script with this added line will allow us to acquire the flag. Alternatively, you can use online decimal to binary conversion tools or perform manual conversion.

Flag

picoCTF{4ll_y0ur_b4535_722f6b39}