Rating:
The task description mentions a certain "Mr. Shamir," which is a small hint that we are dealing with a Shamir's Secret Sharing scheme task.
1. After studying the code in the challenge.py file, it can be understood that parts of the flag are used as a secret, and our task is to find these parts and assemble them together.
2. We will write a small script to process the output.txt file and run the decoding using the Python ShamirDecoder library (see script below). https://ibb.co/J5s68Zc
Flag: VishwaCTF{l4gr4ng3_f0r_th3_w1n!}.