this post was submitted on 26 Mar 2026
272 points (98.6% liked)

linuxmemes

30765 readers
1250 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
    272
    The Minefield (lemmy.world)
    submitted 20 hours ago* (last edited 20 hours ago) by RomulusCornflakes@lemmy.world to c/linuxmemes@lemmy.world
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] rangber@lemmy.zip 15 points 7 hours ago

    The power cable would like to have a word.

    [–] some_kind_of_guy@lemmy.world 6 points 5 hours ago

    We have squid games at home.

    Squid games at home:

    [–] 30p87@feddit.org 3 points 4 hours ago

    objdump -D * | less

    [–] kivihiili@lemmy.blahaj.zone 8 points 7 hours ago (1 children)

    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!

    [–] Hupf@feddit.org 1 points 5 hours ago

    There also was Fake DOS back in the day

    [–] wonderingwanderer@sopuli.xyz 11 points 9 hours ago

    Has "let's play a game" vibes

    [–] savvywolf@pawb.social 14 points 10 hours ago (3 children)

    Reminder that binaries cannot change a shell's working directory, so the non-mines will do nothing.

    (cd is a shell builtin)

    [–] BetterDev@programming.dev 3 points 5 hours ago

    I mean, you can just write a whole custom shell for this

    [–] glibg10b@lemmy.zip 4 points 8 hours ago

    Technically they could if run as root by modifying the parent process

    [–] tyler@programming.dev 2 points 9 hours ago

    Good point. Also it wouldn’t stop you from just opening another terminal window haha.

    [–] CannedYeet@lemmy.world 19 points 13 hours ago

    Reminds me of gameshell, which is a rogue-like game designed to teach you the unix shell. So instead of navigating with NESW, you cd to locations. At one point you search the "garden", which is an unmanageable tangle of directories, with find.

    [–] KoboldCoterie@pawb.social 76 points 19 hours ago (2 children)

    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".

    [–] tyler@programming.dev 7 points 9 hours ago (1 children)

    Well yeah? And you do it in a vm. But seems like a decently simple problem anyway. ls -al and compare the sizes.

    [–] BeatTakeshi@lemmy.world 3 points 6 hours ago

    Obvioulsy whoever set this minefield thought about this

    [–] moonshadow@slrpnk.net 49 points 19 hours ago

    Genuinely my first response. What are VMs for?

    [–] ikidd@lemmy.world 3 points 10 hours ago
    [–] timestatic@feddit.org 34 points 18 hours ago (1 children)

    They never guess the next move: Unplugs pc

    [–] rockerface@lemmy.cafe 21 points 16 hours ago (1 children)
    [–] spicytuna62@lemmy.world 9 points 10 hours ago (1 children)

    Either that or the PC keeps running anyway.

    [–] FreddiesLantern@leminal.space 2 points 5 hours ago* (last edited 5 hours ago)

    Boston Dynamics: β€œEither that or the PC keeps running away.”

    [–] Anafabula@discuss.tchncs.de 51 points 19 hours ago (2 children)
    [–] not_IO@lemmy.blahaj.zone 2 points 7 hours ago (1 children)
    [–] Anafabula@discuss.tchncs.de 3 points 4 hours ago

    Bypasses aliases and uses the original command

    [–] corsicanguppy@lemmy.ca 15 points 19 hours ago

    When people don't know normal things we learned in '92, I get worried.

    [–] assembly@lemmy.world 47 points 19 hours ago

    Combat the minefield with a fork bomb. Ain’t no process surviving this engagement.

    [–] OwOarchist@pawb.social 20 points 17 hours ago
    [–] Ghostie@lemmy.zip 22 points 18 hours ago* (last edited 18 hours ago)

    I’ll hit them with an rm /etc. We go out, we go out together and on my terms.

    [–] weissbinder@feddit.org 36 points 20 hours ago (4 children)

    How can you prevent users from leaving a directory?

    [–] flyingSock@feddit.org 31 points 20 hours ago

    chroot, and override exit with an alias,could work

    [–] grue@lemmy.world 10 points 16 hours ago

    Magic, I guess, 'cause nothing in the sceenshot would do it, unless the attacker had already replaced cat with a trojan or something.

    [–] hperrin@lemmy.ca 11 points 19 hours ago

    AFAIK, there’s no way to without modifying the system tools and shell.

    [–] gegil@sopuli.xyz 8 points 20 hours ago (5 children)

    How can you prevent a shutdown using a power key?

    [–] XLE@piefed.social 16 points 19 hours ago

    There's an Emacs command to do that

    C-x M-c M-minefield

    [–] Unleaded8163@fedia.io 7 points 20 hours ago (2 children)

    You could probably install a handler for the event that's triggered when the power button is pressed. Most OSes do that and pop up a graceful shutdown options window. Most hardware will have a hard shutdown option when you hold the power button for a few seconds. You would probably have to overwrite the BIOS or something at that level to prevent that way out.

    [–] hperrin@lemmy.ca 16 points 19 hours ago

    You could also just unplug it.

    load more comments (1 replies)
    [–] theunknownmuncher@lemmy.world 5 points 20 hours ago

    You can't, lol. Think it's just a joke

    Encrypt hard drive and keep the key in RAM. Could be recovered with a cold boot attack but that's very advanced. The DOS virus ONEHALF would run as a daemon encrypring a block on the drive on each boot and intercept reads/writes to the encrypted part as if nothing ever happened. Only after encrypting Β½ of the disk, it would reveal itself with an ominous

    Dis is one half.
    Press any key to continue...
    

    The decryption was eventually cracked by ESET and they developed a tool to recover the drive.

    load more comments (1 replies)
    [–] AstroLightz@lemmy.world 25 points 19 hours ago (2 children)

    I can think of a way out:

    Just throw the whole PC away. It's someone else's problem now!

    [–] rockSlayer@lemmy.blahaj.zone 17 points 19 hours ago

    But that just becomes a Jumanji issue

    [–] pelya@lemmy.world 4 points 19 hours ago

    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).

    [–] DasFaultier@sh.itjust.works 14 points 19 hours ago (1 children)

    Maybe something like find ./ -type f | xargs md5sum, then avoid the one directory where the executable has a different checksum. Heck, even find | ls might suffice.

    [–] SwingingTheLamp@piefed.zip 11 points 19 hours ago (1 children)

    This could be trivially defeated by a program which erases the hard drive unless run using a particular executable name. Then, all twenty entries could simply be hard links to the same executable file on disk, but one of the names would trigger different behavior.

    [–] tyler@programming.dev 2 points 9 hours ago* (last edited 9 hours ago)

    So then you either cat the executable and hope it’s a shell script, you output the binary with a hex viewer and compare, you modify the executable so it’s in a lower permission group and thus wouldn’t have access to erase the drive, there’s like a hundred ways to solve this.

    [–] snooggums@piefed.world 13 points 19 hours ago (1 children)

    Does it have a perpetual energy source if I unplug it?

    [–] stoy@lemmy.zip 35 points 19 hours ago (2 children)

    There was an old virus that would copy your FAT table to ram, erase it from disk, and preset you with a slot machine UI where you would gamble to get the FAT back, if you won, great, the virus would write the FAT back to the drive, if not, you lost everything.

    Rebooting without playing meant loosing everything.

    [–] RustySharp@programming.dev 18 points 18 hours ago (1 children)

    FAT Table

    Can I just pay? I can go to the ATM Machine and enter my PIN Number

    [–] felbane@lemmy.world 12 points 17 hours ago

    You forget that FAT stands for "File Allocation Travesty."

    [–] khannie@lemmy.world 2 points 13 hours ago

    Diabolical!

    [–] Daedskin@lemmy.zip 7 points 20 hours ago
    [–] AkatsukiLevi@lemmy.world 5 points 20 hours ago
    load more comments
    view more: next β€Ί