Description
Fix the syntax error in the Python script to print the flag.Download Python script
Hint 1
ASCII is one of the most common encodings used in programming
Hint 2
We know that the glitch output is valid Python, somehow!
Hint 3
Press Ctrl and c on your keyboard to close your connection and return to the command prompt.
Step 1
Download the python script using wget on the picoCTF webshell
wget https://artifacts.picoctf.net/c/6/fixme2.pyStep 2
try to run the file
python fixme2.py
File "/home/g2_pilot_tester-picoctf/fixme2.py", line 22
if flag = "":
^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?using nano change the line 22 to if flag == "":
Flag
Flag
picoCTF{3qu4l1ty_n0t_4551gnm3nt_b4d595d9}