LQX Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 1 day ago

another CVE

lemmy.blahaj.zone

message-square
41
link
fedilink
611

another CVE

lemmy.blahaj.zone

not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 1 day ago
message-square
41
link
fedilink
alert-triangle
You must log in or register to comment.
  • Taleya@aussie.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 minutes ago

    Pff. Everyone knows the true hack is bash

  • some_guy@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    19
    ·
    12 hours ago

    For anyone who didn’t see this when it made the rounds a couple weeks ago:

    https://terminal2shell.com/

  • A_A@lemmy.world
    link
    fedilink
    arrow-up
    57
    arrow-down
    1
    ·
    19 hours ago

    Layman explanation :
    “PS1” is the primary shell prompt.
    So, it is that which the linux operating system displays at the start of each line where you, the user, type a command.
    Obtaining “#” as the prompt would normally indicate to the user that the next command is to be accepted as having “root privileges” (thought it could do whatever to the system) … but in the above case, the “#” doesn’t mean that … nor anything other than : that prompt as been changed.

    • diaphragmwp@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      16 hours ago

      Ah yes, the linux operating system… It’s actually usually Linux distros that display lots of things with colors, other unixes are usually just the hostname with $ or #. Identifies the machine and isn’t distracting, just how I like it. Except for the part when I forget which dir I am in, of course.

      • ferret@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        13 hours ago

        thank goodness you can customize it

    • A_A@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      19
      ·
      edit-2
      18 hours ago

      So, sadly, the joke here really is :
      “Hey we programmers are so bright since we do understand this while laymen do not.”

      Edit : added “sadly” for my criticism to be obvious.

      • FluorineBalloon@programming.dev
        link
        fedilink
        English
        arrow-up
        33
        arrow-down
        1
        ·
        17 hours ago

        It’s actually “this joke made me laugh but not a lot of people will understand, so I’m posting it in a space where like minded people hang out rather than confuse most people by posting it in a general humor community.”

        Not everything is an attack.

        • A_A@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          17 hours ago

          i value your opinion and it’s probably better on topic than mine since i am quite bitter about programming and software. Whatever the O.S. , linux , Microsoft or other, since many decades, it is still creating trouble … yet i use some of it right now. Nevermind, i should be happy that people can make jokes and have a good time.

          • 1984@lemmy.today
            link
            fedilink
            arrow-up
            1
            ·
            7 hours ago

            Yeah that explanation was not ego based, he was just trying to share what happened. But yes, this industry is full of “akshully” people who build up their ego from knowing obscure details that others don’t care about.

      • Feathercrown@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        12 hours ago

        You’re the grey guys rn

        Edit: I see you have done some self-reflection, that’s commendable and I appreciate your ability to do that on the internet. Not many people can.

      • surewhynotlem@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        17 hours ago

        “I’m not the target audience so OP must be elitist”

        Not everything is for you and that’s ok

        • A_A@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          16 hours ago

          i accept your constructive criticism : your comment helps me a little understand myself.

  • dbx12@programming.dev
    link
    fedilink
    arrow-up
    47
    ·
    19 hours ago

    I already found another one!

    echo $USER prints my current user name. Once I do USER=root it shows im running as root. And I wasn’t even asked for my sudo password! :O :O :O

    • not_IO@lemmy.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      14
      ·
      11 hours ago

      alias whoami='echo root'

      • dbx12@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        4 hours ago

        That seems like an adjacent vector, want to coop on the CVE?

    • goferking (he/him)@lemmy.sdf.org
      link
      fedilink
      arrow-up
      15
      arrow-down
      3
      ·
      14 hours ago

      You joke but at work our security office mass reset passwords because they saw a list of users in the pwd file. Even after others pointed out it was just a list of usernames not their credentials AND that it couldn’t be the actual credentials as we’re an AD shop

      They would definitely fall for that 😭

      • dbx12@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        4 hours ago

        Oh my xD

    • some_guy@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      13 hours ago

      Pwned again!

    • 🌞 Alexander Daychilde 🌞@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      15 hours ago

      Huh. It is worth bearing in mind not to trust $USER before doing something based on it, though, if that thing is important.

      • dbx12@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        4 hours ago

        The interesting thing is that bash allows writing this variable. I would’ve expected it to be readonly for obvious reasons.

  • Marmotte@jlai.lu
    link
    fedilink
    arrow-up
    276
    ·
    24 hours ago
    $ echo "Access granted."
    Access granted.
    
    • ThunderComplex@lemmy.today
      link
      fedilink
      English
      arrow-up
      145
      ·
      24 hours ago

      oh my god

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        34 minutes ago

        It’s JSON Bourne Again SHell

    • blx@piefed.zip
      link
      fedilink
      English
      arrow-up
      65
      ·
      23 hours ago

      Fuck, it works on my machine. When can we expect a patch?

      • 🌞 Alexander Daychilde 🌞@lemmy.world
        link
        fedilink
        English
        arrow-up
        16
        ·
        15 hours ago

        echo "Patch installed."

      • polite_cat@lemmy.world
        link
        fedilink
        arrow-up
        62
        arrow-down
        2
        ·
        23 hours ago

        Have you read the full report?

        You can work around the issue by removing the french language pack from your system.

        • GeorgimusPrime@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          13 hours ago

          4k remaster ftw

        • slazer2au@lemmy.world
          link
          fedilink
          English
          arrow-up
          32
          arrow-down
          1
          ·
          22 hours ago

          Holy crap, didn’t expect it to go I to that much detail.

        • wonderingwanderer@sopuli.xyz
          link
          fedilink
          arrow-up
          1
          ·
          11 hours ago

          You know the rules, and so do I

    • urushitan 漆たん@kakera.kintsugi.moe
      link
      fedilink
      arrow-up
      25
      ·
      21 hours ago

      gork is this tru

  • gnutrino@programming.dev
    link
    fedilink
    English
    arrow-up
    104
    ·
    23 hours ago

    Dear god, when combined with terminal2shell this can compromise every Unix-like system ever created.

    • Kangae_Hishiryo@scribe.disroot.org
      link
      fedilink
      arrow-up
      4
      ·
      14 hours ago

      It all started with prompt2output… Who would have known

  • saltnotsugar@lemmy.world
    link
    fedilink
    arrow-up
    31
    ·
    23 hours ago

    Looks like the hacker was exporting your PlayStation 1!!! Lock this place DOWN.

    • Awesome Lowlander@cozyver.se
      link
      fedilink
      English
      arrow-up
      7
      ·
      20 hours ago

      Would you steal a PlayStation?

      • TechnoCat@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        15 hours ago

        No, but I would download a PS1.

  • Kojichan@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    18 hours ago

    So…

    PROMPT=$P$G$_#

    ??

  • BonkTheAnnoyed@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    18 hours ago

    Neeeerrrrrrds!

  • communism@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    21 hours ago

    Thank god I use zsh.

    • aquacat@pawb.social
      link
      fedilink
      arrow-up
      4
      ·
      17 hours ago

      I am pretty sure you can tipe “bash” to switch to it in any shell.

      • 🌞 Alexander Daychilde 🌞@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        15 hours ago

        tipe “bash” to switch to it in any shell.

        I’m pretty sure typing bash turns it into bash, not any shell

        ;-)

  • khannie@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    18 hours ago

    For half a second I nibbled the onion. It didn’t taste good.

    Maybe 0.1 seconds. The filthy taste is still in my mouth though.

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 2K users / day
  • 5.09K users / week
  • 9.28K users / month
  • 16.5K users / 6 months
  • 1 local subscriber
  • 34.2K subscribers
  • 2.26K Posts
  • 71.3K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org