Logo
First tweet ever: 'just setting up my twttr'
  • 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

System vulnerability Memes

Posts tagged with System vulnerability

Integer Overflow: The Ultimate Wish Hack

Programming Debugging Security C++ Algorithms
1 year ago 448.8K views 1 shares
Integer Overflow: The Ultimate Wish Hack
When the genie says "no wishing for more wishes," every programmer knows there's a workaround. This dev just exploited the classic integer overflow vulnerability! By storing wishes in an unsigned 32-bit integer (max value: 4,294,967,295) and then cleverly manipulating the order of operations, they've essentially created an infinite wish glitch. The coup de grâce? Wishing for 0 wishes. Since the subtraction happens after the wish is granted, they'll still have 4,294,967,295 wishes left. The genie's face says it all - outsmarted by someone who clearly debugs race conditions for a living. And this, friends, is why you always validate your inputs and use proper synchronization primitives. Otherwise some smartass in a code review will point out how your entire wish-granting API can be exploited.

Today's picks

SteelSeries Apex Pro Mini Gen 3 OmniPoint 3.0 HyperMagnetic Switches — Adjustable Actuation — Rapid Trigger — Game-Ready Presets — Protection Mode — Rapid Tap/SOCD — RGB — PBT Keycaps — USB-C

SteelSeries Apex Pro Mini Gen 3 OmniPoint 3.0 HyperMagnetic Switches — Adjustable Actuation — Rapid Trigger — Game-Ready Presets — Protection Mode — Rapid Tap/SOCD — RGB — PBT Keycaps — USB-C

Affiliate
$164.99
Programmers in these days

Programmers in these days

Programming
65.0K views 4 years ago
Your Code's Emotional Support Animal

Your Code's Emotional Support Animal

Programming
232.8K views 1 year ago