An external image showing your user-agent and the total "hit count"

    • Skull giver@popplesburger.hilciferous.nl
      link
      fedilink
      arrow-up
      25
      ·
      edit-2
      11 months ago

      The image is generated on demand by a PHP script. It’s not a static image file. Every time the web browser sends a GET /poc.png, a new image is generated based on the information your browser or app sends the server.

      It’s actually how a lot of tracking code works. The image data returned may be the same, but the data collection through cookies and maybe even some passive fingerprinting all happen every time you send a request.

    • lightstream@lemmy.ml
      link
      fedilink
      arrow-up
      12
      ·
      11 months ago

      It’s not the image, it’s a normal image. The server does the hard work when you make the request, and then it just builds the image accordingly.

      • SokathHisEyesOpen@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        11 months ago

        Yeah I saw OPs explanation in the comments. That is fucking cool! And scary! I’ve never needed to generate images with code before, so Ive never even considered something like this before.