517
you are viewing a single comment's thread
view the rest of the comments
[-] TabbsTheBat@pawb.social 92 points 1 month ago

Guys I asked ChatGPT for a secure code for my website; is this correct:

if getting.hacked == true; don't

[-] Korne127@lemmy.world 100 points 1 month ago
[-] Keyboard@lemmy.world 3 points 1 month ago

๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚

[-] mitch@piefed.mitch.science 29 points 1 month ago

Most InfoSec researchers are unaware that most hackers can be stopped by saying "please."

[-] TabbsTheBat@pawb.social 25 points 1 month ago

"Remember kids: if you're being robbed just say "no". They can't do anything without your consent"

[-] mitch@piefed.mitch.science 23 points 1 month ago

echo "echo "\Please don't hack me. I'm just a little guy. ๐Ÿ‘ถ"\" > ~/.bashrc

[-] ulterno@programming.dev 2 points 1 month ago

Good that you escaped wrong, or you would have nuked your .bashrc.

  • \ comes before the thing you are escaping
  • > โ‡’ overwrite from start. >> to append
[-] mitch@piefed.mitch.science 2 points 1 month ago

You don't have to explain that kind of stuff, you know. I understand the notion, but, I promise you, it is immaterial to the joke I was making on this shitposting forum.

[-] henfredemars@infosec.pub 19 points 1 month ago

The explicit comparison to true makes it even better.

[-] prole@lemmy.blahaj.zone 9 points 1 month ago* (last edited 1 month ago)

I don't know, I don't know how to code.

But I just asked Chat GPT and it said yeah.

this post was submitted on 10 Aug 2025
517 points (99.1% liked)

Programmer Humor

26722 readers
144 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 2 years ago
MODERATORS