Skip to content

Instantly share code, notes, and snippets.

@beenhero
Created March 22, 2018 15:19
Show Gist options
  • Save beenhero/a7afd61f8d431c9125cc3e51b9b41215 to your computer and use it in GitHub Desktop.
Save beenhero/a7afd61f8d431c9125cc3e51b9b41215 to your computer and use it in GitHub Desktop.
高防误伤问题
<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\" />\n<style>\nbody{ background:#fff; font-family: microsoft yahei; color:#969696; font-size:14px;}\n.online-desc-con { text-align:center; }\n.r-tip01 { color: #333; font-size: 18px; display: block; text-align: center; width: 500px; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; margin: 0 auto 15px; }\n.r-tip02 { color: #585858; font-size: 14px; display: block; margin-top: 20px; margin-bottom: 20px; }\n#notice-jiasule {\n word-wrap: break-word;\n word-break: normal;\n color:#585858;\n border:1px solid #ddd;\n padding:0px 20px 0px 20px\n}\nimg { border: 0; }\n.u-ico{ vertical-align: middle; margin-right: 12px;}\n.btn{ padding: 8px 22px; border-radius: 3px; border: 0; display: inline-block;vertical-align: middle;text-decoration: none;}\n.btn-g{ background-color: #61b25e; color: #fff;}\n.report {color: #858585; text-decoration: none;}\n.report:hover {text-decoration: underline; color: #0088CC;}\nhr{ border-top: 1px dashed #ddd;}\ncenter{ line-height: 48px; color: #919191;}\n</style>\n<script type=\"text/template\" id=\"content_tpl\">\n <span class=\"r-tip01\"><%= error_403 %></span>\n <div id='notice-jiasule'>\n <p>当前网址:<%- url %></p>\n <p>客户端特征:<%- user_agent %></p>\n <p>拦截时间:<%- now %>&nbsp;&nbsp;本次事件ID&nbsp;<%- rule_id %></p>\n </div>\n <span class='r-tip02'>\n <img class='u-ico' alt='' src='/cdn-cgi/image/guest.png' />如果您是网站管理员,请登录知道创宇云安全&nbsp;\n <a class='btn btn-g' href='http://help.yunaq.com/feedback.html?from=<%- from %>&rule_id=<%- rule_id %>&client_ip=<%- client_ip %>&referrer=<%- ref %>#pus' target='_blank'>查看详情</a>\n &nbsp;或者&nbsp;\n <a class='report' href='http://help.yunaq.com/feedback.html?from=<%- from %>&rule_id=<%- rule_id %>&client_ip=<%- client_ip %>&referrer=<%- ref %>#hus' target='_blank'>反馈误报</a>\n </span>\n</script>\n<script type=\"text/javascript\" src=\"/cdn-cgi/js/underscore_min_1.8.3.js\"></script>\n</head>\n<body>\n<div class=\"online-desc-con\" style=\"width:640px;padding-top:15px;margin:34px auto;\">\n\t<img alt=\"\" style=\"margin: 0 auto 17px auto;\" src=\"/cdn-cgi/image/protected.png\" />\n <div id=\"content_rendered\"></div>\n\t<hr />\n\t<center>client: 223.104.63.188, server: ad3508b, time: 2018-03-22 21:50:10</center>\n</div>\n<script>\nvoid(function fuckie6(){if(location.hash && /MSIE 6/.test(navigator.userAgent) && !/jsl_sec/.test(location.href)){location.href = location.href.split('#')[0] + '&jsl_sec' + location.hash}})();\nvar content = _.template(document.getElementById('content_tpl').innerHTML)({\n error_403: '当前访问因疑似CC攻击,已被云防御拦截' || '当前访问疑似黑客攻击,已被网站管理员设置为拦截',\n url: document.URL.replace(/\\</g,\"%3C\").replace(/\\>/g,\"%3E\"),\n user_agent: navigator.userAgent,\n now: new Date(new Date() - -8 * 3600000).toISOString().substr(0, 19).replace('T', ' '),\n rule_id: parseInt('<!--RULE_ID-->'.replace(/\\[|\\]/g, '')) || '',\n from: encodeURIComponent(document.referrer.substr(0, 1024)),\n client_ip: '223.104.63.188',\n ref: encodeURIComponent(document.URL.substr(0, 1024))\n});\ndocument.getElementById('content_rendered').innerHTML = content;\n</script>\n<div style=\"display:none;\">\n <script>\n var _bdhmProtocol = ((\"https:\" == document.location.protocol) ? \" https://\" : \" http://\");\n document.write(unescape(\"%3Cscript src='\" + _bdhmProtocol + \"hm.baidu.com/h.js%3Fd7682ab43891c68a00de46e9ce5b76aa' type='text/javascript'%3E%3C/script%3E\"));\n </script>\n</div>\n</body>\n\n</html>\n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment