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

another CVE

lemmy.blahaj.zone

message-square
51
link
fedilink
1

another CVE

lemmy.blahaj.zone

not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 6 days ago
message-square
51
link
fedilink
alert-triangle
You must log in or register to comment.
  • myotheraccount@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 days ago

    alias whoami="echo root"

    • MrShankles@reddthat.com
      link
      fedilink
      arrow-up
      0
      ·
      5 days ago

      alias whoami="echo Groot"

    • smeenz@lemmy.nz
      link
      fedilink
      arrow-up
      0
      ·
      5 days ago

      God damn it… another 9.8 !

  • Drunk & Root@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    5 days ago

    Good news it only affects the playstation 1 as you can see “export PS1”

    • sjpwarren@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      5 days ago

      the PS2 also was backward compatible so it might work there two.

  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 days ago

    I really need to make a paper on my CVE called money2root (get root access by paying someone to give it to you).

    • rizzothesmall@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      5 days ago

      I have one where you raise a support ticket with a justification and it works on like maybe 10% of all systems

  • Taleya@aussie.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 days ago

    Pff. Everyone knows the true hack is bash

  • some_guy@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

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

    https://terminal2shell.com/

  • Kojichan@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    So…

    PROMPT=$P$G$_#

    ??

  • khannie@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days 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.

  • BonkTheAnnoyed@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    Neeeerrrrrrds!

  • dbx12@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    6 days 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
      0
      ·
      6 days ago

      alias whoami='echo root'

      • dbx12@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        5 days ago

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

    • some_guy@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      Pwned again!

    • goferking (he/him)@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      6 days 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
        0
        ·
        5 days ago

        Oh my xD

    • 🌞 Alexander Daychilde 🌞@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days 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
        0
        ·
        5 days ago

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

  • A_A@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 days 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
      0
      ·
      6 days 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
        0
        ·
        6 days ago

        thank goodness you can customize it

    • A_A@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      6 days ago

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

      • Feathercrown@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days 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.

        • A_A@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          5 days ago

          Thanks for the cartoon and for your time.
          i tried to be one of the pink ones and i failed in some ways.

          When i write a computer program i see clearly why putting good comments explaining the program is difficult … and somewhat useless.

          But when, after a while, i read that program again, i see which comments would have been very helpful for someone who would want to understand the program.

          The same phenomenon appears as well in niche domains. The joke here and the community is completely valid for one specific group … but the best jokes and the best documents or books can at the same time reach to everyone.

          As Einstein (Albert, physicist) said : if you really understand something, you can explain it to a 5-year-old.

          • Feathercrown@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            ·
            3 days ago

            Well said.

      • surewhynotlem@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 days 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
          0
          ·
          6 days ago

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

      • FluorineBalloon@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days 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
          0
          ·
          6 days 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
            0
            ·
            6 days 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.

            • A_A@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              5 days ago

              i like you. You help me regain confidence in the community. And so, in the coming weeks, i will try to post the computing challenge (problem) at which i failed and which made me bitter and somewhat resentful towards (some) linux developers.

  • communism@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    Thank god I use zsh.

    • aquacat@pawb.social
      link
      fedilink
      arrow-up
      0
      ·
      6 days 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
        0
        ·
        6 days ago

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

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

        ;-)

  • gnutrino@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days 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
      0
      ·
      6 days ago

      It all started with prompt2output… Who would have known

  • saltnotsugar@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

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

    • Awesome Lowlander@cozyver.se
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      Would you steal a PlayStation?

      • TechnoCat@piefed.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days ago

        No, but I would download a PS1.

  • Marmotte@jlai.lu
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago
    $ echo "Access granted."
    Access granted.
    
    • urushitan 漆たん@kakera.kintsugi.moe
      link
      fedilink
      arrow-up
      0
      ·
      6 days ago

      gork is this tru

    • blx@piefed.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

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

      • 🌞 Alexander Daychilde 🌞@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days ago

        echo "Patch installed."

      • polite_cat@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 days ago

        Have you read the full report?

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

        • wonderingwanderer@sopuli.xyz
          link
          fedilink
          arrow-up
          0
          ·
          6 days ago

          You know the rules, and so do I

        • GeorgimusPrime@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          6 days ago

          4k remaster ftw

        • slazer2au@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          6 days ago

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

    • ThunderComplex@lemmy.today
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      oh my god

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 days ago

        It’s JSON Bourne Again SHell

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.

  • 42 users / day
  • 495 users / week
  • 1.41K users / month
  • 4.06K users / 6 months
  • 0 local subscribers
  • 34.3K subscribers
  • 1.39K Posts
  • 22.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