Link To Solve the Labs:- https://play.picoctf.org/practice/challenge/166?category=5&page=1
Hello Everyone,
So Today we are Solving the Lab in the ‘Cryptography’ Category
All the things we are doing are in Kali Linux.

As you can see in the Screenshot of the Description
Description
Python scripts are invoked kind of like programs in the Terminal… Can you run this Python script using this password to get the flag?
Above Description Explanation
There are Three Files that we have to Download to Solve this Lab
List of files
- Ende.py
- pw.txt
- flag.txt.en
Above are the Three Files we have to Download
Hints
- Get the Python script accessible in your shell by entering the following command in the Terminal prompt: $ wget https://mercury.picoctf.net/static/325a52d249be0bd3811421eacd2c877a/ende.py
- man python
Above Hint’s Explanation
- We were able to learn how to download the files using the wget command from the first hint.
- The command for the Descriptive Help menu
Steps
- Make a New Directory
- Download all three files in the same directory
- Display password using cat command(cat pw.txt)
- Run Python script with the file we want to Decrypt
- Enter Password
Commands to run in each Step
mkdir Python Wrangling
wget https://mercury.picoctf.net/static/325a52d249be0bd3811421eacd2c877a/ende.py
wget https://mercury.picoctf.net/static/325a52d249be0bd3811421eacd2c877a/pw.txt
wget https://mercury.picoctf.net/static/325a52d249be0bd3811421eacd2c877a/flag.txt.en
python ende.py -d flag.txt.en
Screenshot of the Above Steps


So the Lab is Solved.
Flag :- picoCTF{4p0110_1n_7h3_h0us3_ac9bd0ff}