Description

Fix the syntax error in this Python script to print the flag.Download Python script


Step 1

using wget download the file onto the picoCTF Webshell

wget https://artifacts.picoctf.net/c/25/fixme1.py

Step 2

try to run the file

python fixme1.py 
  File "/home/g2_pilot_tester-picoctf/fixme1.py", line 20
    print('That is correct! Here\'s your flag: ' + flag)
IndentationError: unexpected indent

Seeing the Indentation error this means that line 20 indentation needs to get fixed. you can fix it with nano and rerun the file to get the flag.

Flag