Logo
Why do Java developers wear glasses? Because they don't C#!
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • 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

Security bug Memes

Posts tagged with Security bug

The Single Equals Nightmare

Debugging Javascript Programming Testing Security
5 months ago 486.8K views 0 shares
The Single Equals Nightmare
Peacefully sleeping until your brain suddenly screams: "WAIT! That code uses a single equals sign for comparison instead of double equals! That's an assignment, not a condition check!" That single character difference between if (user = admin) and if (user == admin) means you're not checking if user equals admin—you're literally making user become admin and then checking if that assignment succeeded (which it always will). Congratulations, you just gave everyone admin access!

Today's picks

VOXii Auditory Feedback Wireless Headphones - Brain Training air Conduction Bluetooth Headphones, Enhanced Speech, Memory and Attention, for You and Your Children, Help with Autism ADHD

VOXii Auditory Feedback Wireless Headphones - Brain Training air Conduction Bluetooth Headphones, Enhanced Speech, Memory and Attention, for You and Your Children, Help with Autism ADHD

Affiliate
$36.88
The Real Reason We Use CI

The Real Reason We Use CI

Programming
372.7K views 1 year ago
GearScouts.com

GearScouts.com

Sponsored
Power stations