Logo
Tabs vs Spaces: The eternal holy war.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Unsanitized-input Memes

Posts tagged with Unsanitized-input

I Made This Calculator App When I Was 10. I Thought It Would Be Really Cool To Eval() Unsanitized Code

Security Javascript Programming Debugging
9 months ago 427.2K views 0 shares
I Made This Calculator App When I Was 10. I Thought It Would Be Really Cool To Eval() Unsanitized Code
When 10-year-old you discovered eval() and thought "this is the most elegant solution ever invented" without realizing you just created a remote code execution playground. The input field literally says alert("hi") and the app helpfully executed it, producing some cursed negative number as output. The error message is peak comedy: "If it is not working, you might have typed something bad and the app doesn't want to take the input" – translation: "I have no idea what's happening under the hood and I'm blaming YOU for it." Classic junior dev energy. Using eval() on user input is basically handing attackers the keys to your kingdom and saying "please be nice." It's the security equivalent of leaving your front door open with a sign that says "robbers welcome, valuables upstairs." But hey, at least they learned this lesson early before deploying it to production... right?

Today's picks

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Programming
291.2M views 13 days ago
S3 outage

S3 outage

Programming
260.7K views 5 years ago
Mission Accomplished!

Mission Accomplished!

Programming
98.0K views 5 years ago