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

通用asp防注入程序

‘防注入把它加到conn里这样就ok了
dim sql_injdata
SQL_injdata = "’|and|exec|insert|select|delete|update|count|*|%|chr|mid|master|truncate|char|declare"
SQL_inj = split(SQL_Injdata,"|")
If Request.QueryString<>"" Then
For Each SQL_Get In Request.QueryString
For SQL_Data=0 To Ubound(SQL_inj)
if instr(Request.QueryString(SQL_Get),Sql_Inj(Sql_DATA))>0 Then
Response.Write "<Script>alert(‘请不要在参数中包含非法字符尝试注入!’);history.back(-1)</Script>"
Response.end
end if
next
Next
End If
If Request.Form<>"" Then
For Each Sql_Post In Request.Form
For SQL_Data=0 To Ubound(SQL_inj)
if instr(Request.Form(Sql_Post),Sql_Inj(Sql_DATA))>0 Then
Response.Write "<Script>alert(‘请不要在参数中包含非法字符尝试注入!’);history.back(-1)</Script>"
Response.end
end if
next
next
end if


相关文档:

IIS无法访问asp!提示:Server Application Error

IIS无法访问asp!
解决办法!今天打开电脑发现IIS无法访问asp页面。
提示:Server Application Error 然后就有了下面的一段话。
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact ......

asp excel曲线图

<%
'┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
'┃                               ┃
'┃ 摘 要: 统计图--曲线图                     &n ......

ASP转ASP.NET(1)

      与ASP相比,ASP.NET在很多方面有了显著的改进,这些方面包括:性能、状态管理、可缩放性、配置、部署、安全性、输出缓存控制、网络场支持和XML Web services结构等。   
      如果您具有ASP   开发技能,则新的   ASP.NET   编程 ......

如何调试ASP代码

环境工具:
Visual studio 2008/2005
IIS 6.0
调试步骤如下: 
 
(1) IIS启用调试
1.     计算机管理->服务和应用程序->Internet信息服务->网站->默认网站->属性
2.     主目录->应用程序配置->调试
3.     启用ASP服 ......

把textarea内容在服务器端保存成asp文件

<%
response.Charset = "gb2312"
if request("test") <> "" then
   On Error Resume Next
   dim fso
   set fso = server.createObject("Scripting.FileSystemObject")
     
   if Err.Number > 0 then
     ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号