this post was submitted on 09 Nov 2026
700 points (97.4% liked)

Programmer Humor

34287 readers
1597 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] MajorHavoc@programming.dev 258 points 2 weeks ago (3 children)

Okay. I briefly ate the onion, on this one. It tastes like sysadmin tears.

[–] crazycraw@crazypeople.online 141 points 2 weeks ago (3 children)

I had a msg to my team drafted before I realized I was a fucking idiot.

[–] crazycraw@crazypeople.online 56 points 2 weeks ago (6 children)

in my defense, my team is always trying to be mr. achiever and drop the latest vulnerability. I got a glimpse of this one and got excited since I hadn't heard of this "new named threat". when I tried reading further to prepare my draft... the reach and exposure of this vulnerability became clear.

also, to mitigate this, we'd have to hotpatch layer 8.

[–] decolo@piefed.social 7 points 2 weeks ago

Duct tape works a treat for that!

load more comments (5 replies)
[–] Agent641@lemmy.world 27 points 2 weeks ago

I've sent a company wide email telling everyone I don't want to be sysasmin anymore.

It has nothing to do with the CVE

load more comments (1 replies)
[–] DJKJuicy@sh.itjust.works 35 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

I was fooled until I saw the CVSS score of 11 on a scale of 0 to 10.

Up to 11

load more comments (1 replies)
[–] Tehhund@lemmy.world 9 points 2 weeks ago (1 children)

I only figured it out because I read your comment.

[–] MajorHavoc@programming.dev 12 points 2 weeks ago (1 children)

That's why I confessed. I'm glad to help.

[–] JoeBigelow@lemmy.ca 7 points 2 weeks ago (1 children)

I'm here cautiously making sure it's a joke that I don't understand. Problem exists between keyboard and seat.

[–] Tehhund@lemmy.world 8 points 2 weeks ago

Not even that, it's not a problem at all. They're just saying that when you open a terminal program you get access to the shell. That is exactly the point of a terminal program. It's a bit like "exclusive, shocking report: water is wet!"

I mean, I guess part of the joke is if an attacker can get into your computer they can do nefarious things, but that's not as funny.

[–] hanke@feddit.nu 145 points 2 weeks ago (2 children)

Just tried it out. It is real. And really simple to do.

Scary stuff. Tossing my machines in the bin tomorrow.

[–] threeonefour@piefed.ca 93 points 2 weeks ago

I'm not taking any chances. I've already tossed bash into the /bin/

[–] criss_cross@lemmy.world 22 points 2 weeks ago (2 children)

Uh oh I tossed mine in sbin. What do?

load more comments (2 replies)
[–] micgerne@lemmy.dbzer0.com 116 points 2 weeks ago (1 children)

I just tested this exploit, I was easily able to remove the french language pack by typing "rm -fr /*"

[–] a_jeering_serpent@sopuli.xyz 34 points 2 weeks ago (1 children)

Don’t forget the —no-preserve-root flag or you’ll get an index out of bounds when deleting the recipe for five-root-puree

[–] yetAnotherUser@discuss.tchncs.de 22 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

This flag is fortunately not needed as /* ensures root recipes are preserved. It's just that anything below isn't.

load more comments (3 replies)
[–] ImgurRefugee114@reddthat.com 90 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Getting a shell is bad, but what makes this worse is the insecurity of popular Linux tools that can be used for privilege escalation.

The sudo program has had a known vulnerability since its inception. The developers are incompetent. In some configurations, all you need is the user's password and you can execute arbitrary code as root. Sometimes, no password is needed at all.

[–] SwooshBakery624@programming.dev 14 points 2 weeks ago

That's why there's no sudo on my system, only doas.

[–] psud@aussie.zone 11 points 2 weeks ago

sudo is so broken, automatic privilege cloning of any user

[–] DrunkAnRoot@sh.itjust.works 53 points 2 weeks ago (1 children)

I work at google just shut off every server to protect us. 👍

[–] laranis@lemmy.zip 22 points 2 weeks ago* (last edited 2 weeks ago)

I took the "us" in your statement to be "humanity" and it sparked an unexpected feeling of hope.

[–] ns1@feddit.uk 46 points 2 weeks ago

Nobody show this to my boss please, they'll be asking me why I haven't fixed it yet

[–] feddylemmy@lemmy.world 35 points 2 weeks ago (1 children)

Phew! Just got done patching all my servers. The main IOCs are

  • C:\Windows\System32\cmd.exe
  • /bin/bash
  • /bin/sh
[–] damnthefilibuster@lemmy.world 19 points 2 weeks ago* (last edited 2 weeks ago) (2 children)
[–] ozymandias117@lemmy.world 17 points 2 weeks ago

According to the report, zsh is even worse

2009 zsh adoption grows. Now the shell is also pretty, which researchers believe lures more victims.

[–] Anafabula@discuss.tchncs.de 10 points 2 weeks ago (1 children)

nushell, ash, elvish, dash, powershell, ...

[–] sjpwarren@programming.dev 27 points 2 weeks ago (5 children)

powershell is good because no hacker can be bothered typing that much to get anything to work ;)

[–] bitjunkie@lemmy.world 15 points 2 weeks ago

Security by utter absence of usability

load more comments (4 replies)
[–] scops@reddthat.com 34 points 2 weeks ago (2 children)

Microsoft Paint: Not affected. Thank God.

[–] MisterD@lemmy.ca 12 points 2 weeks ago

Unless you have allowed the AI features to install

load more comments (1 replies)
[–] dgdft@lemmy.world 30 points 2 weeks ago

Given simple primitives and runtime permissions, a skilled hacker can even bootstrap one of these “shells” from scratch, underlining the continued importance of banning math and computer science education in our schools.

[–] stembolts@programming.dev 30 points 2 weeks ago

Holy shit, my computer is infected. I opened my terminal and typed "sudo ls -halR /" and it showed me every file on my computer. Oh my god.

[–] Allero@lemmy.today 26 points 2 weeks ago (3 children)

You should really place a /j somewhere before someone thinks they're screwed

[–] hessenjunge@discuss.tchncs.de 14 points 2 weeks ago (1 children)

The community it’s posted in is a bit of a giveaway, isn’t it?

[–] explodicle@sh.itjust.works 12 points 2 weeks ago

How dare you overestimate my intelligence.

load more comments (2 replies)
[–] epyon22@sh.itjust.works 16 points 2 weeks ago (1 children)

Gotta minimize your attack surface sudo apt remove konsole for any Debian kde based distros

[–] daychilde@lemmy.world 40 points 2 weeks ago (2 children)
[–] deadbeef79000@lemmy.nz 23 points 2 weeks ago

I used the stones to destroy the stones

[–] palordrolap@fedia.io 11 points 2 weeks ago (3 children)

While the palindromic structure of that command is pleasing to mine eye, LMDE basically called me a frickin' idiot for trying.

I know it always asks Continue [Y/n] and there's no yes | or echo | to force that, so I was reasonably sure I'd get away with it, but I don't think I could argue with the sentiment had it actually said that.

(Also, I have Timeshift, so that would have saved my bacon but for the inconvenience of having to go through a rollback.)

Anyway, here's what it said (scrolling may be required to see the last line which is clearly code for "you're an idiot"):

REMOVING:                       
  apt       apt-utils          mint-meta-cinnamon  mintsources  mintupdate       sudo
  apt-file  command-not-found  mint-meta-core      mintsystem   python3-repolib

WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  apt

Summary:
  Upgrading: 0, Installing: 0, Removing: 12, Not Upgrading: 1
  Freed space: 52.3 MB

Error: Removing essential system-critical packages is not permitted. This might break the system.
[–] jdr@lemmy.ml 9 points 2 weeks ago (6 children)

Honestly, I want to be allowed to break my system. I own it, it should do exactly what I say, warnings are fine, but software deciding it knows better than you is how we have reached the inescapable technogulag of the now.

load more comments (6 replies)
load more comments (2 replies)
[–] Agent641@lemmy.world 14 points 2 weeks ago

This one goes to 11

[–] doomsdayrs@lemmy.ml 14 points 2 weeks ago

I'm tired boss

[–] SapphironZA@sh.itjust.works 14 points 2 weeks ago

Switch off computer is the best mitigation

Removing keyboard and locking operator out of building is the next best thing.

[–] mumblerfish@lemmy.world 12 points 2 weeks ago

Oh, I heard of this one! Basically every single accidental corruption of any kind in any compny's production environment was made possible by this exploit! Scary stuff!

[–] rockSlayer@lemmy.blahaj.zone 11 points 2 weeks ago

Only tangentially related, but this reminds me of an interaction I had here on Lemmy. I was talking about my pure bash, brain-made CLI app that pushes files between Google Compute head nodes and Google Storage buckets, but does some additional fuckery with bash strings to serve as a crude git. Basically, the app manipulates a string that represents a bucket, and then uses the appropriate gcloud command with that string.

Someone was extremely concerned about the security of my app, how I should do an AI code review, and that only good programmers use all the tools available to them. I told them that I only want my code to be reviewed by humans. They said it was wild that someone would decline a security review. I told them that if there's a security issue with my app, they'll have to take it up with Google.

[–] jqubed@lemmy.world 10 points 2 weeks ago
  • 1989 Bash released. Name confirms the attack is intentional.
[–] FaceDeer@fedia.io 10 points 2 weeks ago

Finally I'm justified in doing everything via a GUI.

[–] LovableSidekick@lemmy.world 8 points 2 weeks ago

I see what you did there and I admire the subtlety.

[–] CoconutLove@lemmy.today 8 points 2 weeks ago (1 children)

Must’ve been another AI found exploit because no human could piece this together

load more comments (1 replies)
[–] Buage_@piefed.social 7 points 2 weeks ago

I rarely comment on Lemmy but you actually made me laugh for 5 minutes straight 👏

load more comments
view more: next ›