This is the level10 mini challenge found in
/home/level/10/ on the warchall box. You can view the
source here. 这是 Warchall 服务器上的 Level 10 小挑战,目录在
/home/level/10/(当前服务器实际目录名为
/home/level/10_choose_your_path/),题目页面给出了源码。
One reason why I wanted the warchall box is to offer more realistic
webhacking challenges. You may now try the Live LFI challenge that is
hosted on it. Good Luck! Warchall 服务器上托管了更接近真实环境的 Web
hacking 题目。这个挑战是 Live LFI。
Z and Gizmore were thinking of a file-sharing company, Crappyshare,
to collect the latest warez and earn money in one go. While gizmore was
working with the designer on the xhtml/css stuff, Z implemented the
upload script, and we got first results...but it seems to contain a
vulnerability somewhere. Some crackers already managed to gather
sensitive local files (solution.php) and broke into the server.
这是一道 Research 类挑战,目标是找到 WeChall 管理员使用的隐藏
phpMyAdmin
页面。题面没有表单,也不需要提交密码;找到正确入口后访问即可判定。
页面底部藏了一行接近白色的提示文字(color:#fefefe,白底白字,查看
HTML 源码可见):
1
You don't need a hint, do you?
Solution
题名 PHP My Admin 本身就是提示。pma 是
phpMyAdmin 的常见缩写,所以直接尝试对应子域名:
1
https://pma.wechall.net/
访问该子域名会触发挑战检查。公开未登录访问也能看到命中提示,但不会记录账号进度:
1 2 3 4 5 6 7 8
$ curl -skL \ -H 'User-Agent: Mozilla/5.0' \ 'https://pma.wechall.net/' <html> <body> 1:76:Your answer is correct. To keep track of your progress you need to register. </body> </html>
This challenge is about researching the GWF3 codebase. I have put 2
passwords somewhere, but .... The first password is obvious and the
second is very subversive. Both are near. Combine them without any
separator.
if (isset($_POST['username'])) { echoGWF_Box::box(sprintf( "Well done %s, you entered your username. But this is <b>not</b> what you need to do.", htmlspecialchars(Common::getPostString('username')) )); }
# Check your injection and fix the hole by silently applying htmlsepcialchars to the vuln input. if (phpself_checkit()) { $chall->onChallengeSolved(GWF_Session::getUserID()); }