565
Terminal2Shell: Critical flaw grants instant shell access on every major OS
(terminal2shell.com)
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.
While the palindromic structure of that command is pleasing to mine eye, LMDE basically called me a frickin' idiot for trying.
I know it always asks
Continue [Y/n]and there's noyes |orecho |to force that, so I was reasonably sure I'd get away with it, but I don't think I could argue with the sentiment had it actually said that.(Also, I have Timeshift, so that would have saved my bacon but for the inconvenience of having to go through a rollback.)
Anyway, here's what it said (scrolling may be required to see the last line which is clearly code for "you're an idiot"):
Honestly, I want to be allowed to break my system. I own it, it should do exactly what I say, warnings are fine, but software deciding it knows better than you is how we have reached the inescapable technogulag of the now.
You can, if you create an empty file at
/etc/apt/break-my-systemfirst. It's intentionally not mentioned to prevent another Linus situationWow, I thought you might be joking but this is real
https://github.com/pop-os/apt/pull/1/files#diff-94ba980dc72616d5d15b341b827cb979343fcb0f20c4e0ab8910fa2e502e48e2R310
You could always try using "sudo dpkg -r --force-all apt" instead. It won't clean up the dependencies, admittedly.
In my experience, Linux only allows you to do 1 incredibly stupid thing at a time. Remove sudo? Cool. Remove apt? You betcha. Remove apt AND sudo? You're fucking nuts, I ain't doing that
https://www.gnu.org/philosophy/free-sw.en.html#four-freedoms
Freedom 0 says I can be nuts and that clankers better obey