Description
Run the Python script and convert the given number from decimal to binary to get the flag. Download Python script
Hint 1
Look up a decimal to binary number conversion app on the web or use your computerās calculator!
Hint 2
The
str_xorfunction does not need to be reverse engineered for this challenge.
Hint 3
If you have Python on your computer, you can download the script normally and run it. Otherwise, use the
wgetcommand in the webshell.
Hint 4
To use
wgetin the webshell, first right click on the download link and select āCopy Linkā or āCopy Link Addressā
Hint 5
Type everything after the dollar sign in the webshell:
$ wget, then paste the link after the space afterwgetand press enter. This will download the script for you in the webshell so you can run it!
Hint 6
Finally, to run the script, type everything after the dollar sign and then press enter:
$ python3 convertme.py
Step 1
Download and run the python file. where you will get this in the terminal
āā[user@parrot]ā[~/Downloads/PicoCTF]
āāāā¼ $python3 convertme.py
If 18 is in decimal base, what is it in binary base?
Answer:Step 2

Step 3
The answer is 10010
That is correct! Here's your flag: picoCTF{*****************}Flag
Flag
That is correct! Hereās your flag: picoCTF{*****************}