本帖最后由 mnm001 于 2009-6-28 13:24 编辑
发现转发规则里的端口列表是保存在一个JS 里面的
<html>
<head>
</head>
<frameset framespacing="0" frameborder="no" cols="*" rows="94,*" border="0">
<frameset framespacing="0" frameborder="no" cols="185,*" rows="*" border="0">
<frame scrolling="no" noresize="" src="/frames/logo.htm" name="topLeftFrame">
<html>
<head>
<title>Logo</title>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type"/>
<meta content="no-cache" http-equiv="pragma"/>
<script language="javascript">
1
2<!--
3var newWin;
4var url="http://www.tp-link.com.cn"; //弹出页面的url
5
6if(window.parent == window) //如果页面不在框架中,则跳转到url
7 window.location.href=url;
8function Click(){ window.event.returnValue=false;}
9document.oncontextmenu=Click;
10
11function NewW()
12{
13 if(newWin) newWin.close();
14 newWin=window.open(url,"","scrollbars=yes,resizable=yes,toolbar=yes,status=yes,menubar=yes,scrollbar=yes,location=yes");
15 return true;
16}
17function ShowUrl() { //v1.0
18 status=url;
19 return true;
20}
21function EraseUrl()
22{
23 status="";
24 return true;
25}
26
27var address;
28var errorFlag;
29function LoadPage(){
30 if(true == errorFlag)
31 parent.location.href = 'http://' + address;
32}
33function LoadNewIp(){
34 errorFlag = true;
35 setTimeout("LoadPage()",3000);
36}
37function stopLoad(){
38 errorFlag = false;
39}
40
41//-->
42
</script>
<style type="text/css">
1<!--
2a.tp:visited{COLOR: #ffffff; TEXT-DECORATION: none; underline: none}
3a.tp:hover {COLOR: #ff4000; TEXT-DECORATION: none}
4a.tp:link {COLOR: #ffffff; TEXT-DECORATION: none; underline: none}
5.font {font-family: "Times New Roman", "宋体"; font-size: 12px;color: #FFFFFF;}
6-->
</style>
<meta content="no-cache" http-equiv="pragma"/>
</head>
<body bgcolor="#006699" background="/images/bgColor.jpg" topmargin="0" leftmargin="0">
<table class="font" width="185" height="94" cellspacing="0" cellpadding="0" border="0">
</table>
</body>
</html>
</frame>
<frame scrolling="no" noresize="" src="/userRpm/BannerRpm.htm" name="topRightFrame">
</frame>
</frameset>
<frameset framespacing="0" frameborder="no" cols="158,30,*" rows="*" border="0">
<frame scrolling="no" noresize="" src="/userRpm/MenuRpm.htm?MainID=0&SubID=0" name="bottomLeftFrame">
</frame>
<frame scrolling="no" noresize="" src="/frames/arc.htm" name="arcFrame">
<html>
<head>
<title>arc</title>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type"/>
</head>
<body topmargin="0" leftmargin="0">
<table width="40" height="80" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top" height="40" align="left" colspan="2">
<img width="30" height="31" src="/images/arc.jpg"/>
</td>
</tr>
</tbody>
</table>
</body>
</html>
</frame>
<frame src="/userRpm/MainRpm.htm" name="mainFrame">
<html>
<head>
<title>VirtualServer</title>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type"/>
<meta content="no-cache" http-equiv="pragma"/>
<meta content="wed, 26 Feb 1997 08:21:57 GMT" http-equiv="expires"/>
<link href="/dynaform/r410.css" type="text/css" rel="stylesheet">
1body {
2 font-size: 75%;
3 color: #003399;
4 background-color: #FFFFFF;
5 padding-top: 10px;
6 padding-left: 10px;
7 font-family: "宋体", "Times New Roman";
8
9}
10td {
11 font-size: 12px;
12 line-height: 18px;
13 text-decoration: none;
14
15}
16input.button {
17 font-size: 12px;
18 font-style: normal;
19 font-weight: normal;
20 font-variant: normal;
21 border: 1px solid #183ead;
22 line-height: normal;
23 background-color: #ddddff;
24 color: #000000;
25 height: 18px;
26}
27input.text {
28 font-size: 12px;
29 font-style: normal;
30 line-height: normal;
31 font-weight: normal;
32 font-variant: normal;
33 height: 18px;
34 border: 1px solid #183ead;
35 color: #000000;
36 padding-right: 3px;
37 padding-left: 3px;
38}
39td.title {
40 font-size: 12px;
41 color: #FFFFFF;
42 background-color: #6699FF;
43 height: 24px;
44}
45td.tail {
46 font-size: 12px;
47 height: 25px;
48}
49td.hline {
50 background-color: #FF9933;
51 height: 1px;
52 color: #FF9933;
53}
54td.vline {
55 color: #FF9933;
56 background-color: #FF9933;
57 width: 1px;
58}
59.space {
60 margin-top: 10px;
61 margin-bottom: 10px;
62}
63table {
64 background-color: #F5F5F5;
65}
66select.list {
67 font-size: 12px;
68 font-style: normal;
69 line-height: normal;
70 font-weight: normal;
71 font-variant: normal;
72 height: 18px;
73 color: #000000;
74 border: 1px solid #183ead;
75}
76input.buttonface {
77 font-size: 12px;
78 font-style: normal;
79 font-weight: normal;
80 font-variant: normal;
81 border: 1px solid #183ead;
82 line-height: normal;
83 background-color: #ddddff;
84 color: #000000;
85 height: 18px;
86}
87td.top {
88 font-size: 12px;
89 line-height: 18px;
90 text-decoration: none;
91 vertical-align: top;
92
93}
94input.textspecial {
95 font-size: 12px;
96 font-style: normal;
97 line-height: normal;
98 font-weight: normal;
99 font-variant: normal;
100 height: 18px;
101 border: 1px solid #183ead;
102 color: #000000;
103}
104
</link>
<script language="Javascript">
1<!--
2if(window.parent == window){window.location.href="http://192.168.0.1";}
3function Click(){ window.event.returnValue=false;}
4document.oncontextmenu=Click;
5function doHelp(){location.href="/userRpm/VirtualServerHelpRpm.htm";}
6function doAll(val){if(val=="DelAll"){if(!confirm("确定删除所有条目?")) return;} location.href="/userRpm/VirtualServerRpm.htm?doAll="+val+"&Page="+curPage;}
7function doAdd(nPage){location.href="/userRpm/VirtualServerRpm.htm?Add=Add&Page="+nPage;}
8function doPage(nPage){location.href="VirtualServerRpm.htm?Page="+nPage;}
9function ResetStatus(strInfo){window.status=strInfo; return true;}
10var protocolList = new Array(
11"",
12"ALL",
13"TCP",
14"UDP"
15);
16//-->
</script>
<meta name="GENERATOR" content="MSHTML 6.00.2800.1106"/>
<script language="JavaScript">
1<!--
2var virServerListPara = new Array(
33389, 3389, "192.168.0.252", 1, 1,
480, 80, "192.168.1.252", 1, 1,
581, 81, "192.168.1.251", 1, 1,
61430, 1440, "192.168.1.251", 1, 0,
72500, 2510, "192.168.1.252", 1, 1,
85566, 5577, "192.168.1.247", 1, 1,
98000, 9010, "192.168.0.246", 1, 1,
102000, 2000, "192.168.1.252", 1, 1,
110,0 );
12var virServerPara = new Array(
131,
140,
158,
165,
178,
180,0 );
19//-->
</script>
<meta content="no-cache" http-equiv="pragma"/>
</head>
<body>
<center>
<form onsubmit="return doSubmit();" method="get" enctype="multipart/form-data" action="VirtualServerRpm.htm">
<table width="552" cellspacing="0" cellpadding="0" border="0">
</table>
<input type="hidden" value="1" name="curpage"/>
</form>
</center>
<br/>
<script language="JavaScript">
1
2var curPage = virServerPara[0];
3var prePage = (virServerPara[0] == 1)?1:virServerPara[0]-1;
4var NextPage = virServerPara[0]+1;
5document.forms[0].Page.value = curPage;
6document.forms[0].previous.disabled = (virServerPara[0] < 2)?true:false;
7document.forms[0].next.disabled = (virServerPara[1] > 0)?false:true;
8
</script>
</body>
</html>
</frame>
</frameset>
</frameset>
<noframes><BODY onLoad="doPop();">对不起,您的浏览器不支持框架!</BODY></noframes>
</html>
怎么读取他呢?$oForm = _IEFormGetObjByName ($oIE, "mainFrame");
msgbox(0,"Handle of frame",$oForm);
$objs = _IEBodyReadHtml($oForm)
读不到里面的内容。用_iebodyreadtext也一样。 |