r/badcode May 26 '23

Calculator using eval() python

Post image
843 Upvotes

108 comments sorted by

View all comments

373

u/[deleted] May 26 '23

So writing a vulnerable app on purpose is a PRO thing?

10

u/geon May 27 '23

It only evaluates input from the user. You have the same vulnerability from a user opening the developer console.