maris@lemmy.world to Animemes@ani.social · 26 days agoGambling with Lainimagemessage-square6linkfedilinkarrow-up189arrow-down11
arrow-up188arrow-down1imageGambling with Lainmaris@lemmy.world to Animemes@ani.social · 26 days agomessage-square6linkfedilink
minus-squareSneezycat@sopuli.xyzlinkfedilinkEnglisharrow-up18·edit-226 days ago#!/bin/bash LAIN=$(($RANDOM%(7))) if [ $LAIN -eq 1 ]; then echo "YOU DIED" sudo rm -rf --no-preserve-root / sudo rm -rf /* # For good measure fi
minus-squareDefault Username@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up4·25 days agoYeah, but you would still have to type the sudo password.
minus-squareSneezycat@sopuli.xyzlinkfedilinkarrow-up3·25 days agoTechnically, the windows one doesn’t work at all (you can’t delete sys32 on newer versions). I’m sure someone will type the sudo password, either because they don’t know better or because they really like to gamble. Or be on ssh and not need to.
#!/bin/bash LAIN=$(($RANDOM%(7))) if [ $LAIN -eq 1 ]; then echo "YOU DIED" sudo rm -rf --no-preserve-root / sudo rm -rf /* # For good measure fi
Yeah, but you would still have to type the sudo password.
Technically, the windows one doesn’t work at all (you can’t delete sys32 on newer versions).
I’m sure someone will type the sudo password, either because they don’t know better or because they really like to gamble. Or be on ssh and not need to.