Logo
Code for the psychopath who'll maintain it.
  • 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
9 months ago 446.5K 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

BONTEC Dual Monitor Desk Mount, Full Motion Adjustable Monitor Stand for 13–27 Inch Screens, Heavy Duty Arms Hold Up to 22 lbs Each, VESA 75x75/100x100 mm, C Clamp and Grommet Base, Cable Management

BONTEC Dual Monitor Desk Mount, Full Motion Adjustable Monitor Stand for 13–27 Inch Screens, Heavy Duty Arms Hold Up to 22 lbs Each, VESA 75x75/100x100 mm, C Clamp and Grommet Base, Cable Management

Affiliate
$26.99
When ChatGPT AI writes congratulations email to CEO on layoffs. Humor and respect 😂🙌

When ChatGPT AI writes congratulations email to CEO on layoffs. Humor and respect 😂🙌

Testing
125.3K views 3 years ago
Breach of Security

Breach of Security

Frontend
108.4K views 3 years ago