单项选择题
char*p与“空值”比较的if语句,以下写法()是正确的。
A.if(p==NULL) B.if(p==0) C.if(p!=0) D.if(p)
单项选择题 String rName=request.getParameter (“reportName”);File rFile=new File(“/usr/local/apfr/reports/”+rName);rFile.delete()以上代码存在( )漏洞。
单项选择题 恶意攻击者通过http://example.com/del.jsp?reportName=../tomcat/conf/server.xml直接将tomcat的配置文件删除了,说明该系统存在()漏洞。
单项选择题 下列方法()不能有效地防止跨站脚本。