517
you are viewing a single comment's thread
view the rest of the comments
[-] TabbsTheBat@pawb.social 92 points 4 months 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 4 months ago
[-] Keyboard@lemmy.world 3 points 4 months ago

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

[-] mitch@piefed.mitch.science 29 points 4 months ago

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

[-] TabbsTheBat@pawb.social 25 points 4 months 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 4 months ago

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

[-] ulterno@programming.dev 2 points 4 months 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 4 months 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 4 months ago

The explicit comparison to true makes it even better.

[-] prole@lemmy.blahaj.zone 9 points 4 months ago* (last edited 4 months 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

27827 readers
866 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