Logo
Why did the programmer quit his job? Because he didn't get arrays.
  • 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

Childhood-projects Memes

Posts tagged with Childhood-projects

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

Security Javascript Programming Debugging
8 months ago 409.7K 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

Handover

Handover

Programming
172.4M views 2 days ago
Anker PowerConf C200 2K Webcam for PC/Laptop/Mac, Low-Light Correction

Anker PowerConf C200 2K Webcam for PC/Laptop/Mac, Low-Light Correction

Affiliate
$69.99
The point counts on these comments

The point counts on these comments

Programming
83.6K views 4 years ago