asp 判断上传文件中是否存在危险代码
实现代码如下:0 then '判断文件内容中是否包含有危险的操作字符,如有,则必须删除该文件。 AttackFlag=true exit for end if next CheckFileContent=AttackFlag end function If CheckFileContent("0.j
实现代码如下:0 then '判断文件内容中是否包含有危险的操作字符,如有,则必须删除该文件。 AttackFlag=true exit for end if next CheckFileContent=AttackFlag end function If CheckFileContent("0.j
'================================================== '函数名: CheckFile '作用:检查某一文件是否存在 '参数:FileName ------ 文件地址 如:/swf/1.swf '返回值:False----True '=========