返回信息流☆─────────────────────────────────────☆
feixing (★★飞星寻梦||飞行★★发水帖就面壁思过) 于 (Wed Apr 30 22:58:19 2008) 提到:
比如这个网站http://106261965.xinwen520.net,想知道源文件
☆─────────────────────────────────────☆
gyh (--) 于 (Thu May 1 08:40:50 2008) 提到:
【 在 feixing 的大作中提到: 】
: 比如这个网站http://106261965.xinwen520.net,想知道源文件
怎么会看不到呢?
看到的只是一行
<script src=http://www.xinwen520.net/48472394k4r.asp></script><script src="0.js"></script>
说明页面是那两个js文件生成的
其中48472394k4r.asp的内容是
aaa222222=2
0.js的内容是
document.writeln("<script language=\"JavaScript\">");
document.writeln("step=0");
document.writeln("function flash_title()");
document.writeln(" {");
document.writeln(" step++");
document.writeln(" if (step==3) {step=1}");
document.writeln(" if (step==1) {document.title=\'◆◇◆【 飘 叶 寻 梦 网 】◆◇◆\'}");
document.writeln(" if (step==2) {document.title=\'◇◆◇【 飘 叶 寻 梦 网 】◇◆◇\'}");
document.writeln(" setTimeout(\"flash_title()\",200);");
document.writeln(" }");
document.writeln("flash_title()");
document.writeln("<\/script>");
document.writeln("<frameset rows=\"0,*\" frameborder=\"no\" border=\"0\" framespacing=\"0\">");
document.writeln(" <frame src=\"about:blank\" name=\"topFrame\" scrolling=\"No\" noresize=\"noresize\" id=\"topFrame\" title=\"飘叶工作室\" \/>");
document.writeln(" <frame src=\"piaoye\/piaoye\/love.jpg\" name=\"mainFrame\" id=\"mainFrame\" title=\"飘叶工作室\" \/>");
document.writeln("<\/frameset>")
这个js文件生成了框架吧.
你在页面框架上点击右键选择查看源文件就可以看到源文件了
其中注意了!那个piaoye/piaoye/love.jpg其实就是源代码!作者故意把文件扩展名改成了jpg!
你直接在浏览器中打开
http://106261965.xinwen520.net/piaoye/piaoye/love.jpg
就知道作者的用意了
要是想下载可以用下载工具下载下来,然后用记事本打开那个jpg文件就看到了
<script language="javascript"> if(top==self)top.location="http://106261965.xinwen520.net/love.jpg"</script>
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide
function pynet() {
return true;
}
window.onerror = pynet;
// -->
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<bgsound src="../css/飘叶之歌.mid" loop="infinite">
<script language="javascript" src="../css/飘叶.js"></script>
<script language="javascript" src="../css/公.js"></script>
<script language="javascript" src="../css/幻影1.js"></script>
<title>飘叶寻梦网</title>
<style type="text/css">
body{cursor: url("../css/鼠标.cur");}
</style>
<script language="JavaScript">
step=0
function flash_title()
{
step++
if (step==3) {step=1}
if (step==1) {window.status='◇◆◇◆◇◆飄葉尋夢傷感帝國--喜歡傷感的你一定會喜歡◆◇◆◇◆◇'}
if (step==2) {window.status='◆◇◆◇◆◇飄葉尋夢傷感帝國→喜歡傷感的你一定會喜歡◇◆◇◆◇◆'}
setTimeout("flash_title()",200);
}
flash_title()
</script>
<style type="text/css">
BODY {
SCROLLBAR-TRACK-COLOR: #2E3B4E;
SCROLLBAR-BASE-COLOR: #2E3B4E}
</style>
<script language="JavaScript">
<!--
function MM_reloadPage(init) {//reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>
<body bgcolor="#28384A" leftmargin="0" topmargin="4" oncontextmenu="return false" onselectstart="return false">
<SCRIPT language=JavaScript1.2>
//Configure below to change URL path to the snow image
var speed = 350; // the lower the number the faster the image moves
var snowsrc= new Array();
snowsrc[0] = "../img/8.8.gif"
snowsrc[1] = "../img/9.9.gif"
// Configure below to change number of snow to render
var no = 6;
var ns4up = (document.layers) ? 1 : 0;// browser sniffer
var ie4up = (document.all) ? 1 : 0;
var dx, xp, yp;// coordinate and position variables
var am, stx, sty;// amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
j = 0
for (i = 0; i < no; ++i) {
dx[i] = 0;// set coordinate variables
xp[i] = Math.random()*(doc_width-50);// set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) {// set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src=\""+ snowsrc[j] + "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src=\""+ snowsrc[j] + "\" border=\"0\"></layer>");
}} else if (ie4up) {if (i == 0)
{
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"VISIBILITY: visible; TOP: 15px; LEFT: 15px; width:1;\"><img src=\"" + snowsrc[j] + "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"VISIBILITY: visible; TOP: 15px; LEFT: 15px; width:1;\"><img src=\"" + snowsrc[j] + "\" border=\"0\"></div>");
}
}
if (j == (snowsrc.length-1)) { j = 0; } else { j += 1; }
}
function snowNS() {// Netscape main animation function
for (i = 0; i < no; ++ i) {// iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", 10);
}
function snowIE() {// IE main animation function
for (i = 0; i < no; ++ i) {// iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", 15);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
</SCRIPT>
<TABLE WIDTH=796 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
<TR>
<TD ROWSPAN=3 width="94">
<img border="0" src="../img/4.4.gif" width="94" height="95"></TD>
<TD ROWSPAN=6 width="26">
<img border="0" src="../img/6.6.gif" width="26" height="440"></TD>
<TD COLSPAN=2 ROWSPAN=2 width="119"> </TD>
<TD COLSPAN=3 width="541"> </TD>
<TD width="6"> <IMG SRC="../spacer.gif" WIDTH=1 HEIGHT=27 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2 width="498">
<img border="0" src="../img/1.1.gif" width="498" height="60"></TD>
<TD ROWSPAN=5 width="41"> </TD>
<TD width="6"> <IMG SRC="../spacer.gif" WIDTH=1 HEIGHT=60 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3 ROWSPAN=2 width="378">
<img border="0" src="../img/7.7.gif" width="368" height="31"></TD>
<TD ROWSPAN=3 width="252"> </TD>
<TD width="6"> <IMG SRC="../spacer.gif" WIDTH=1 HEIGHT=8 ALT=""></TD>
</TR>
<TR>
<TD width="94"> <img border="0" src="../img/5.5.gif" width="94" height="23"></TD>
<TD width="6"> <IMG SRC="../spacer.gif" WIDTH=1 HEIGHT=23 ALT=""></TD>
</TR>
<TR>
<TD ROWSPAN=2 width="94"> </TD>
<TD ROWSPAN=2 width="80"> </TD>
<TD COLSPAN=2 width="298"> </TD>
<TD width="6"> <IMG SRC="../spacer.gif" WIDTH=1 HEIGHT=24 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3 width="537" height="299">
<img border="0" src="../img/2.2.gif" width="535" height="254"></TD>
</TR>
<TR>
<TD width="786" colspan="8">
<a href="javascript:openit('首页.gif');" title="点击这里进入主页" style="cursor:hand;" onmouseover=Show(qa02) onMouseOut="Hide(qa02)">
<div class="qa_div" id="qa02" align="left" style="position: absolute; left: 283px; top:112px; width:50px">
<img border="0" src="img/进入.gif" width="559" height="53"></div></font><img border="0" src="../img/3.3.gif" width="800" height="130"></a></TD>
</TR>
<TR>
<TD width="94"> <IMG SRC="../spacer.gif" WIDTH=94 HEIGHT=1 ALT=""></TD>
<TD width="26"> <IMG SRC="../spacer.gif" WIDTH=26 HEIGHT=1 ALT=""></TD>
<TD width="80"> <IMG SRC="../spacer.gif" WIDTH=80 HEIGHT=1 ALT=""></TD>
<TD width="37"> <IMG SRC="../spacer.gif" WIDTH=37 HEIGHT=1 ALT=""></TD>
<TD width="261"> <IMG SRC="../spacer.gif" WIDTH=251 HEIGHT=1 ALT=""></TD>
<TD width="285" style="text-align: center">
<IMG SRC="../spacer.gif" WIDTH=41 HEIGHT=1 ALT=""></p>
</TD>
<TD width="6"></TD>
</TR>
</TABLE>
</body>
</html>
☆─────────────────────────────────────☆
bebop (菜鸟) 于 (Thu May 1 09:34:24 2008) 提到:
赞技术贴。
☆─────────────────────────────────────☆
quark (quark) 于 (Thu May 1 16:03:02 2008) 提到:
推荐使用Firefox插件---FireBug,然后这些问题都很容易解决。
☆─────────────────────────────────────☆
picture (【天山南北烤肉军团】团长兼烤肉王——P王) 于 (Thu May 1 19:22:50 2008) 提到:
大牛啊
☆─────────────────────────────────────☆
gyh (--) 于 (Thu May 1 19:58:08 2008) 提到:
【 在 quark 的大作中提到: 】
: 推荐使用Firefox插件---FireBug,然后这些问题都很容易解决。
GreenBrowser的这种功能也很强~
☆─────────────────────────────────────☆
mop (记忆邮心) 于 (Fri May 2 00:34:57 2008) 提到:
有在线的,直接输入网址都可以,都不用打开网页
☆─────────────────────────────────────☆
edenmare (似是而非) 于 (Fri May 2 01:02:14 2008) 提到:
wget
☆─────────────────────────────────────☆
nioxt (it's my life) 于 (Fri May 2 02:00:52 2008) 提到:
zan
☆─────────────────────────────────────☆
hongbaoshu (红宝书) 于 (Fri May 2 09:22:13 2008) 提到:
请问怎么下载的jpg?我用快车下载到的是一堆alert()
【 在 gyh 的大作中提到: 】
: 怎么会看不到呢?
: 看到的只是一行
: <script src=http://www.xinwen520.net/48472394k4r.asp></script><script src="0.js"></script>
: ...................
☆─────────────────────────────────────☆
quark (quark) 于 (Fri May 2 09:35:46 2008) 提到:
好像现在那张jpg的内容变成了:
<html>
<body>
<img src="http://106261965.xinwen520.net/piaoye/piaoye/love.jpg" alt="http://106261965.xinwen520.net/piaoye/piaoye/love.jpg"/>
</body>
</html>
是个死循环 = =b
☆─────────────────────────────────────☆
gyh (--) 于 (Fri May 2 11:41:28 2008) 提到:
【 在 hongbaoshu 的大作中提到: 】
: 请问怎么下载的jpg?我用快车下载到的是一堆alert()
我用的是迅雷下载的,或者用目标另存为也可以
☆─────────────────────────────────────☆
wks (cloverprince) 于 (Fri May 2 15:00:42 2008) 提到:
在命令行下输入 wget http://106261965.xinwen520.net
☆─────────────────────────────────────☆
gyh (--) 于 (Fri May 2 15:56:14 2008) 提到:
【 在 wks 的大作中提到: 】
: 在命令行下输入 wget http://106261965.xinwen520.net
这里不是LINUX版,这个方法对多数人不适用
而且wget那个网址得到的代码和直接用浏览器查看源代码看到的是一样的只有2行代码
☆─────────────────────────────────────☆
quark (quark) 于 (Fri May 2 17:35:13 2008) 提到:
telnet, 两个平台都有的。
简单的方法:
telnet xxxxxx.com 80
GET /xxxxx.html
【 在 gyh (--) 的大作中提到: 】
: 这里不是LINUX版,这个方法对多数人不适用
: 而且wget那个网址得到的代码和直接用浏览器查看源代码看到的是一样的只有2行代码
☆─────────────────────────────────────☆
pavilion1019 (冰凌心""耽美与Loli"") 于 (Sat May 3 12:31:56 2008) 提到:
别人ASP的好多东西你是看不到 看到了都是在SERVER编译过的东西了
☆─────────────────────────────────────☆
gyh (--) 于 (Sat May 3 17:59:47 2008) 提到:
【 在 pavilion1019 的大作中提到: 】
: 别人ASP的好多东西你是看不到 看到了都是在SERVER编译过的东西了
LZ没说要看ASP啊,只说看前台代码
☆─────────────────────────────────────☆
ericyosho (ericyosho) 于 (Sat May 3 23:38:19 2008) 提到:
那个网站的写手也太不厚道了,就这点破代码还要藏着掖着。
……
唉。
☆─────────────────────────────────────☆
feixing (★★飞星寻梦||飞行★★发水帖就面壁思过) 于 (Sun May 4 00:23:59 2008) 提到:
谢谢了,真技术
☆─────────────────────────────────────☆
feixing (★★飞星寻梦||飞行★★发水帖就面壁思过) 于 (Sun May 4 00:42:36 2008) 提到:
还有他的首页等页面怎么看?觉得这个网站好牛,研究了好久不懂
这是一条镜像帖。来源:北邮人论坛 / www-technology / #3323同步于 2008/5/28
WWWTechnology机器人发帖
[合集] 有些网站不能查看源文件,怎么破解?
tntzwz
2008/5/28镜像同步0 回复
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。