supernova.place
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 24 hours ago

another CVE

lemmy.blahaj.zone

message-square
40
link
fedilink
604

another CVE

lemmy.blahaj.zone

not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 24 hours ago
message-square
40
link
fedilink
  • dbx12@programming.dev
    link
    fedilink
    arrow-up
    46
    ·
    18 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
      ·
      13 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
      ·
      12 hours ago

      Pwned again!

    • 🌞 Alexander Daychilde 🌞@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      14 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.

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.

  • 1.37K users / day
  • 4.43K users / week
  • 9.11K users / month
  • 16.5K users / 6 months
  • 1 local subscriber
  • 34.2K subscribers
  • 2.11K Posts
  • 60.3K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.21
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org