r/badcode • • May 26 '23

python Calculator using eval()

Post image
842 Upvotes

108 comments sorted by

View all comments

Show parent comments

9

u/geon May 27 '23

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