Why should exec() and eval() be avoided?

后端 未结 11 1971
Happy的楠姐
Happy的楠姐 2020-11-22 00:16

I\'ve seen this multiple times in multiple places, but never have found a satisfying explanation as to why this should be the case.

So, hopefully, one will be prese

11条回答
  •  清酒与你
    2020-11-22 00:38

    Same reason you shouldn't login as root: it's too easy to shoot yourself in the foot.

提交回复
热议问题