cm0002@lemmy.world to Programmer Humor@programming.dev · 5 days agoInstant production ready codeeurope.pubimagemessage-square8linkfedilinkarrow-up12arrow-down10
arrow-up12arrow-down1imageInstant production ready codeeurope.pubcm0002@lemmy.world to Programmer Humor@programming.dev · 5 days agomessage-square8linkfedilink
minus-squareTabbsTheBat@pawb.sociallinkfedilinkarrow-up0·5 days agoGuys I asked ChatGPT for a secure code for my website; is this correct: if getting.hacked == true; don't
minus-squareMitch Effendi (ميتش أفندي)@piefed.mitch.sciencelinkfedilinkEnglisharrow-up0·5 days agoMost InfoSec researchers are unaware that most hackers can be stopped by saying “please.”
minus-squareTabbsTheBat@pawb.sociallinkfedilinkarrow-up0·5 days ago“Remember kids: if you’re being robbed just say “no”. They can’t do anything without your consent”
minus-squareMitch Effendi (ميتش أفندي)@piefed.mitch.sciencelinkfedilinkEnglisharrow-up0·5 days agoecho "echo "\Please don't hack me. I'm just a little guy. 👶"\" > ~/.bashrc
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up1·4 days agoGood that you escaped wrong, or you would have nuked your .bashrc. \ comes before the thing you are escaping > ⇒ overwrite from start. >> to append
Guys I asked ChatGPT for a secure code for my website; is this correct:
if getting.hacked == true; don't
Most InfoSec researchers are unaware that most hackers can be stopped by saying “please.”
“Remember kids: if you’re being robbed just say “no”. They can’t do anything without your consent”
echo "echo "\Please don't hack me. I'm just a little guy. 👶"\" > ~/.bashrc
Good that you escaped wrong, or you would have nuked your
.bashrc
.\
comes before the thing you are escaping>
⇒ overwrite from start.>>
to append