Coldus12@lemmy.fmhy.ml to Selfhosted@lemmy.worldEnglish · 1 year agoSetting up your own VPNmessage-squaremessage-square37fedilinkarrow-up114arrow-down10file-text
arrow-up114arrow-down1message-squareSetting up your own VPNColdus12@lemmy.fmhy.ml to Selfhosted@lemmy.worldEnglish · 1 year agomessage-square37fedilinkfile-text
minus-squareRikudou_Sage@lemmings.worldlinkfedilinkEnglisharrow-up2arrow-down1·1 year agoSecurity 101: Never blindly run shell scripts from a random comment on the internet.
minus-squaregravitas_deficiency@sh.itjust.workslinkfedilinkEnglisharrow-up0·1 year agoIt’s also piped to sudo so that’s super cool too
minus-squareGlitzyArmrest@lemmy.worldlinkfedilinkEnglisharrow-up0·1 year agoI sure hope there isn’t a rm -rf floating around in there somewhere… kind of like a certain past incident with major gaming client.
minus-squaregabriele97@lemmy.g97.toplinkfedilinkEnglisharrow-up0·1 year agoI want to know more 😳 do you have something? A link?
minus-squareRikudou_Sage@lemmings.worldlinkfedilinkEnglisharrow-up1·1 year agoIn the Steam Linux client, there was this line: rm -rf "$STEAMROOT/"*. If the variable $STEAMROOT isn’t defined (or is an empty string), it basically runs rm -rf "/"*, which means delete all subfolders of /.
minus-squareBlueBockser@programming.devlinkfedilinkEnglisharrow-up0arrow-down1·1 year agoTbf, a lot of applications and tools provide installation scripts in lieu of more elaborate manual setup. Doesn’t make it safer, but if you want to install something, you have to trust the source with shell access at some point anyway.
Security 101: Never blindly run shell scripts from a random comment on the internet.
It’s also piped to
sudo
so that’s super cool tooI sure hope there isn’t a
rm -rf
floating around in there somewhere… kind of like a certain past incident with major gaming client.I want to know more 😳 do you have something? A link?
In the Steam Linux client, there was this line:
rm -rf "$STEAMROOT/"*
.If the variable
$STEAMROOT
isn’t defined (or is an empty string), it basically runsrm -rf "/"*
, which means delete all subfolders of /.Tbf, a lot of applications and tools provide installation scripts in lieu of more elaborate manual setup. Doesn’t make it safer, but if you want to install something, you have to trust the source with shell access at some point anyway.