Level 3

114 阅读1分钟

1、使用google浏览器访问 www.hack-test.com/l3l.htm,又是让…

![](https://upload-images.jianshu.io/upload_images/7466759-9b267e804b91965c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
图(1)

2、按键Ctrl+F照样全局搜索Please enter password,发现弹框实现代码如下图

![](https://upload-images.jianshu.io/upload_images/7466759-e7520f9b1843f794.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
图(2)

3、分享代码,发现密码的变量取值是 window.document.alinkColor ,直接看html文件,则直接可以知道密码是#000000或者chrome调试工具切换到Console面板,然后输入window.document.alinkColor也可以获取到具体的值。如下图所示

![](https://upload-images.jianshu.io/upload_images/7466759-47876344cff27fb6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
图(3)

4、刷新一下页面,然后再输入正确的密码#000000,则跳转到新的页面www.hack-test.com/abrae.htm,L… 通关。