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

 

 


Tema destacado: Arreglado, de nuevo, el registro del warzone (wargame) de EHN


+  Foro de elhacker.net
|-+  Informática
| |-+  Software
| | |-+  [APORTE] Ofuscar HTML Online (Sitio web)
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [APORTE] Ofuscar HTML Online (Sitio web)  (Leído 2,033 veces)
Tino

Desconectado Desconectado

Mensajes: 26



Ver Perfil WWW
[APORTE] Ofuscar HTML Online (Sitio web)
« en: 30 Septiembre 2018, 19:30 pm »

HOLA FORO!  ;-)
Les traigo un APORTE ¡Para que ofusquen sus HTML desde una página web!
La página esta moderada por mi e intento de RECOPILAR todos los ofuscadores! Para que no tengan que andar buscando en Google algunos que quizás ni siquiera sirvan.
Así que, para ayudarlos a ustedes, les traigo un ofuscador web que funciona y siempre va a estar activo hasta aproximadamente dentro de 6/7 meses, luego va a cambiar de dominio y  va a seguir activo por 1 año más!



LINK: www.pepinoarmy.win


Recalco, es una recopilación de ofuscadores, EL CÓDIGO DEL OFUSCADOR NO ES MIO, para ver el original entra en www.angelsresist.com/obfuscator.shtml


« Última modificación: 1 Octubre 2018, 23:42 pm por Tino » En línea

**Aincrad**


Desconectado Desconectado

Mensajes: 668



Ver Perfil WWW
Re: [APORTE] Ofuscar HTML Online (Sitio web)
« Respuesta #1 en: 2 Octubre 2018, 19:56 pm »

Como que nunca te gusta poner el código fuente de lo que te robas!






OFUSCADOR HTML (OFUCER.html) :

Código
  1.    <title>Ofuscador HTML - **Modificado por aincrad**</title>
  2. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  3.  
  4. <script type="text/javascript">
  5. <!--
  6. /**********************************
  7.   Generic Global Variables
  8. **********************************/
  9. // globals for browser version branching
  10. var Ver4 = parseInt(navigator.appVersion) >= 4;
  11. var Nav4 = ((navigator.appName == "Netscape") && Ver4);
  12. var IE4 = ((navigator.userAgent.indexOf("MSIE") != -1) && Ver4);
  13. var reEmail = /^.+\@.+\..+$/
  14. var whitespace = " \t\n\r";
  15. var defaultEmptyOK = false
  16.  
  17. function newWindow02(page) {
  18.    msgWindow=window.open(page,"windowName","width=631,height=450,menubar=no,status=no,scrollbars=yes,scrollable=yes,toolbar=no,resizable=no,location=no")
  19. }
  20.  
  21.  
  22. // client-side cookie getter
  23. function getCookie(Name) {
  24.   var search = Name + "=";
  25.  
  26.   if (document.cookie.length > 0) { // if there are any cookies
  27.       offset = document.cookie.indexOf(search);
  28.       if (offset != -1) { // if cookie exists
  29.           offset += search.length;
  30.           // set index of beginning of value
  31.           end = document.cookie.indexOf(";", offset);
  32.           // set index of end of cookie value
  33.           if (end == -1)
  34.               end = document.cookie.length;
  35.           return unescape(document.cookie.substring(offset, end));
  36.       }
  37.   }
  38.   return "";
  39. }
  40.  
  41. // to open a new window:
  42. function newWindow(page)
  43. {
  44. msgWindow=window.open(page,"windowName","width=650,height=590,menubar=yes,status=yes,scrollbars=yes,scrollable=yes,toolbar=yes,resizable=yes,location=yes");
  45. }
  46.  
  47.  
  48. // New readable version of the Browser-independent
  49. // object finder function
  50. // 2 arguments - 1. objName => the name of the obj to find
  51. //      2. rootElement => the root element to start the search from
  52.  
  53. function findObj(objName, rootElement) {
  54.    var frameIdentifier,obj;
  55.    var i;
  56.  
  57.    // Identify presence of frames and root element
  58.    if(!rootElement)
  59.        rootElement=document;
  60.    if((frameIdentifier=objName.indexOf("?"))>0&&parent.frames.length) {
  61.        rootElement=parent.frames[objName.substring(frameIdentifier+1)].document;
  62.        objName=objName.substring(0,frameIdentifier);
  63.    }
  64.  
  65.    // First do a direct search
  66.    if(!(obj=rootElement[objName]) && rootElement.all)
  67.        obj=rootElement.all[objName];
  68.  
  69.    // Second look for object within forms, if any
  70.    for (i=0;!obj&&i<rootElement.forms.length;i++)
  71.        obj=rootElement.forms[i][objName];
  72.  
  73.    // Recursively search layers if object is still not found
  74.    for(i=0;!obj && rootElement.layers && i<rootElement.layers.length;i++)
  75.        obj=findObj(objName,rootElement.layers[i].document);
  76.  
  77.    return obj;
  78. }
  79.  
  80. // New readable version of the browser-independent dynamic image
  81. // swapper function
  82. // 2 (or multiples of 2) arguments - img1 name, img1.newSrc, img2 name, img2.newSrc, ..
  83. function imgSwap() {
  84.    var obj;
  85.  
  86.    var argv = imgSwap.arguments;
  87.    var argc = argv.length;
  88.    var i,j=0;
  89.  
  90.    if ((argc % 2) != 0)
  91.        return;
  92.    for(i=0; i<argc; i+=2) {
  93.        if ((obj=findObj(argv[i]))!=null){
  94.            if(!obj.origSrc)
  95.                obj.origSrc=obj.src;
  96.            obj.src=argv[i+1];
  97.        }
  98.    }
  99. }
  100.  
  101. // an image pre-loader.  variable is used within the pre-loader for the array.
  102. var CalledImages = new Array();
  103. function imgCall(Root)
  104.    {
  105.    if (document.images && CalledImages)
  106.        {
  107.        for (var xx=1; xx < imgCall.arguments.length; xx++)
  108.            {
  109.            var oo               = CalledImages.length;
  110.            CalledImages[oo]     = new Image();
  111.            CalledImages[oo].src = Root + imgCall.arguments[xx];
  112.            }
  113.        }
  114.    }
  115.  
  116.  
  117. function sendPage(url) {
  118.    sendWindow = window.open(url + "?url=" + escape(document.URL), "send",
  119.            "width=440,height=540,menubar=no,status=no,scrollbars=yes,scrollable=yes,toolbar=no,resizable=no,location=no");
  120. }
  121.  
  122. function popLegal(url) {
  123.    legal=window.open(url,"legal","width=440,height=540,menubar=no,status=no,scrollbars=yes,scrollable=yes,toolbar=no,resizable=no,location=no");
  124. }
  125.  
  126. function popPrinter(url) {
  127.    printer=window.open(url,"print","width=565,height=485,menubar=yes,status=no,scrollbars=yes,scrollable=yes,toolbar=yes,resizable=yes,location=no");
  128. }
  129.  
  130. function popDefinition(url) {
  131.    glossary=window.open(url,"glossary","width=300,height=250,menubar=no,status=no,scrollbars=yes,scrollable=yes,toolbar=no,resizable=no,location=no");
  132. }
  133.  
  134. /*******************************************************/
  135. /* General purpose utility functions used primarily for CSV
  136. of site-wide feedback forms*/
  137. /*******************************************************/
  138.  
  139.  
  140. /* FUNCTIONS TO INTERACTIVELY CHECK VARIOUS FIELDS. */
  141.  
  142. // checkString (TEXTFIELD theField, STRING s, [, BOOLEAN emptyOK==false])
  143. //
  144. // Check that string theField.value is not all whitespace.
  145. //
  146. // For explanation of optional argument emptyOK,
  147. // see comments of function isInteger.
  148.  
  149. function checkString (theField, emptyOK) {
  150.    // Next line is needed on NN3 to avoid "undefined is not a number" error
  151.    // in equality comparison below.
  152.    if (checkString.arguments.length == 1) emptyOK = defaultEmptyOK;
  153.    if ((emptyOK == true) && (isEmpty(theField.value))) return true;
  154.    if (isWhitespace(theField.value)) {
  155.        return false;
  156.    } else return true;
  157. }
  158.  
  159. // Check whether string s is empty.
  160.  
  161. function isEmpty(s) {
  162.    return ((s == null) || (s.length == 0))
  163. }
  164.  
  165. // Returns true if string s is empty or
  166. // whitespace characters only.
  167.  
  168. function isWhitespace (s) {
  169.    var i;
  170.  
  171.    // Is s empty?
  172.    if (isEmpty(s)) return true;
  173.  
  174.    // Search through string's characters one by one
  175.    // until we find a non-whitespace character.
  176.    // When we do, return false; if we don't, return true.
  177.  
  178.    for (i = 0; i < s.length; i++)
  179.    {
  180.        // Check that current character isn't whitespace.
  181.        var c = s.charAt(i);
  182.  
  183.        if (whitespace.indexOf(c) == -1) return false;
  184.    }
  185.  
  186.    // All characters are whitespace.
  187.    return true;
  188. }
  189.  
  190. // checkEmail (TEXTFIELD theField [, BOOLEAN emptyOK==false])
  191. //
  192. // Check that string theField.value is a valid Email.
  193. //
  194. // For explanation of optional argument emptyOK,
  195. // see comments of function isInteger.
  196.  
  197. function checkEmail (theField, emptyOK) {
  198.    if (checkEmail.arguments.length == 1) {
  199.        emptyOK = defaultEmptyOK;
  200.    }  
  201.    if ((emptyOK == true) && (isEmpty(theField.value))) {
  202.        return true;
  203.    } else if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(theField.value))) {
  204.        return false;
  205.    } else {
  206.        return true;
  207.    }
  208. }
  209.  
  210. // isEmail (STRING s [, BOOLEAN emptyOK])
  211. //
  212. // Email address must be of form a@b.c -- in other words:
  213. // * there can be no embedded white-space
  214. // * there must be at least one character before the @
  215. // * there must be at least one character before and after the .
  216. // * the characters @ and . are both required
  217. //
  218. // For explanation of optional argument emptyOK,
  219. // see comments of function isInteger.
  220.  
  221. function isEmail (s) {
  222.  
  223.    if (isEmpty(s))
  224.       if (isEmail.arguments.length == 1) return defaultEmptyOK;
  225.       else return (isEmail.arguments[1] == true);
  226.  
  227.    var i;
  228.    var sLength = s.length;
  229.  
  230.    // s cannot have embedded whitespace
  231.    for (i = 0; i < sLength; i++)
  232.    {
  233.        // Check that current character isn't whitespace.
  234.        var c = s.charAt(i);
  235.        if (whitespace.indexOf(c) != -1) return false;
  236.    }
  237.  
  238.    // there must be >= 1 character before @, so we
  239.    // start looking at character position 1
  240.    // (i.e. second character)
  241.    i = 1;
  242.  
  243.    // look for @
  244.    while ((i < sLength) && (s.charAt(i) != "@"))
  245.    { i++
  246.    }
  247.  
  248.    if ((i >= sLength) || (s.charAt(i) != "@")) return false;
  249.    else i += 2;
  250.  
  251.    // look for .
  252.    while ((i < sLength) && (s.charAt(i) != "."))
  253.    { i++
  254.    }
  255.  
  256.    // there must be at least one character after the .
  257.    if ((i >= sLength - 1) || (s.charAt(i) != ".")) return false;
  258.    else return true;
  259. }
  260.  
  261. function checkPhoneSuffix(theField, emptyOK) {
  262.  
  263.        if (checkPhoneSuffix.arguments.length == 1) emptyOK = defaultEmptyOK;
  264.        if ((emptyOK == true) && (isEmpty(theField.value))) {
  265.                return true;
  266.        } else {
  267.                if (!isInteger(theField.value) || theField.value.length != 4) {
  268.                        return false;
  269.                }
  270.        }
  271.  
  272.        return true;
  273. }
  274.  
  275. function checkPhonePrefix(theField, emptyOK) {
  276.  
  277.        if (checkPhonePrefix.arguments.length == 1) emptyOK = defaultEmptyOK;
  278.        if ((emptyOK == true) && (isEmpty(theField.value))) {
  279.                return true;
  280.        } else {
  281.                if (!isInteger(theField.value) || theField.value.length != 3) {
  282.                        return false;
  283.                }
  284.        }
  285.  
  286.        return true;
  287. }
  288.  
  289. function checkPhoneAreaCode(theField, emptyOK) {
  290.  
  291.        if (checkPhoneAreaCode.arguments.length == 1) emptyOK = defaultEmptyOK;
  292.        if ((emptyOK == true) && (isEmpty(theField.value))) {
  293.                return true;
  294.        } else {
  295.                if (!isInteger(theField.value) || theField.value.length != 3) {
  296.                        return false;
  297.                }
  298.        }
  299.  
  300.        return true;
  301. }
  302.  
  303. function checkPhoneExtension(theField, emptyOK) {
  304.  
  305.        if (checkPhoneExtension.arguments.length == 1) emptyOK = defaultEmptyOK;
  306.        if ((emptyOK == true) && (isEmpty(theField.value))) {
  307.                return true;
  308.        } else {
  309.                if (!isInteger(theField.value)) {
  310.                        return false;
  311.                }
  312.        }
  313.  
  314.        return true;
  315. }
  316.  
  317. // check5DigitZIP(TEXTFIELD theField [, BOOLEAN emptyOK==false])
  318. //
  319. // Check that string theField.value is a valid ZIP code.
  320. //
  321. // For explanation of optional argument emptyOK,
  322. // see comments of function isInteger.
  323.  
  324. function check5DigitZIP(theField, emptyOK) {
  325.    if (check5DigitZIP.arguments.length == 1) emptyOK = defaultEmptyOK;
  326.    if ((emptyOK == true) && (isEmpty(theField.value))) {
  327.        return true;
  328.    } else {
  329.        if (!isInteger(theField.value) || theField.value.length != 5) {
  330.            return false;
  331.        }
  332.    }
  333.  
  334.    return true;
  335. }
  336.  
  337. function checkZipCodeExt(theField, emptyOK) {
  338.        if (checkZipCodeExt.arguments.length == 1) emptyOK = defaultEmptyOK;
  339.        if ((emptyOK == true) && (isEmpty(theField.value))) {
  340.                return true;
  341.        } else {
  342.          if (!isInteger(theField.value) || theField.value.length != 4) {
  343.                return false;
  344.          }
  345.        }
  346.  
  347.        return true;
  348. }
  349.  
  350. // Returns true if character c is a digit
  351. // (0 .. 9).
  352.  
  353. function isDigit(c) {
  354.    return ((c >= "0") && (c <= "9"))
  355. }
  356.  
  357. // isInteger (STRING s [, BOOLEAN emptyOK])
  358. //
  359. // Returns true if all characters in string s are numbers.
  360. //
  361. // Accepts non-signed integers only. Does not accept floating
  362. // point, exponential notation, etc.
  363. //
  364. // We don't use parseInt because that would accept a string
  365. // with trailing non-numeric characters.
  366. //
  367. // By default, returns defaultEmptyOK if s is empty.
  368. // There is an optional second argument called emptyOK.
  369. // emptyOK is used to override for a single function call
  370. //      the default behavior which is specified globally by
  371. //      defaultEmptyOK.
  372. // If emptyOK is false (or any value other than true),
  373. //      the function will return false if s is empty.
  374. // If emptyOK is true, the function will return true if s is empty.
  375. //
  376. // EXAMPLE FUNCTION CALL:     RESULT:
  377. // isInteger ("5")            true
  378. // isInteger ("")             defaultEmptyOK
  379. // isInteger ("-5")           false
  380. // isInteger ("", true)       true
  381. // isInteger ("", false)      false
  382. // isInteger ("5", false)     true
  383.  
  384. function isInteger(s) {
  385.  
  386.    var i;
  387.  
  388.    if (isEmpty(s)) {
  389.        if (isInteger.arguments.length == 1) {
  390.            return defaultEmptyOK;
  391.        } else {
  392.            return (isInteger.arguments[1] == true);
  393.        }
  394.    }
  395.  
  396.    // Search through string's characters one by one
  397.    // until we find a non-numeric character.
  398.    // When we do, return false; if we don't, return true.
  399.  
  400.    for (i = 0; i < s.length; i++) {
  401.  
  402.        // Check that current character is number.
  403.        var c = s.charAt(i);
  404.  
  405.        if (!isDigit(c)) return false;
  406.    }
  407.  
  408.    // All characters are numbers.
  409.    return true;
  410. }
  411.  
  412. // Auto tab functionality
  413. var isNN = ( navigator.appName.indexOf( "Netscape" ) != -1 );
  414.  
  415. function autoTab( input,len, e ) {
  416.    var keyCode = ( isNN ) ? e.which : e.keyCode;
  417.    var filter  = ( isNN ) ? [0,8,9] : [0,8,9,16,17,18,37,38,39,40,46];
  418.    if( input.value.length >= len && !containsElement( filter, keyCode )) {
  419.    input.value = input.value.slice( 0, len );
  420.    input.form[( getIndex( input ) + 1 ) % input.form.length].focus();
  421.    }
  422.    return true;
  423. }
  424.  
  425. function containsElement( arr, ele ) {
  426.    var found = false, index = 0;
  427.    while( !found && index < arr.length )
  428.    if( arr[index] == ele ) {
  429.        found = true;
  430.    } else {
  431.        index++;
  432.    }
  433.    return found;
  434. }
  435.  
  436. function getIndex( input ) {
  437.    var index = -1, i = 0, found = false;
  438.    while ( i < input.form.length && index == -1 )
  439.    if ( input.form[i] == input ) {
  440.        index = i;
  441.    } else {
  442.        i++;
  443.    }
  444.    return index;
  445. }
  446.  
  447. /*******************************************************/
  448. // Search form Client-side validation and functionality
  449. /*******************************************************/
  450. function submitSearch()
  451. {
  452.        if(validSearchForm()) {
  453.            document.googleSearch.submit();
  454.        }
  455. }
  456. function validSearchForm()
  457. {
  458.    var searchArg;
  459.  
  460.    searchArg = document.googleSearch.elements["searchString"];
  461.    if(!checkString(searchArg)){
  462.        alert("Please input search argument");
  463.        searchArg.select();
  464.        return false;
  465.    }
  466.    searchArg.value = searchArg.value.toLowerCase();
  467.    return true;
  468. }
  469.  
  470. /*******************************************************/
  471. /* (end search functionality)                          */
  472. /*******************************************************/
  473.  
  474. /*******************************************************/
  475. // Macromedia functions for on-state
  476. /*******************************************************/
  477.  
  478. function MM_preloadImages() { //v3.0
  479.  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  480.    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
  481.    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
  482. }
  483.  
  484. function MM_swapImgRestore() { //v3.0
  485.  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
  486. }
  487.  
  488. function MM_findObj(n, d) { //v3.0
  489.  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
  490.    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  491.  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  492.  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
  493. }
  494.  
  495. function MM_swapImage() { //v3.0
  496.  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  497.   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
  498. }
  499.  
  500. /*******************************************************/
  501. // end Macromedia functions
  502. /*******************************************************/
  503.  
  504. // Auto tab functionality
  505. var isNN = ( navigator.appName.indexOf( "Netscape" ) != -1 );
  506.  
  507. function autoTab( input,len, e ) {
  508.    var keyCode = ( isNN ) ? e.which : e.keyCode;
  509.    var filter  = ( isNN ) ? [0,8,9] : [0,8,9,16,17,18,37,38,39,40,46];
  510.    if( input.value.length >= len && !containsElement( filter, keyCode )) {
  511.    input.value = input.value.slice( 0, len );
  512.    input.form[( getIndex( input ) + 1 ) % input.form.length].focus();
  513.    }
  514.    return true;
  515. }
  516.  
  517. function containsElement( arr, ele ) {
  518.    var found = false, index = 0;
  519.    while( !found && index < arr.length )
  520.    if( arr[index] == ele ) {
  521.        found = true;
  522.    } else {
  523.        index++;
  524.    }
  525.    return found;
  526. }
  527.  
  528. function getIndex( input ) {
  529.    var index = -1, i = 0, found = false;
  530.    while ( i < input.form.length && index == -1 )
  531.    if ( input.form[i] == input ) {
  532.        index = i;
  533.    } else {
  534.        i++;
  535.    }
  536.    return index;
  537. }
  538.  
  539. function openReferencesPopup(page) {
  540.    OpenWin = this.open(page, "References", "scrollbars=yes,resizable=yes,width=500,height=600");
  541. }
  542.  
  543. function openNewWindow(page,name,width,height,top,left,propSet) {
  544.  
  545.    var windowProps = new Array (8);
  546.  
  547.    windowProps[0] = "resizable=yes";
  548.    windowProps[1] = "scrollbars=yes";
  549.    windowProps[2] = "titlebar=yes";
  550.    windowProps[3] = "toolbar=yes";
  551.    windowProps[4] = "menubar=yes";
  552.    windowProps[5] = "location=yes";
  553.    windowProps[6] = "status=yes";
  554.    windowProps[7] = "directories=yes";
  555.  
  556.    var myProps = "";
  557.    var mySize = "";
  558.  
  559.    if (propSet == 'one') {
  560.         myProps = ',' + windowProps[0] + ',' + windowProps[1];
  561.    } else if (propSet == "full") {
  562.        myProps = ',' + windowProps.join(",");
  563.    } else {
  564.        myProps = "";
  565.    }  
  566.  
  567.    if ((width > 50)||(height > 50)) {
  568.        var mySize = 'width=' + width + ',' + 'height=' + height + ',' + 'top=' + top + ',' + 'left=' + left;
  569.    }
  570.  
  571.    var myString = mySize + myProps;
  572.    window.open(page,name,myString);
  573.  
  574. }
  575.  
  576. function openEmailColleaguePopup(page, emailPage) {
  577.    var fullURL = page + "?url=" + emailPage;
  578.    OpenWin = this.open(fullURL, "Email", "scrollbars=yes,resizable=yes,width=600,height=610");
  579. }
  580.  
  581. function changeImages() {
  582.    if (document.images) {
  583.        for (var i=0; i<changeImages.arguments.length; i+=2) {
  584.            document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
  585.        }
  586.    }
  587. }
  588.  
  589. // Validate Check Box
  590. function isCheckBoxChecked(field) {
  591.     return field.checked;
  592. }
  593.  
  594. function getStyleObject(objectId) {
  595.    // cross-browser function to get an object's style object given its id
  596.    if(document.getElementById && document.getElementById(objectId)) {
  597.    // W3C DOM
  598.    return document.getElementById(objectId).style;
  599.    } else if (document.all && document.all(objectId)) {
  600.    // MSIE 4 DOM
  601.    return document.all(objectId).style;
  602.    } else if (document.layers && document.layers[objectId]) {
  603.    // NN 4 DOM.. note: this won't find nested layers
  604.    return document.layers[objectId];
  605.    } else {
  606.    return false;
  607.    }
  608. } // getStyleObject
  609.  
  610. function changeObjectVisibility(objectId, newVisibility) {
  611.    // get a reference to the cross-browser style object and make sure the object exists
  612.    var styleObject = getStyleObject(objectId);
  613.    if(styleObject) {
  614.    styleObject.visibility = newVisibility;
  615.    return true;
  616.    } else {
  617.    // we couldn't find the object, so we can't change its visibility
  618.    return false;
  619.    }
  620. }
  621.  
  622. function parseURLParameters(name)
  623.    {
  624.      var regexS = "[\\?&]"+name+"=([^&#38;#]*)";
  625.      var regex = new RegExp( regexS );
  626.      var tmpURL = window.location.href;
  627.      var results = regex.exec( tmpURL );
  628.      if( results == null )
  629.        return "";
  630.      else
  631.        return results[1];
  632.    }  
  633.  
  634. //-->
  635. <script type="text/javascript">
  636. <!--
  637. var section = 'developers';
  638. var page = 'online_tools';
  639.  
  640. function validateAndSubmitForm(theForm) {
  641.  
  642. var formComplete = true;
  643.  
  644.  
  645. //Input Textbox
  646. if (!checkString(theForm.elements["inputStr"])) {
  647. document.getElementById("input_text").style.backgroundColor = '#COCOCO';
  648. document.getElementById("input_error_message").style.display = 'block';
  649. formComplete = false;
  650. } else {
  651. document.getElementById("input_text").style.backgroundColor = '#COCOCO';
  652. document.getElementById("input_error_message").style.display = 'none';
  653. }
  654.  
  655. if (formComplete==false) {
  656. document.getElementById("validation_error_message").style.display = 'block';
  657. setFocus(theForm.inputStr);
  658. } else {
  659. document.getElementById("validation_error_message").style.display = 'none';
  660. obfuscate(theForm.inputStr, theForm.outputStr);
  661. setFocus(theForm.outputStr);
  662. }
  663. }
  664.  
  665.  
  666.  
  667. // -->
  668. <script language="javascript" type="text/javascript">
  669.  
  670. <!--
  671.  
  672. function scramble(inputString){
  673.    var outputString = '';
  674.    for (i=0; i < inputString.length; i++){
  675.        if(inputString.charCodeAt(i) == 38){
  676.            outputString+=String.fromCharCode(28);
  677.        } else if (inputString.charCodeAt(i) == 33) {
  678.            outputString+=String.fromCharCode(23);
  679.        } else {
  680.            outputString+=String.fromCharCode(inputString.charCodeAt(i)+1);
  681.        }
  682.    }
  683.    return outputString;
  684. }
  685.  
  686. function string2EntityCode(str){
  687.    if (str!="") {
  688.        var result = "";
  689.        var charCode = "";
  690.        for(i=0; i < str.length; i++) {
  691.            charCode = str.charCodeAt(i);
  692.            result += "&#38;#" + charCode + ";";
  693.        }
  694.        return result;
  695.    }
  696. }
  697.  
  698. function displayOutput(jsOutput, htmlOutput, output){
  699.    formattedOutput = "<sc" + "ript type=\'text/javascript\'>\n" +
  700.                      "<!--\n" +
  701.                      "var s=\"" +  jsOutput + "\";\n" +
  702.                      "m=\"\"; " +
  703.                      "for (i=0; i<s.length; i++) {" +
  704.                      " if(s.charCodeAt(i) == 28){" +
  705.                      "   m+= '\&';" +
  706.                      "} else if (s.charCodeAt(i) == 23) {" +
  707.                      "   m+= '\!';" +
  708.                      "} else {" +
  709.                      "   m+=String.fromCharCode(s.charCodeAt(i)-1);" +
  710.                      " }" +
  711.                      "}" +
  712.                      "document.write(m);" +
  713.                      "//-->\n" +
  714.                      "</s" + "cript>\n";
  715.  
  716.  
  717.    output.value = formattedOutput;            
  718. }
  719.  
  720. function obfuscate(input, output){
  721.    var jsOutput = scramble(input.value);
  722.    var htmlOutput = string2EntityCode(input.value);
  723.    displayOutput(jsOutput, htmlOutput, output);
  724. }
  725.  
  726. function setFocus(cotrolFocused){
  727.    cotrolFocused.focus();
  728. }
  729.  
  730.  
  731. //-->
  732.  
  733. </script>    
  734. </head>
  735. <body background="/images/bkgrnd_home.jpg" bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  736. <table align="center" width="684" border="0" cellpadding="0" cellspacing="0">
  737. <!-- START SUBPAGE HEADER -->  
  738. <!-- START SUBPAGE HEADER -->  
  739. <tr>
  740. <td width=684 height=22 colspan=11>
  741. <!-- START HEADER -->
  742.  
  743. <!-- END SUBPAGE HEADER -->
  744. <tr>
  745. <td colspan="2" rowspan="2">
  746.  
  747. <td valign="top" rowspan="2">
  748. <table border="0" cellspacing="0" cellpadding="0">
  749. </tr>
  750.  
  751. <align="centre">
  752.  
  753. <td valign="top" bgcolor="#FFFFFF" colspan="5">
  754. <table width="100%" cellpadding="0" cellspacing="0" border="0">
  755. <tr>
  756. <td width="1%"><img src="/images/spacer.gif" width="10" height="1" alt=""></td>
  757. <td width="100%">
  758. <!-- START MAIN CONTENT -->
  759. <table width="100%" cellpadding="0" cellspacing="0" border="0">
  760. <form name="obfuscator" action="" method="post">
  761. <tr>
  762. <td valign="center"><h1><strong><font face="Arial">Ofuscador HTML</font></strong></h1>
  763.  <p>El ofuscador cambia de HTML a javascript, haciendolo inlegible.</p>
  764.  <p>Ingresa el código que quieras ofuscar, algunos ejemplos:</p>
  765. <ul>
  766.  <li>&lt;a href="mailto:tino@qox.party"&gt;Envíame un email &lt;/a&gt;</li>
  767.  <li>&lt;a href="http://www.google.com"&gt;Link oculto&lt;/a&gt;</li>
  768.  <li>&lt;div&gt;&lt;i&gt;Texto de ejemplo &lt;/i&gt;&lt;/div&gt; </li>
  769.  <h2 align="center"><font face="Verdana">Código HTML</font></h2>
  770. </ul>                              
  771. <div id="validation_error_message" style="display:none"><span class="validation_error_message">! Algunos errores fueron encontrados, por favor corriga los siguientes campos:</span></div>
  772. <a name="obfuscator_view"></a>  
  773. <p>
  774. <!-- START INPUT TEXTBOX -->
  775. <table id="input_text" cellspacing="1" cellpadding="0" border="0" align="center">
  776. <tr>
  777. <td>
  778. <table cellspacing="0" cellpadding="0" border="0" class="error_background">
  779. <tr>
  780. <td colspan="4"><img src="/images/spacer.gif" width="1" height="2"></td>
  781. </tr>
  782. <tr>
  783. <td><img src="/images/spacer.gif" width="7" height="1"></td>
  784. <td></td>
  785. <td><textarea class="text_field" name="inputStr" rows="10" cols="50" wrap="physical"></textarea></td>
  786. <td><img src="/images/spacer.gif" width="7" height="1"></td>
  787. </tr>
  788. <tr>
  789. <td></td>
  790. <td><img src="/images/spacer.gif" width="10" height="1"></td>
  791. <td></td>
  792. <td></td>
  793. </tr>
  794. <tr>
  795. <td></td>
  796. <td></td>
  797. <td colspan="2">
  798. <div id="input_error_message" style="display:none">
  799. <table cellspacing="0" cellpadding="0" border="0">
  800. <tr>
  801. <td class="error_message">Por favor, ingresa el código para ser ofuscado</td>
  802. <td><img src="/images/spacer.gif" width="10" height="1"></td>
  803. </tr>
  804. </div>                                        
  805. </td>
  806. </tr>
  807. </td>
  808. </tr>
  809. <!-- END INPUT TEXTBOX -->
  810.  
  811.  
  812. <p>
  813. <!-- START SUBMIT BUTTON -->
  814. <table cellpadding="0" cellspacing="0" class="button_border" align="center">
  815. <tr>
  816. <td colspan="3"  class="button"><img src="/images/spacer.gif" width="1" height="2"></td>
  817. </tr>
  818. <tr>
  819. <td nowrap  class="button"><img src="/images/spacer.gif" width="10" height="1"></td>
  820. <td nowrap  class="button"><a href="#obfuscator_view" onClick="javascript:validateAndSubmitForm(document.obfuscator);"><font face="Verdana">Obtener código ofuscado</font></a></td>
  821. <td nowrap  class="button"><img src="/images/spacer.gif" width="10" height="8"></td>
  822. </tr>
  823. <tr>
  824. <td colspan="3"  class="button"><img src="/images/spacer.gif" width="1" height="2"></td>
  825. </tr>
  826. <!-- END SUBMIT BUTTON -->  
  827. <br>
  828. </p>
  829. <h2 align="center"><font face="Verdana">Código ofuscado</font></h2>
  830. <p align="center">      
  831.  <textarea name="outputStr" cols="50" rows="15" class="text_field"></textarea>
  832. </p></td>
  833. </tr>
  834. <tr>
  835. <td>&nbsp;</td>
  836. </tr>
  837. </form>
  838. <!-- END MAIN CONTENT -->
  839. </td>
  840. <td width="1%"><img src="/images/spacer.gif" width="10" height="1" alt=""></td>
  841. </tr>
  842. </td>
  843. <td bgcolor="COCOCO">
  844.  
  845. </tr>
  846. <tr>
  847.  
  848.  
  849. <td colspan="6" align="right" bgcolor="#COCOCO">
  850. <table border="0" cellspacing="0" cellpadding="0"  width="100%">
  851. <tr>
  852.  
  853.  
  854. </tr>
  855.  
  856.  
  857. <tr>
  858.  
  859. </tr>
  860.  
  861.  
  862. <div style='text-align: right;position: fixed;z-index:9999999;bottom: 0; width: 100%;cursor: pointer;line-height: 0;display:block !important;'><a title="Hosted on free web hosting 000webhost.com. Host your own website for FREE." target="_blank" href="https://www.000webhost.com/?utm_source=000webhostapp&amp;utm_campaign=000_logo&amp;utm_medium=website_batchofs&amp;utm_content=footer_img"><img src="https://cdn.rawgit.com/000webhost/logo/e9bd13f7/footer-powered-by-000webhost-white2.png"  alt="www.000webhost.com"></a></div></body>
  863.  
  864.  
  865. </html>




« Última modificación: 2 Octubre 2018, 20:18 pm por **Aincrad** » En línea



Tino

Desconectado Desconectado

Mensajes: 26



Ver Perfil WWW
Re: [APORTE] Ofuscar HTML Online (Sitio web)
« Respuesta #2 en: 2 Octubre 2018, 22:40 pm »

Modificado por Aincrad? Quien sos? JJAJAJA, como si lo hubieses modificado tú...
Citar
Como que nunca te gusta poner el código fuente de lo que te robas!
Si supieras leer, podrías ver claramente el post dice que es una recopilación y que el código original se encuentra en www.angelsresist.com/obfuscator.shtml pero como a ti siempre se te ocurre buscarle lo "malo a las cosas" intentas dejar mal a la gente de ElHacker, la verdad, que buen usuario, ¿no?, me tomé la molestia de hostearlo en mi página web (también aclarado en el post que está hosteado en 000webhost)  buscando errores de por qué no funcionaba cuando metía el obfuser.js javascript.js e index.html después de también tomarme el tiempo de traducir todo o casi todo, e intentar dejarlo más lindo de lo que estaba...
¿A demás no se que le ves de malo? Si en el post está aclarado.
¡Un saludo! A ver si tenes algún argumento...
En línea

**Aincrad**


Desconectado Desconectado

Mensajes: 668



Ver Perfil WWW
Re: [APORTE] Ofuscar HTML Online (Sitio web)
« Respuesta #3 en: 3 Octubre 2018, 00:19 am »

Modificado por Aincrad? Quien sos? JJAJAJA, como si lo hubieses modificado tú... Si supieras leer, podrías ver claramente el post dice que es una recopilación y que el código original se encuentra en www.angelsresist.com/obfuscator.shtml pero como a ti siempre se te ocurre buscarle lo "malo a las cosas" intentas dejar mal a la gente de ElHacker, la verdad, que buen usuario, ¿no?, me tomé la molestia de hostearlo en mi página web (también aclarado en el post que está hosteado en 000webhost)  buscando errores de por qué no funcionaba cuando metía el obfuser.js javascript.js e index.html después de también tomarme el tiempo de traducir todo o casi todo, e intentar dejarlo más lindo de lo que estaba...
¿A demás no se que le ves de malo? Si en el post está aclarado.
¡Un saludo! A ver si tenes algún argumento...

Ya sabia yo que te habías copiado de alguna pagina.! , Bueno si eres ciego te mostrare que modifique.

Simplemente coloque las Funciones JS "javascript.js" y "Obfuscator.js" dentro del HTML.

así el que quiera solo copia y pega el code en un block de notas y lo guarda con extensión .HTML Y LO ABRE CON SU NAVEGADOR Y NO IMPORTA SI tines INTERNET igual LO PUEDE USAR. AHORA ENTENDÉIS?.

Saludos para el : "Tino Copy&Paste"

En línea



Eleкtro
Ex-Staff
*
Desconectado Desconectado

Mensajes: 9.813



Ver Perfil
Re: [APORTE] Ofuscar HTML Online (Sitio web)
« Respuesta #4 en: 3 Octubre 2018, 10:55 am »

Repito lo mismo que en el otro aporte, gracias a ambos por compartir, y, lo siguiente que voy a decir no es por menospreciar la utilidad de sus aportes, pero competir y/o discutir por este tipo de herramienta (ofuscador de html) me parece algo innecesario cuando se pueden encontrar cantidad de "clones" en Google...

Saludos!
En línea

OmarHack


Desconectado Desconectado

Mensajes: 1.268


Ver Perfil
Re: [APORTE] Ofuscar HTML Online (Sitio web)
« Respuesta #5 en: 3 Octubre 2018, 13:24 pm »

Repito lo mismo que en el otro aporte, gracias a ambos por compartir, y, lo siguiente que voy a decir no es por menospreciar la utilidad de sus aportes, pero competir y/o discutir por este tipo de herramienta (ofuscador de html) me parece algo innecesario cuando se pueden encontrar cantidad de "clones" en Google...

Saludos!
TDFW!!
xD
En línea

I like to test things.
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
{Aporte bb} saca fuentes HTML « 1 2 »
Programación Visual Basic
ActiveSheet 15 6,378 Último mensaje 18 Julio 2007, 20:51 pm
por Freeze.
ofuscar html
Desarrollo Web
Kase 2 4,171 Último mensaje 3 Junio 2011, 09:33 am
por Kase
Ofuscar HTML del lado del cliente en LAMP
Desarrollo Web
bavo08 5 4,238 Último mensaje 2 Noviembre 2014, 02:23 am
por JorgeEMX
[APORTE] Ofuscar un Batch ONLINE (Mediante sitio web)
Scripting
Tino 4 4,164 Último mensaje 3 Octubre 2018, 10:47 am
por Eleкtro
[Aporte] Script para crawlear el sitio actual manualmente desde el navegador.
Desarrollo Web
@XSStringManolo 0 1,891 Último mensaje 2 Febrero 2020, 17:12 pm
por @XSStringManolo
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines