513
you are viewing a single comment's thread
view the rest of the comments
[-] TabbsTheBat@pawb.social 91 points 5 days ago

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

if getting.hacked == true; don't

[-] Korne127@lemmy.world 99 points 5 days ago
[-] Keyboard@lemmy.world 2 points 4 days ago

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

[-] mitch@piefed.mitch.science 28 points 5 days ago

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

[-] TabbsTheBat@pawb.social 24 points 5 days 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 5 days ago

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

[-] ulterno@programming.dev 2 points 3 days 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 3 days 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 5 days ago

The explicit comparison to true makes it even better.

[-] prole@lemmy.blahaj.zone 9 points 5 days ago* (last edited 5 days 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
513 points (99.2% liked)

Programmer Humor

25699 readers
1396 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