戴威尔黑客游戏第二关怎样过?
发布网友
发布时间:2023-07-05 05:34
我来回答
共2个回答
热心网友
时间:2024-12-15 07:18
三.第三关(网页源代码查看)
进入第三关,首先出现的是一个Javascript的input对话框。还是要分析源代码,但用浏览器很难做到。我以前编写过一个黑客集成工具,里面有查看网页代码的功能,用它得到网页的源代码:
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
</script>
<SCRIPT LANGUAGE="JavaScript">
var username = "中安网培" ;
var username1 = "小鱼巫师" ;
var username2 = "myhk" ;
var username3 = "clygs" ;
var username4 = "hackervip.com/bbs" ;
var message1 = "请输入您的用户名";
var un = prompt (message1,"");
var password = "^#()@#$$$" ;
var password1 = "UE33355" ;
var password2 = "webmaster@hackervip.com" ;
var password3 = "http://www.hackervip.com" ;
var password4 = "http://vip.hackervip.com" ;
var message = "请输入密码";
var incmess = "用户名或密码错误";
var minimizemsg = ":)"
var pw = prompt (message,"");
if (un == username) {
if (pw != password) {
alert (incmess);
// window.content (
window.open("error.htm","_self") }
}
if (un == username1) {
if (pw != password1) {
alert (incmess);
// window.content (
window.open("error.htm","_self") }
}
if (un == username2) {
if (pw != password2) {
alert (incmess);
// window.content (
window.open("error.htm","_self") }
}
if (un == username3) {
if (pw != password3) {
alert (incmess);
// window.content (
window.open("error.htm","_self") }
}
if (un == username4) {
if (pw != password4) {
alert (incmess);
// window.content (
window.open("error.htm","_self") }
}
if (un != username) {
if (un != username1) {
if (un != username2) {
if (un != username3) {
if (un != username4) {
alert (incmess);
// window.content (
window.open("error.htm","_self")
}
}
}
}
}
//JavaScript ends ---------->
</SCRIPT>
<TITLE>中安网培黑客游戏 http://www.hackervip.com/第三关(网页关)!</TITLE>
</HEAD>
<noscript>
<iframe src="*.htm"></iframe></noscript>
<BODY bgcolor="#000000">
<meta http-equiv="refresh" content="0;url=error.htm">
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
//-->
</script>
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
//-->
</script>
<script language="Javascript">
function PassConfirm() {
var htm=document.password.pass.value
if (htm=="htm") {
window.open("3.14159265358979323846264.htm","_self") }
else {
window.open("error.htm","_self") }
}
</SCRIPT>
<center>
<p> </p>
<p><font color="#FF0000" size="6">中安网培黑客游戏 </font></p>
<p><font color="#FF0000" size="6"><a href="http://www.hackervip.com/">http://www.hackervip.com/</a> </font></p>
<p><font color="#00FF00" size="5">第三关</font></p>
<p><font color="#00FF00" size="5">(黑客游戏网页关)!</font></p>
<form name="password" method="post">
<font color="#00FF00">
<BR>
要求:进入第四关!</font><p><br>
<font size="5">
<font color="#FF0000">请输入密码:</font><br></font><br>
<input type="password" name="pass" size="20"> <BR><BR>
<input type="button" value="确定" onClick="return PassConfirm()"> </p>
</FORM>
</center>
<p> </p>
<p align="center"><font size="4" color="#FF0000">设计者:中安网培
<a href="http://www.hackervip.com">http://www.hackervip.com</a></font></p>
<p align="center"><font size="4" color="#FF0000">黑客培训,安全培训门户网站</font></p>
<SCRIPT>
function stop(){
return false;
}
document.oncontextmenu=stop;
</SCRIPT>
</BODY>
</HTML>
代码是明文的,得到第四关的地址是3.14159265358979323846264.htm。
参考资料:戴威尔
热心网友
时间:2024-12-15 07:19
用迅雷,把第二关的jpg.htm下载下来,打开,就会出现第四关的地址(3.14159265358979323846264.htm)了,不需要用户名和密码,