
- "content-type" content="text/html;charset=utf-8">
- window.alert = function()
- {
- confirm("完成的不错!");
- window.location.href="level8.php?keyword=nice try!";
- }
欢迎来到level7 欢迎来到level7
-
- ini_set("display_errors", 0);
- $str =strtolower( $_GET["keyword"]);
- $str2=str_replace("script","",$str);
- $str3=str_replace("on","",$str2);
- $str4=str_replace("src","",$str3);
- $str5=str_replace("data","",$str4);
- $str6=str_replace("href","",$str5);
- echo "
没有找到和"
.htmlspecialchars($str)."相关的结果.".' - $str6.'">
- ';
- ?>

-
- echo "
payload的长度:"
.strlen($str6).""; - ?>
它把一些关键词换成了空所以双写

"> xss

这样第七关就成功了