XSS计算器
A 252b calc payload by @ETHprod So many PoC spawn calc.exe, XSS needed a calculator…
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<input id=i><script>o='';v='i.value';for(b of z="/=.0 *321 -654 C+987 ")i.outerHTML+=(b==" "?"<br>":"<button onclick='"+(/[\d.]/.exec(b)?(v+"+=`"+b+"`"):b=="C"?"o="+v+"=``":b=="="?v+"=eval(o+"+v+")||``;o=``":"o="+v+"+`"+b+"`;"+v+"=``")+"'>"+b)</script>
</body>
</html>