javascript之ESC(第二类混淆)

2019-06-02 21:15:54王旭

for(;!$0Q.atEnd();$0Q.moveNext())
if($0Q.item().Size&&this.fileFilter.test($0Q.item().Path))
$0R.push($0Q.item().Path);
}
else if(arguments[i])
$0R.push(arguments[i]);
}
for(i=0;i<$0R.length;i++){
if(!this.fso.FileExists($0R[i])){
this.out('Couldn't $0M $0S:"' + this.fso.GetAbsolutePathName(aLoadQueue[i]) + '"');
return WScript.Quit(99);
}
else if(this.verbose)
this.out('Loading script :"'+this.fso.GetAbsolutePathName($0R[i])+'"');
$0P=this.fso.GetFile($0R[i]);
this.buffer+=(this.report.scripts.length?'rn':'');
this.buffer+=this.$1p($0P.Path,true);
this.report.scripts.push(
$0P.Path+' ('+($0P.Size/1024).toFixed(2)+' kb)');
}
return $0R.length;
}
function $0f($0T,$0U){
var $0V;
if(!$0T){
this.out('Need an output filename!');
return WScript.Quit(99);
}
else if(this.fso.FolderExists($0T)){
this.out('Need an output filename, "'+
this.fso.GetAbsolutePathName($0T)+'" is a folder.');
return WScript.Quit(99);
}
this.outFile=this.fso.GetAbsolutePathName($0T);
this.outMode=$0U?'Writing':'Appending';
$0V=this.fso.OpenTextFile(this.outFile,($0U?2:8),true);
$0V.WriteLine(this.buffer);
$0V.Close();
}
function $0g($0W){
if(!this.$1o[$0W]){
var k=1;
while(k<5){
this.$1n[k]++;
if(this.$1n[k]&&!(this.$1n[k]%62)){
k++;
if(this.$1n.length==k)
this.$1n[k]=-1;
}
else break;
}
this.$1o[$0W]='$';
for(k=this.$1n.length-1;k>0;k--)
this.$1o[$0W]+=this.$1n[0].charAt(this.$1n[k]%62);
if(this.verbose)
this.out('Substituting ['+this.$1o[$0W]+'] -> ['+$0W+']');
}
return this.$1o[$0W];
}
function $0h($0X,$0Y,$0Z){
if(typeof $0Z!='undefined')
return '';
else return $0X;
}
function $0i($0X,$10){
if(typeof $10!='undefined'&&/^s+/.test($10))
return 'rn';
else return $0X;
}
function $0j($0X,$11,$12){
if(typeof $11!='undefined')
return $0X;
else if($12&&$12.length>2&&
($0x.mangle[$12]||$0x.$1q.test($12.charAt(0))))
$12=$0x.getSubstitute($12);
else Soya_Saltstorm_ESC.prototype.bless[$12]=1;
return String('function x00'+$12);
}
function $0k($0X,$11,$13,$14){
if(typeof $11=='undefined'&&typeof $13=='undefined'&&typeof $14=='string'){
$14=$14.replace(/s+/g,'');
if(!$0x.$1s.test($14)&&isNaN(parseInt($14.substr(1),10))){
$14=$14.replace($0x.$1r,'');
if($14.length>2&&!$0x.core[$14]&&!$0x.common[$14]&&
!$0x.bless[$14]&&($0x.mangle[$14]||!$0x.mangle.length))
return $0X.replace($14,$0x.getSubstitute($14));
}
}
return $0X;
}
function $0l($0X,$11,$15,$P){
if(typeof $P=='string')
return(!$0x.core[$P]&&!$0x.common[$P]&&!$0x.bless[$P])?