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

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
10 months ago 468.6K 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

SUNMALL Replacement Keyboard Compatible with Lenovo IBM Thinkpad E15 2019 Gen 1 20RD 20RE, E15 2020 Gen 2, E15 2021 Gen 3 Thinkpad E15 2022 Gen 4, with Pointer and Backlight

SUNMALL Replacement Keyboard Compatible with Lenovo IBM Thinkpad E15 2019 Gen 1 20RD 20RE, E15 2020 Gen 2, E15 2021 Gen 3 Thinkpad E15 2022 Gen 4, with Pointer and Backlight

Affiliate
$23.99
Looks Like 90% of My Code

Looks Like 90% of My Code

Programming
194.5K views 5 years ago
Don't Ask Them To Help You With Garry's Mod

Don't Ask Them To Help You With Garry's Mod

Gamedev
1.1M views 6 months ago