以下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"])
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"])
举一反三
- 如果测试结果不理想, 更换该组件。 A: If the results of the test are unsatisfactory, replace the unit. B: If the conclusions of the test are not satisfactory, replace the unit. C: If the finding of the test are not satisfactory, replace the unit.
- 以下属于正则的方法有 A: text() B: replace() C: test() D: match()
- 指出代码输出的各个结果: console.log(test); function test(test){ console.log(test); var test=234; console.log(test); function test(){} } test(1); var test=123;
- To get the visa, she has to bring______. A: certificate of test B: test paper C: passport D: A and C
- 下面选项中,哪个MySql命令可以实现切换到test数据库? A: \s test B: \h test C: \? Test D: \u test