LibreTechni.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
IanTwenty@piefed.social to Programming@programming.devEnglish · 4 days ago

PHP: you get your burger

media.piefed.social

message-square
28
fedilink
37

PHP: you get your burger

media.piefed.social

IanTwenty@piefed.social to Programming@programming.devEnglish · 4 days ago
message-square
28
fedilink

https://www.bbc.co.uk/news/live/ckgel5xp2xv9t?post=asset%3Ac8185d02-3e14-4e83-9a99-6d3be2de04bd#post

alert-triangle
You must log in or register to comment.
  • PumaStoleMyBluff@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    42 minutes ago

    What if I visit a website to order a burger

  • expletivedeleted@lemmy.zip
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    2 days ago

    The cook should be represented as the database.

    Back in the 80’s, my brother “hacked” a pizza place because he knew how they wrote green olives and black olives on their ticket. He dated a girl who worked there for a stint.

    I don’t remember how it worked and he has since passed, but it was something with the order that he would list the toppings that would fuck up the cook, so the order always came out wrong and boom! Free pizza.

  • Evotech@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    3 days ago

    Step 5. you inject poison in your burger and send it back. Causing the cook to die and you take over as the owner of the restaurant

  • 0xDREADBEEF@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    the person getting the burger actually has a user agent which fetches the burger for them. Its a food delivery app and the browser is doordash/uber eats etc. Instead of packets its human beings who read a screen and understand obligations.

  • Blue_Morpho@lemmy.world
    link
    fedilink
    arrow-up
    64
    ·
    edit-2
    4 days ago

    How it should work for 99% of websites.

    https://motherfuckingwebsite.com/

    • NickwithaC@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      3 days ago

      CSS didn’t do shit wrong:

      http://bettermotherfuckingwebsite.com/

      • Mikrochip@feddit.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        Love this one. Only thing I don’t get is why so many people can’t stand high contrast. Or even go so far as to say white background hurts their eyes. Black on white is just fine, thank you very much. And if it is too harsh, then I suspect that actually either one’s monitor is too bright, or - more likely - the environment they’re in is too dim.

      • IphtashuFitz@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        Can we get Samuel L. Jackson to read it for those with vision impairment?

    • Avicenna@programming.dev
      link
      fedilink
      arrow-up
      20
      ·
      edit-2
      4 days ago

      most people who have seen the old internet probably feel this rage

    • sem@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      12
      ·
      edit-2
      4 days ago

      Ublock blocks this for some reason

      EDIT turns out the reason is it appears to be infected with a botnet

      • TrackenDaKracken@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        4 days ago

        Not in Librewolf, at least. Ublock and Noscript enabled. Site still shows.

        • Nocklusamigos@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          Adguard blocks it. Adguard usually is more trustworthy

        • softotteep@pawb.social
          link
          fedilink
          English
          arrow-up
          9
          ·
          4 days ago

          You probably don’t have these filter lists enabled: 📒 HaGeZi - Multi PRO mini 🔐 HaGeZi - Threat Intelligence Feeds - Mini

      • Blue_Morpho@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        That’s weird. I did some digging and can’t find its name, ip, or hosting company servrex.com on any block list. I checked HaGezi on github based on your post.

        • sem@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          I used this https://github.com/hagezi/dns-blocklists#listlookup and searched https://motherfuckingwebsite.com

          If you search the closed github issues, you’ll see more details for the url

          • Blue_Morpho@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            3 days ago

            Which list? I searched the Multi Ultimate Full list and it wasn’t there.

            • ulterno@programming.dev
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 days ago

              https://github.com/hagezi/dns-blocklists/issues/11017

              https://github.com/hagezi/dns-blocklists/issues/12026

              • Blue_Morpho@lemmy.world
                link
                fedilink
                arrow-up
                5
                ·
                edit-2
                2 days ago

                Well that’s even weirder. It is in a list labeled malicious/scammer/fishing.

                It absolutely isn’t any of those.

                Someone else claimed it pulls resources from a botnet but if you view source, that isn’t true.

                • sem@piefed.blahaj.zone
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 days ago

                  Can ypu add to the github issue asking to review it?

                • ulterno@programming.dev
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 days ago

                  Well, I didn’t check its internals.

  • Dry_Monk@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    4

  • MidsizedSedan@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    3 days ago

    Dam, I guess I was a programmer at KFC, and I didn’t even know it…

  • one_old_coder@piefed.social
    link
    fedilink
    English
    arrow-up
    14
    ·
    4 days ago

    Wait till you learn about this new CGI thing, you’ll be amazed about what it can do: https://en.wikipedia.org/wiki/Common_Gateway_Interface

    • OpenStars@discuss.online
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 days ago

      I doubt it will cook burgers for you though 😕 😔 🍔🍴🤤

      For some reason I am hungry all of a sudden…

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    4 days ago

    Why is everybody talking about PHP lately? Am I out of the loop?

    • jokro@feddit.org
      link
      fedilink
      arrow-up
      7
      ·
      4 days ago

      To add what the others said, yesterday morning there was news that every php version is vulnerable but the fixes were published very late in the day (or whenever depending on timezone) thus there was a 8+hours of unceartiny and fear for administrators. A lot of websites shut down due to that.

  • twinnie@feddit.uk
    link
    fedilink
    arrow-up
    6
    ·
    4 days ago

    Most of my experience with PHP is from pen testing so most of my orders look something like <?$_GET[0]?>

Programming@programming.dev

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

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

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

  • 186 users / day
  • 1.46K users / week
  • 2.8K users / month
  • 7.86K users / 6 months
  • 1 local subscriber
  • 29K subscribers
  • 1.64K Posts
  • 16.2K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • UlrikHD@programming.dev
  • bugsmith@programming.dev
  • Spyro@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org