• 2022-06-12
    以下php代码可导致远程代码执行的有()
    A: preg_replace("/test/i",$_GET["h"],"justtest")
    B: preg_replace("/test/ie",$_GET["h"],"justtest")
    C: preg_replace("/test/ie",’test("\1")’,$_GET["h"])
    D: preg_replace("/test/ie",’test(\1)’,$_GET["h"])
  • B

    内容

    • 0

      删除test子目录下的所有文件( ) A: B: rm -rf test C: D: rmdir test E: F: rmdir -r test G: H: mkdir -r test

    • 1

      If the _______ in the test is too small, we can not get a good result.

    • 2

      下列Python代码,函数的定义和调用书写正确的是() A: def test(a| b): print(a) print(b) test(1| 2) B: def test(a): print(a) print(b) test(1, 2) C: def test(a, b): print(a) print(b) test(1) D: def test(a, b): print(a) print(b) test(1, 2)

    • 3

      【单选题】方差未知的单个正态总体均值的假设检验时,原假设是 μ≥300 ,显著性水平是 0.05,检验方法是() A. [h,p,ci]= t test(x, 300 , 0.95 , -1 ) B. [h,p,ci]= t test(x, 300 , 0.95 , 1 ) C. [h,p,ci]= t test(x, 300 , 1 ) D. [h,p,ci]= t test(x, 300 , -1 )

    • 4

      查看一下代码 ,请问输出正确的是|var Test ={| foo:"test",| func:function () {| var self=this;| console.log(this.foo);| console.log(self.foo);| (function () {| console.log(this.foo);| console.log(self.foo);| })();| }|};|Test.func(); A: test test undefined test B: test undefined undefined test C: test test undefined D: test test test test