runme.py
Description
Run the runme.py script to get the flag. Download the script with your browser or with wget in the webshell.Download runme.py Python script
Hints
Hint(s)
- If you have Python on your computer, you can download the script normally and run it. Otherwise, use the
wgetcommand in the webshell.- To use
wgetin the webshell, first right click on the download link and select ‘Copy Link’ or ‘Copy Link Address’- 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!- Finally, to run the script, type everything after the dollar sign and then press enter:
$ python3 runme.pyYou should have the flag now!
Step(s)
using wget to download the file wget https://artifacts.picoctf.net/c/34/runme.py then run it with python python runme.py or open the file (cat, nano, vim, etc.) to review the code to see if you can find the flag.
Flag
Flag
picoCTF{run_s4n1ty_run}