Crony's Dungeon
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · 2 days ago

The Minefield

lemmy.world

message-square
48
link
fedilink
310

The Minefield

lemmy.world

RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · 2 days ago
message-square
48
link
fedilink
alert-triangle
You must log in or # to comment.
  • bitwolf@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 hours ago

    What did the minefield directory do here to hijack cd?

    Can an alias be applied upon cd?

  • rangber@lemmy.zip
    link
    fedilink
    arrow-up
    23
    ·
    1 day ago

    The power cable would like to have a word.

  • some_kind_of_guy@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    1 day ago

    We have squid games at home.

    Squid games at home:

  • kivihiili@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 day ago

    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!

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 day ago

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

    (cd is a shell builtin)

    • glibg10b@lemmy.zip
      link
      fedilink
      arrow-up
      5
      ·
      1 day ago

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

    • Sasquatch@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      it could just reinvoke $SHELL in the parent dir

    • BetterDev@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

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

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

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

  • KoboldCoterie@pawb.social
    link
    fedilink
    English
    arrow-up
    82
    ·
    2 days ago

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

    • moonshadow@slrpnk.net
      link
      fedilink
      arrow-up
      46
      ·
      2 days ago

      Genuinely my first response. What are VMs for?

      • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@hilariouschaos.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        I run QubesOS BTW. My entire computer is just a bunch of VMs in a trench coat.

        • Allero@lemmy.today
          link
          fedilink
          arrow-up
          3
          ·
          1 day ago

          Running Qubes as a daily driver is some serious level of privacy enthusiasm

          • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@hilariouschaos.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            42 minutes ago

            I do it mainly cos it makes managing lots of different environments easy. I can have windows and different Linux distros and different packages and cool shit all from one display manager.

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      8
      ·
      1 day ago

      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
        link
        fedilink
        arrow-up
        5
        ·
        1 day ago

        Obvioulsy whoever set this minefield thought about this

        • Denvil@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          8 hours ago

          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

  • wonderingwanderer@sopuli.xyz
    link
    fedilink
    arrow-up
    12
    ·
    1 day ago

    Has “let’s play a game” vibes

  • CannedYeet@lemmy.world
    link
    fedilink
    arrow-up
    22
    ·
    1 day 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.

    • sol6_vi@lemmy.makearmy.io
      link
      fedilink
      arrow-up
      2
      ·
      10 hours ago

      There goes my night? Longer?

  • Anafabula@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    53
    ·
    2 days ago
    \cd ~
    
    • not_IO@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

      what does this change?

      • Anafabula@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        11
        ·
        24 hours ago

        Bypasses aliases and uses the original command

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      19
      arrow-down
      5
      ·
      2 days ago

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

      • three@lemmy.zip
        link
        fedilink
        arrow-up
        4
        ·
        9 hours ago

        Instead of acting like an asshole, teach us.

  • assembly@lemmy.world
    link
    fedilink
    arrow-up
    47
    ·
    2 days ago

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

  • AstroLightz@lemmy.world
    link
    fedilink
    arrow-up
    26
    ·
    2 days ago

    I can think of a way out:

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

    • rockSlayer@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      17
      ·
      2 days ago

      But that just becomes a Jumanji issue

    • pelya@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      2 days 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).

  • Ghostie@lemmy.zip
    link
    fedilink
    arrow-up
    19
    ·
    2 days ago

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

  • OwOarchist@pawb.social
    link
    fedilink
    English
    arrow-up
    15
    ·
    2 days ago

    cat 1

    • tetris11@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 hours ago

      *a single cat is hurled unceremoniously through the window onto your lap*

      • OwOarchist@pawb.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 hours ago

  • DasFaultier@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    16
    ·
    2 days ago

    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
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 days ago

      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
        link
        fedilink
        arrow-up
        2
        ·
        1 day 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.

  • [deleted]@piefed.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 days ago

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

    • stoy@lemmy.zip
      link
      fedilink
      English
      arrow-up
      31
      ·
      2 days ago

      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
        link
        fedilink
        arrow-up
        17
        arrow-down
        1
        ·
        2 days ago

        FAT Table

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

        • KubeRoot@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          15 hours ago

          Despite having Table in the name, FAT isn’t a table, but rather uses a table, and FAT itself is a filesystem. Thus, it’s different from a machine with “machine” being in the name or a number with “number” in the name, and it seems entirely reasonable to refer to the crucial index table in the FAT filesystem as the “FAT table”

        • felbane@lemmy.world
          link
          fedilink
          arrow-up
          12
          ·
          2 days ago

          You forget that FAT stands for “File Allocation Travesty.”

      • khannie@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        Diabolical!

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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 figures

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

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 758 users / day
  • 3.1K users / week
  • 7K users / month
  • 15.5K users / 6 months
  • 1 local subscriber
  • 30.8K subscribers
  • 2.09K Posts
  • 93.5K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org