• FishFace@piefed.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 hours ago

      Do you mean curl | cat or do you really want to create a file called cat?

      Also piping to cat seems redundant but malicious hosts can detect whether the request is getting redirected, using some clever trick, so it’s not.

      Also, your chance of spotting something bad in a malicious script is probably quite small.

      • cenzorrll@piefed.ca
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 hours ago

        This is my opinion on curl | sh/bash type directions. If the maintainers don’t provide a hash so I can confirm that is what they intended, there ain’t much I can do unless someone slapped in a function named “totallyNotMalware” into the script. I’ve looked through scripts, seen what they do, but I’m not good enough to recognize anything funky.