• amio
    link
    fedilink
    101 year ago

    Turns out arbitrary code execution is actually great(!)

      • @Slotos@feddit.nl
        link
        fedilink
        21 year ago

        Problem is, you’re mixing a number of different concepts into a nonsensical claim.

        Exec as an “execute a string as a language instructions” is nothing new nor unique to PHP. Ruby on Rails, for example, uses it in a controlled manner to generate methods on ActiveRecord models.

        Exec as an “replace this process with another process” is old news again. It’s not even language specific.

        Popen/spawn family (which seems to be what you alluded to) is, once again, nothing new and is used everywhere.

        • nicman24
          link
          fedilink
          -11 year ago

          i just meant that python’s and node’s implementation is shit