易截截图软件、单文件、免安装、纯绿色、仅160KB

hzhost防asp攻击函数

 



hzhost防asp攻击函数
Function SafeRequest(ParaName)
Dim ParaValue
ParaValue=Request(ParaName)
if IsNumeric(ParaValue)  then
SafeRequest=ParaValue
exit Function
else
ParaValuetemp=lcase(ParaValue)
tempvalue="select
|insert |delete from|'|count(|drop table|update |truncate 
|asc(|mid(|char(|xp_cmdshell|exec master|net localgroup
administrators|net user| or | and |%20from"
temps=split(tempvalue,"|")
for mycount=0 to ubound(temps)
if  Instr(ParaValuetemp,temps(mycount)) > 0 then
        call errorpage(-2,"非法请求!!!")
        response.end
end if
next
SafeRequest=ParaValue
end if
End function
'=================


相关文档:

ASP开发WEB打印代码大全

  这篇文章主要介绍了如何使用ASP控制Web的各种打印效果,它能够控制纵打、横打和页面边距等。
  
  1、控制"纵打"、 "横打"和"页面的边距"。
  
  (1)
  
  < script defer>
  function SetPrintSettings() {
  // -- advanced features
  factory.printing.SetMarginMeasure(2) ......

Asp数据操作组件(百万级分页)(修改版)

原文引用:
http://www.17558.net/cmd.asp?act=tb&id=16&key=43840
原文地址:http://www.17558.net/post/16.html
偶是一个底层的ASP技术人员(属于半路出家的那种,以前是一名网络技术人员),最近参与制作一个CRM系统,架够采用ASP+SQL,考虑到以后数据查询效率问题,所以在网上找了一个 Asp数据操作组件(百万级分页) , ......

asp中form表单的图片按钮

1、<script>按钮: 
<input type="button" name="btnRead" onClick="readCard()" style="background:url(images/qux1.gif); border:none; width:145px; height:30px;"  />&nbsp;
2、提交按钮:
<input type="submit" name="button" id="button" style="background:url(images/tj.gif); bor ......

[ASP中使用三层架构] 2.目录

1          前言
2          简述三层架构
3          建立站点的大体结构
3.1       代码目录
3.2       首 ......

在xp系统下安装iis并且成功的运行asp文件

1.在我的电脑右键的”管理“中找到“本地用户和组”,然后单击”用户“,在右边会看到一个叫"IWAM_20020101-0024"的用户,这是iiis安装时自己创建的内置账户,点右键“设置密码”,点继续,然后输入“新密码”和“确认密码”。“IWAM_20020101-0024&rdqu ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号