找回密码
 开放注册

QQ登录

只需一步,快速开始

微信登录

微信扫码,快速开始

搜索
查看: 1715|回复: 3

一个不错的IE漏洞查找(HTML源码)

[复制链接]

105

主题

261

回帖

559

牛毛

论坛管理员

自由人

积分
1447
QQ
发表于 2009-5-19 00:59:08 | 显示全部楼层 |阅读模式
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <!-- saved from url=(0060)http://metasploit.com/users/hdm/tools/domhanoi/domhanoi.html -->
  3. <HTML><HEAD><TITLE>DOM-Hanoi v0.2</TITLE>
  4. <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
  5. <SCRIPT>
  6. /*
  7. ---===[ DOM-Hanoi v0.2

  8. H D Moore :: hdm[at]metasploit.com
  9. Aviv Raff :: avivra[at]gmail.com

  10. (c) 2006 All rights reserved.

  11. ]===---
  12. */
  13. var ctrls = new Array(
  14. "a",
  15. "abbr",
  16. "acronym",
  17. "address",
  18. //"applet",
  19. "area",
  20. "b",
  21. "base",
  22. "basefont",
  23. "bdo",
  24. "bgsound",
  25. "big",
  26. "blink",
  27. "blockquote",
  28. "br",
  29. "button",
  30. "caption",
  31. "center",
  32. "cite",
  33. "code",
  34. "col",
  35. "colgroup",
  36. "comment",
  37. // "custom", use XMLNS ?
  38. "dd",
  39. "del",
  40. "dfn",
  41. "dir",
  42. "div",
  43. "dl",
  44. "dt",
  45. "em",
  46. "embed",
  47. "fieldset",
  48. "font",
  49. "form",
  50. "frame",
  51. "frameset",
  52. "head",
  53. "h1",
  54. "h2",
  55. "h3",
  56. "h4",
  57. "h5",
  58. "h6",
  59. "hr",
  60. "html",
  61. "i",
  62. "iframe",
  63. "img",

  64. "input",
  65. /* "input type='button'",
  66. "input type='checkbox'",
  67. "input type='hidden'",
  68. "input type='image'",
  69. "input type='password'",
  70. "input type='radio'",
  71. "input type='reset'",
  72. "input type='submit'",
  73. "input type='text'",
  74. */
  75. "ins",
  76. "isindex",
  77. "kbd",
  78. "label",
  79. "legend",
  80. "li",
  81. "link",
  82. "listing",
  83. "map",
  84. "marquee",
  85. "menu",
  86. "meta",
  87. "nobr",
  88. "noframes",
  89. "noscript",
  90. "object",
  91. "ol",
  92. "optgroup",
  93. "option",
  94. "p",
  95. "param",
  96. "plainText",
  97. "pre",
  98. "q",
  99. "rt",
  100. "ruby",
  101. "s",
  102. "samp",
  103. "script",
  104. "select",
  105. "small",
  106. "span",
  107. "strike",
  108. "strong",
  109. "style",
  110. "sub",
  111. "sup",
  112. "table",
  113. "tbody",
  114. "td",
  115. "textarea",
  116. "tfoot",
  117. "th",
  118. "thead",
  119. "title",
  120. "tr",
  121. "tt",
  122. "u",
  123. "ul",
  124. "var",
  125. "wbr",
  126. "xml",
  127. "xmp"
  128. )

  129. var maxLevel=0;
  130. var removeElement=false;

  131. function appendAllTags(obj, level, top) {
  132. for (var i in ctrls) {
  133. try {
  134. var t=document.createElement(ctrls);
  135. var newTop=top+" - "+ctrls;
  136. updateStatus("Adding "+newTop);
  137. if (level<maxLevel) {
  138. //window.setTimeout(function () { appendAllTags(t, level+1, newTop);obj.appendChild(t);if (removeElement) obj.removeChild(t);}, 15);
  139. appendAllTags(t, level+1, newTop);
  140. }
  141. obj.appendChild(t);
  142. if (removeElement) {
  143. obj.removeChild(t);
  144. }
  145. }
  146. catch (e) { }
  147. }
  148. }

  149. function go() {
  150. var cbxRC=document.getElementById("cbxRC");
  151. removeElement=cbxRC.checked;
  152. var maxLevelCont=document.getElementById("maxLevel");
  153. maxLevel=parseInt(maxLevelCont.value);
  154. var dcont=document.getElementById("dcont");
  155. //window.setTimeout(function () { appendAllTags(dcont, 0, ""); }, 15);
  156. appendAllTags(dcont, 0, "");
  157. }

  158. function updateStatus(status) {
  159. var dStatus=document.getElementById("dStatus");
  160. dStatus.innerText="Status: "+status;
  161. window.status=status;
  162. }
  163. </SCRIPT>

  164. <META content="MSHTML 6.00.2800.1555" name=GENERATOR></HEAD>
  165. <BODY>
  166. <H3>Welcome to <A
  167. href="http://metasploit.com/users/hdm/tools/domhanoi/">DOM-Hanoi</A>.</H3>
  168. <DIV>DOM-Hanoi is a community-developed utility for verifying browser integrity,
  169. written by H D Moore and Aviv Raff.<BR>DOM-Hanoi will look for common DHTML
  170. implementation flaws by adding/removing DOM elements, in a similar way to the
  171. known <A href="http://en.wikipedia.org/wiki/Tower_of_Hanoi" target=_blank>Tower
  172. of Hanoi</A> game.<BR>This utility may cause the browser to "freeze" for a long
  173. period of time, this is OK, and interrupting the process will prevent all the
  174. tests from completing. Some browsers will raise a warning if a script is taking
  175. too long to execute - you will need to click "No, do not abort" or the
  176. equivalent to allow all tests to complete. <BR></DIV><BR>Maximum recursion
  177. level: <INPUT id=maxLevel value=3><BR><INPUT id=cbxRC type=checkbox
  178. CHECKED><LABEL for=cbxRC>Remove element after append</LABEL><BR><BR><INPUT onclick=go() type=button value="Start Testing"><BR>
  179. <DIV id=dStatus></DIV>
  180. <DIV id=dcont style="VISIBILITY: hidden"></DIV></BODY></HTML>
复制代码

16

主题

31

回帖

47

牛毛

初生牛犊

积分
47
发表于 2009-5-20 04:47:11 | 显示全部楼层 来自 安徽省合肥市
本帖最后由 ansinjay 于 2009-5-20 04:48 编辑

······好久没看见雪风哥发贴了,难得呀,我在论坛找雪风大哥以前的教程,好多都是以前博客去下载的,但那个博客似乎不存在了,所以我求雪风哥以前发布过的教程,比如修改鸽子那个14课,我在论坛里面找了好久才找到了6课,是只出了6课还是什么原因我不清楚,还有就是那个修改鸽子为专用上线教程,我不想自己的DAT被别人拿去乱用,你的那个博客我去了,但好像已经不存在,打不开了,哪么多经典的教程就那样付之东流了,好可惜,所以在这里,我求雪风大哥以前发布过的所有教程,只要是你出的,不管什么,我都要,希望雪风大哥给个下载地址谢谢,黑狼和雪风我是永远支持的@!!!!!我的邮箱:kofzjf@tom.com

0

主题

17

回帖

28

牛毛

初生牛犊

积分
28
发表于 2012-11-24 13:05:46 | 显示全部楼层 来自 广东省广州市
是保存一个页面,然后在空间上运行的吗?

3

主题

2

回帖

2

牛毛

初生牛犊

经理

积分
2
发表于 2012-11-27 12:10:43 | 显示全部楼层 来自 广东省深圳市
感觉不错来看下
您需要登录后才可以回帖 登录 | 开放注册

本版积分规则

帮助|Archiver|小黑屋|通信管理局专项备案号:[2008]238号|NB5社区 ( 皖ICP备08004151号;皖公网安备34010402700514号 )

GMT+8, 2025-4-25 22:26 , Processed in 0.243016 second(s), 50 queries .

Powered by Discuz! X3.5

快速回复 返回顶部 返回列表