Found some very special “make it look hacky” bash in criminal minds.

  • @[email protected]
    link
    fedilink
    English
    104
    edit-2
    5 months ago

    NO MR HACKER PLEASE. NOT MY KDE DOTFILE!!!

    SOMBODY HELP, HE IS RICING MY DESKTOP ENVIRONMENT!!!

    HES POSTING IT ON UNIXPORN THAT SICK FUCK

  • @[email protected]
    link
    fedilink
    595 months ago

    I’ve told the wife I can’t watch these shows because of how bad the tech always is, and I can’t stop myself from losing suspension of disbelief when something like this happens

    • z3rOR0ne
      link
      fedilink
      545 months ago

      The only exception is Mr. Robot. Check this command the main character runs as root:

      shred -uz /*
      

      Only show I’ve seen where they show real commands with really damaging effects.

      • Laurel Raven
        link
        fedilink
        English
        265 months ago

        I remember watching the first episode and he brought up a terminal and thinking “here we go” then…“holy shit… Those are real commands”

        That and the explanations I was ready to laugh at for being terrible, then… Wait, no, those actually make sense

        • The Menemen
          link
          fedilink
          14
          edit-2
          5 months ago

          And it is also great television. For me personally, the best I’ve ever seen. Whoever reads this and hasn’t seen it already: Do it! And watch it all! Some might think season 2 is a little slow (I still liked it), but season 3 is just incredible.

          • Laurel Raven
            link
            fedilink
            English
            45 months ago

            Yeah, I’ll admit I kind of stalled out in season 2 but I’ve meant to go back and finish… It would be easier if my wife liked that sort of TV 😅 I’ll just have to watch it alone 😭

      • @[email protected]
        link
        fedilink
        English
        5
        edit-2
        5 months ago

        That should only shred the top level files in the root directory though. Since shred doesn’t do it recursively and doesn’t know what to do with subdirectories.

        Do any distros store system critical files at the root directory? It’s all subdirectories on mine. I guess if you were storing important data files in the root directory they would get shredded but that’s really bad practice anyway and I doubt it’s super common.

    • melroy
      link
      fedilink
      105 months ago

      Same issue here… Now with the TV serie called “The Equalizer” (2021-*).

    • @[email protected]
      link
      fedilink
      45 months ago

      I have this vague memory of one of the CSIs showing a list of IP addresses with 4-digit octets… I get not wanting to risk using real IP addresses, but at least use 10.x.x.x or 192.168.x x

    • ElectricMachman
      link
      fedilink
      English
      14 months ago

      Brooklyn Nine-Nine did an entire episode lampshading this whole thing. (S06E14 for the curious)

      • masterofn001
        link
        fedilink
        75 months ago

        I have bash_alias open in another window so you can see:

        ls='ls -alph --group-directories-first --color=always'

        root='sudo rm -f / \ hunter2'

  • @[email protected]
    link
    fedilink
    English
    225 months ago

    That’s some shitty ‘hacking’…

    But what makes these shell commands ‘bash’ exactly? Seems like this could be a half-dozen shells.

    Also… why are ‘hackers’ always using a shell in some gui program?

    • @[email protected]
      link
      fedilink
      English
      235 months ago

      Also… why are ‘hackers’ always using a shell in some gui program?

      An actual CLI would frighten the windows users watching the show.

    • @[email protected]
      link
      fedilink
      English
      19
      edit-2
      5 months ago

      Yeah everyone knows the real way to hack Linux is to do tree /

      Lots of weird looking text output means lots of hacking

      • @[email protected]
        link
        fedilink
        English
        85 months ago

        Hey no worries, I dunno why I even called that out. Lack of sleep due to back pain and responding to posts at 2am I guess

  • Chris
    link
    fedilink
    English
    145 months ago

    I’m sure there’s a community for nonsense TV/film hacking/Linux screens. I can’t remember what it’s called.

  • HexesofVexes
    link
    fedilink
    135 months ago

    And here we see an expert hacker at work, with just a few commands as a root user, they managed to gain root access.

  • Kangy
    link
    fedilink
    English
    125 months ago

    I was playing DMC: Devil May Cry (the prequel one) and they used a bunch of mount commands on a screen to show Virgil hacking the network

    • Cousin Mose
      link
      fedilink
      8
      edit-2
      5 months ago
      mkdir /dir
      cd /dir
      cd /dir
      mkdir 2
      cd /dir
      cd /dir/2
      cd /dir
      mv 2 /2
      cd /2
      mkdir /dir/3
      rm -f 3