Hard Pass
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish ·
edit-2
1 day ago

The Minefield

lemmy.world

message-square
60
link
fedilink
306

The Minefield

lemmy.world

RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish ·
edit-2
1 day ago
message-square
60
link
fedilink
alert-triangle
You must log in or register to comment.
  • rangber@lemmy.zip
    link
    fedilink
    arrow-up
    24
    ·
    15 hours ago

    The power cable would like to have a word.

  • Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    8
    ·
    13 hours ago

    objdump -D * | less

  • some_kind_of_guy@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    14 hours ago

    We have squid games at home.

    Squid games at home:

  • kivihiili@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    12
    ·
    16 hours 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!

    • Hupf@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      14 hours ago

      There also was Fake DOS back in the day

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    19
    ·
    19 hours ago

    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
      link
      fedilink
      arrow-up
      3
      ·
      14 hours ago

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

    • glibg10b@lemmy.zip
      link
      fedilink
      arrow-up
      5
      ·
      17 hours ago

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

    • Sasquatch@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      17 hours ago

      it could just reinvoke $SHELL in the parent dir

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      18 hours ago

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

  • wonderingwanderer@sopuli.xyz
    link
    fedilink
    arrow-up
    13
    ·
    18 hours ago

    Has “let’s play a game” vibes

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

    • deczzz@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      16 minutes ago

      Cool! Will give this a try for sure! Always forget commands

  • KoboldCoterie@pawb.social
    link
    fedilink
    English
    arrow-up
    85
    ·
    1 day 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”.

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      8
      ·
      18 hours 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
        4
        ·
        15 hours ago

        Obvioulsy whoever set this minefield thought about this

    • moonshadow@slrpnk.net
      link
      fedilink
      arrow-up
      50
      ·
      1 day ago

      Genuinely my first response. What are VMs for?

      • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@hilariouschaos.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        19 hours 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
          ·
          15 hours ago

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

  • Anafabula@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    57
    ·
    1 day ago
    \cd ~
    
    • not_IO@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      16 hours ago

      what does this change?

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

        Bypasses aliases and uses the original command

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

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

  • timestatic@feddit.org
    link
    fedilink
    arrow-up
    38
    ·
    1 day ago

    They never guess the next move: Unplugs pc

    • rockerface🇺🇦@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      23
      ·
      1 day ago

      loud knocking on the door

      • 𝕾𝖕𝖎𝖈𝖞 𝕿𝖚𝖓𝖆@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        19 hours ago

        Either that or the PC keeps running anyway.

        • FreddiesLantern@leminal.space
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          14 hours ago

          Boston Dynamics: “Either that or the PC keeps running away.”

  • assembly@lemmy.world
    link
    fedilink
    arrow-up
    49
    ·
    1 day ago

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

  • OwOarchist@pawb.social
    link
    fedilink
    English
    arrow-up
    20
    ·
    1 day ago

    cat 1

  • Ghostie@lemmy.zip
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    1 day ago

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

  • weissbinder@feddit.org
    link
    fedilink
    arrow-up
    37
    ·
    1 day ago

    How can you prevent users from leaving a directory?

    • flyingSock@feddit.org
      link
      fedilink
      arrow-up
      34
      arrow-down
      1
      ·
      1 day ago

      chroot, and override exit with an alias,could work

    • grue@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      1 day 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
      link
      fedilink
      English
      arrow-up
      13
      ·
      1 day ago

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

    • gegil@sopuli.xyz
      link
      fedilink
      arrow-up
      8
      ·
      1 day ago

      How can you prevent a shutdown using a power key?

      • XLE@piefed.social
        link
        fedilink
        English
        arrow-up
        18
        ·
        1 day ago

        There’s an Emacs command to do that

        C-x M-c M-minefield

      • Unleaded8163@fedia.io
        link
        fedilink
        arrow-up
        9
        ·
        1 day ago

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

          You could also just unplug it.

        • esc@piefed.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          alt+sysrq+b bypasses this handler, also switching to another vt should just drop you in a normal shell it as well as long the login shell isn’t modified. There are a lot of ways that can be used to break out.

      • theunknownmuncher@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 day ago

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

      • ChaoticNeutralCzech@feddit.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        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.

      • pelya@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        If you are using KDE

  • AstroLightz@lemmy.world
    link
    fedilink
    arrow-up
    30
    ·
    1 day 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
      18
      ·
      1 day ago

      But that just becomes a Jumanji issue

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

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.

  • 1.28K users / day
  • 4.01K users / week
  • 9.02K users / month
  • 14.9K users / 6 months
  • 1 local subscriber
  • 30.8K subscribers
  • 882 Posts
  • 17.1K Comments
  • Modlog
  • mods:
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org