What did the minefield directory do here to hijack cd?
Can an alias be applied upon cd?
The power cable would like to have a word.
objdump -D * | less
We have squid games at home.
Squid games at home:
while this is not real, something similar in principal very much was! (but not too widespread)
see here or look up “casino dos malware”
uh in short it erases “the disk’s” (unsure which) file allocation table (pretty much the dos/windows version of a superblock). apparently some versions did copy it to memory and give the user a chance though!
There also was Fake DOS back in the day
Reminder that binaries cannot change a shell’s working directory, so the non-mines will do nothing.
(
cdis a shell builtin)Technically they could if run as root by modifying the parent process
it could just reinvoke
$SHELLin the parent dirI mean, you can just write a whole custom shell for this
Good point. Also it wouldn’t stop you from just opening another terminal window haha.
Has “let’s play a game” vibes
Based on the responses in this thread, I feel like you could present this screenshot with a “I bet you couldn’t find your way out of this!” and a zip of the directory, and a significant number of users would voluntarily download it and extract it just to “prove that they could”.
Well yeah? And you do it in a vm. But seems like a decently simple problem anyway.
ls -aland compare the sizes.Obvioulsy whoever set this minefield thought about this
The greatest trick is to make your opponent think you thought of everything. Powering off might just straight up work and they’re just bluffing, might as well try
Genuinely my first response. What are VMs for?
I run QubesOS BTW. My entire computer is just a bunch of VMs in a trench coat.
Running Qubes as a daily driver is some serious level of privacy enthusiasm
Reminds me of gameshell, which is a rogue-like game designed to teach you the unix shell. So instead of navigating with NESW, you
cdto locations. At one point you search the “garden”, which is an unmanageable tangle of directories, withfind.There goes my night? Longer?
Cool! Will give this a try for sure! Always forget commands
\cd ~what does this change?
Bypasses aliases and uses the original command
When people don’t know normal things we learned in '92, I get worried.
Instead of acting like an asshole, teach us.
Oof. I consider myself a fairly decent Linux Sysadmin (~15 years experience ~10 years professionally) but I actually didn’t know about that. :/
Combat the minefield with a fork bomb. Ain’t no process surviving this engagement.
They never guess the next move: Unplugs pc
loud knocking on the door
Either that or the PC keeps running anyway.
Boston Dynamics: “Ether that or the PC keeps running away.”
I can think of a way out:
Just throw the whole PC away. It’s someone else’s problem now!
But that just becomes a Jumanji issue
But it’s on a dedicated server you have already paid for, which also hosts your own Minecraft game server with active players (mission-critical process which can never be allowed to stop).
cat 1*a single cat is hurled unceremoniously through the window onto your lap*
I’ll hit them with an rm /etc. We got out, we go out on together and on my terms.



















