百度首页 | 百度空间
 
文章列表
 
您正在查看 "基于 http 长连接的"服务器推"技术" 分类下的文章

2008年01月18日 星期五 09:39
/*
*-----------------------------------------------------------------------
*
* daxctle2.c - Internet Explorer COM Object Heap Overflow Download Exec Exploit
* !!! 0day !!! Public Version !!!
*
* Copyright (C) 2006 XSec All Rights Reserved.
*
* Author : nop
* : nop#xsec.org
* : http://www.xsec.org
* :
* Tested : Windows 2000 Server SP4 CN
* :     + Internet Explorer 6.0 SP1
*
类别:基于 http 长连接的"服务器推"技术 | 评论(1) | 浏览()
 
2008年01月18日 星期五 09:33

在Microsoft的newsgroup上闲逛猛然发现了一个巨爽的ActiveX对象:htmlfile,例如在vbs里:

Wscript.Echo CreateObject("htmlfile").parentWindow.clipboardData.getData("text")

就可以获得剪贴板的内容,以前用的是 InternetExplorer.Application,但是要启动庞大的iexplore.exe,现在直接调用 DOM 方便多了。在网页中的应用也很多了,用js这样写:

var dom = new ActiveXObject("htmlfile);

在.NET编程里也可以直接添加一个 htmlfile 的引

类别:基于 http 长连接的"服务器推"技术 | 评论(0) | 浏览()
 
     
 
 
文章分类
 
 
 
 
 
 
 
 
 
 
 
 
Sql(56)
 
 
 
 
Css(38)
 
 
 
 
 
Div(6)
 
 
 
Xml(1)
 
 
 
 
 
 
 
 
 
Wcf(3)
 
Wpf(0)
 
 
 
 
 
Json(1)
 
Flex(15)
 
Ext(2)
 
Iis(2)
 
Linq(3)
 
 
 
 
 
     
 
文章存档
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
最新文章评论
   
 

叶的离去,不是树的不挽留,也不是风的执着,而是叶的一意孤行……
 

爱 好难
 
 

很有滋味,很有道理,很有教益!
 
     


©2008 Baidu