O que dizem deste código? Vírus?

  • Autor Autor krvaM
  • Data de início Data de início
Tradução em andamento: em alguns minutos este tópico estará em português. Por enquanto, o conteúdo está no original em espanhol. Ver original
El código estaba ofuscado para prohibir su fácil reconocimiento , y si creo q hace lo de impedir q usen adblock
 
Esta muy sospechoso mejor no copies eso, sea lo que sea igual no te va a quitar la publicidad y capaz haga algo peor xD
 
[MENTION=9679]cicklow[/MENTION] disculpa la molestia, hay forma de utilizar este script para poder completarlo con el script de popads?
Saludos y gracias
 
[MENTION=9679]cicklow[/MENTION] disculpa la molestia, hay forma de utilizar este script para poder completarlo con el script de popads?
Saludos y gracias

popads de da ese codigo..simplemente cuando solicitas el codigo del popup seleccionas la opcion anti-adblock
 
Disculpen mi ignorancia, pero por qué usan popads en vez de adsense?
 
[MENTION=9679]cicklow[/MENTION] nuevamente lo estuve probando pero el popup se abre siempre, esto se puede solucionar?

Saludos
 
[MENTION=9679]cicklow[/MENTION] nuevamente lo estuve probando pero el popup se abre siempre, esto se puede solucionar?

Saludos

el codigo lo da popads... tiene opciones para colocar las veces que se abre
 
el codigo lo da popads... tiene opciones para colocar las veces que se abre

Hola, gracias por responder pero me referia a tu codigo, a este:

Inserir CODE, HTML ou PHP:
<script>
(function() {
    var was_init = false;

    function init_myscript() {
        if (was_init) return;
        was_init = true;
        var c = document.createElement("div");
        c.innerHTML = "*";
        c.className = "adsbox";
        document.body.appendChild(c);
        window.setTimeout(function() {
            if (0 === c.offsetHeight) {
                var l = 0;
                var e = "http://google.com/"; //modificar
        var m = !0;
        document.onclick = function() {
            current_count = parseInt((document.cookie.match("noprprekcwvjnqzxscnt=([^;].+?)(;|$)") || [])[1] || 0);
                        if (!l && 2 > current_count) {
                                l = 1;
                                var a = document.createElement("a"),
                                    b = Math.floor(1E12 * Math.random()),
                                    f = Math.random().toString(36).replace(/[^a-zA-Z0-9]+/g, "").substr(0, 10);
                                a.href = e + "/?" + n.encode(b + "/" + (1316885 + b) + "/" + f);
                                a.target = "_blank";
                                document.body.appendChild(a);
                                b = new MouseEvent("click", {
                                    view: window,
                                    bubbles: !1,
                                    cancelable: !1
                                });
                                a.dispatchEvent(b);
                                a.parentNode.removeChild(a);
                                a = new Date;
                                a.setTime(a.getTime() + 86400000);
                                b_date = (existing_date = unescape((document.cookie.match("noprprekcwvjnqzxsexp=([^;].+?)(;|$)") || [])[1] || "")) ? existing_date : a.toGMTString();
                                a = "; expires=" + b_date;
                                document.cookie = "noprprekcwvjnqzxscnt=" + (current_count + 1) + a + "; path=/";
                                document.cookie = "noprprekcwvjnqzxsexp=" + b_date + a + "; path=/"
                        }
                };
            }
            Math.random().toString(36).replace(/[^a-zA-Z0-9]+/g, "").substr(0, 10);
            var m = !1,
                n = {
                    _0: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                    encode: function(b) {
                        for (var e = "", a, c, f, d, k, g, h = 0; h < b.length;) a = b.charCodeAt(h++), c = b.charCodeAt(h++), f = b.charCodeAt(h++), d = a >> 2, a = (a & 3) << 4 | c >> 4, k = (c & 15) << 2 | f >> 6, g = f & 63, isNaN(c) ? k = g = 64 : isNaN(f) && (g = 64), e = e + this._0.charAt(d) + this._0.charAt(a) + this._0.charAt(k) + this._0.charAt(g);
                        return e
                    }
                }
        }, 100)
    }
    document.addEventListener("DOMContentLoaded", function() {
        init_myscript();
    });
    window.setTimeout(init_myscript, 50)
})();
</script>

El popup se abre mas de dos veces, Saludos.
 

lo actualice a:
PHP:
(function() {
    var was_init = false;

    var _REF = window['location']['href'];
    var _CANTPOP = 1; //cantidad de pop

    if (_POP_TY == undefined) {
        _POP_TY = 1;
    };
    if (_CANTPOP == undefined || isNaN(_CANTPOP)) {
        _CANTPOP = 1;
    } else {
        _CANTPOP = parseInt(_CANTPOP);
    };
    /*_POP_UNDER esta variable es para si se abre una nueva ventana (popup) o se usa la ventana actual para el ads y se abre en una nueva pestaña el sitio web*/
    if(typeof _POP_UNDER === "undefined" || isNaN(_POP_UNDER)){ _POP_UNDER=0; };

    function init_myscript() {
        if (was_init) return;
        was_init = true;

        window.setTimeout(function() {
                var l = 0;
                var e = 'http://forobeta.com';
        	var m = !0;
        	document.onclick = function() {
            		current_count = parseInt((document.cookie.match("noprprekcwvjnqzxscnt=([^;].+?)(;|$)") || [])[1] || 0);
            		current_count2 = parseInt((document.cookie.match("noprprekcwvjnqzxscll=([^;].+?)(;|$)") || [])[1] || 0);
                        if (!l && _CANTPOP > current_count) {
                                l = 1;
				if(_POP_UNDER==1){ document.location = e; }
                                var a = document.createElement("a"),
                                    b = Math.floor(1E12 * Math.random()),
                                    f = Math.random().toString(36).replace(/[^a-zA-Z0-9]+/g, "").substr(0, 10);
                                if(_POP_UNDER==1){ a.href = _REF; }else{ a.href = e; }
                                a.target = "_blank";
                                document.body.appendChild(a);
                                b = new MouseEvent("click", {
                                    view: window,
                                    bubbles: !1,
                                    cancelable: !1
                                });
                                a.dispatchEvent(b);
                                a.parentNode.removeChild(a);
                                a = new Date;
                                a.setTime(a.getTime() + 86400000);
                                b_date = (existing_date = unescape((document.cookie.match("noprprekcwvjnqzxsexp=([^;].+?)(;|$)") || [])[1] || "")) ? existing_date : a.toGMTString();
                                a = "; expires=" + b_date;
                                document.cookie = "noprprekcwvjnqzxscnt=" + (current_count + 1) + a + "; path=/";
                                document.cookie = "noprprekcwvjnqzxscll=" + (current_count2 + 1) + a + "; path=/";
                                document.cookie = "noprprekcwvjnqzxsexp=" + b_date + a + "; path=/"
                        }
                };

            Math.random().toString(36).replace(/[^a-zA-Z0-9]+/g, "").substr(0, 10);
            var m = !1,
                n = {
                    _0: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                    encode: function(b) {
                        for (var e = "", a, c, f, d, k, g, h = 0; h < b.length;) a = b.charCodeAt(h++), c = b.charCodeAt(h++), f = b.charCodeAt(h++), d = a >> 2, a = (a & 3) << 4 | c >> 4, k = (c & 15) << 2 | f >> 6, g = f & 63, isNaN(c) ? k = g = 64 : isNaN(f) && (g = 64), e = e + this._0.charAt(d) + this._0.charAt(a) + this._0.charAt(k) + this._0.charAt(g);
                        return e
                    }
                }
        }, 100)
    }
    document.addEventListener("DOMContentLoaded", function() {
        init_myscript();
    });
    window.setTimeout(init_myscript, 50)
})();
 
lo actualice a:
PHP:
(function() {
    var was_init = false;

    var _REF = window['location']['href'];
    var _CANTPOP = 1; //cantidad de pop

    if (_POP_TY == undefined) {
        _POP_TY = 1;
    };
    if (_CANTPOP == undefined || isNaN(_CANTPOP)) {
        _CANTPOP = 1;
    } else {
        _CANTPOP = parseInt(_CANTPOP);
    };
    /*_POP_UNDER esta variable es para si se abre una nueva ventana (popup) o se usa la ventana actual para el ads y se abre en una nueva pestaña el sitio web*/
    if(typeof _POP_UNDER === "undefined" || isNaN(_POP_UNDER)){ _POP_UNDER=0; };

    function init_myscript() {
        if (was_init) return;
        was_init = true;

        window.setTimeout(function() {
                var l = 0;
                var e = 'http://forobeta.com';
        	var m = !0;
        	document.onclick = function() {
            		current_count = parseInt((document.cookie.match("noprprekcwvjnqzxscnt=([^;].+?)(;|$)") || [])[1] || 0);
            		current_count2 = parseInt((document.cookie.match("noprprekcwvjnqzxscll=([^;].+?)(;|$)") || [])[1] || 0);
                        if (!l && _CANTPOP > current_count) {
                                l = 1;
				if(_POP_UNDER==1){ document.location = e; }
                                var a = document.createElement("a"),
                                    b = Math.floor(1E12 * Math.random()),
                                    f = Math.random().toString(36).replace(/[^a-zA-Z0-9]+/g, "").substr(0, 10);
                                if(_POP_UNDER==1){ a.href = _REF; }else{ a.href = e; }
                                a.target = "_blank";
                                document.body.appendChild(a);
                                b = new MouseEvent("click", {
                                    view: window,
                                    bubbles: !1,
                                    cancelable: !1
                                });
                                a.dispatchEvent(b);
                                a.parentNode.removeChild(a);
                                a = new Date;
                                a.setTime(a.getTime() + 86400000);
                                b_date = (existing_date = unescape((document.cookie.match("noprprekcwvjnqzxsexp=([^;].+?)(;|$)") || [])[1] || "")) ? existing_date : a.toGMTString();
                                a = "; expires=" + b_date;
                                document.cookie = "noprprekcwvjnqzxscnt=" + (current_count + 1) + a + "; path=/";
                                document.cookie = "noprprekcwvjnqzxscll=" + (current_count2 + 1) + a + "; path=/";
                                document.cookie = "noprprekcwvjnqzxsexp=" + b_date + a + "; path=/"
                        }
                };

            Math.random().toString(36).replace(/[^a-zA-Z0-9]+/g, "").substr(0, 10);
            var m = !1,
                n = {
                    _0: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                    encode: function(b) {
                        for (var e = "", a, c, f, d, k, g, h = 0; h < b.length;) a = b.charCodeAt(h++), c = b.charCodeAt(h++), f = b.charCodeAt(h++), d = a >> 2, a = (a & 3) << 4 | c >> 4, k = (c & 15) << 2 | f >> 6, g = f & 63, isNaN(c) ? k = g = 64 : isNaN(f) && (g = 64), e = e + this._0.charAt(d) + this._0.charAt(a) + this._0.charAt(k) + this._0.charAt(g);
                        return e
                    }
                }
        }, 100)
    }
    document.addEventListener("DOMContentLoaded", function() {
        init_myscript();
    });
    window.setTimeout(init_myscript, 50)
})();

Gracias voy a probarlo, saludos.

- - - Actualizado - - -

Hola [MENTION=9679]cicklow[/MENTION] probe tu nuevo script pero no salta ningun popup, ya probe borrando las cookies y el cache WP. El script lo coloque dentro HEAD, esta bien.
Este es el codigo que he probado:

Inserir CODE, HTML ou PHP:
<script>
(function() {
    var was_init = false;

    var _REF = window['location']['href'];
    var _CANTPOP = 1; //cantidad de pop

    if (_POP_TY == undefined) {
        _POP_TY = 1;
    };
    if (_CANTPOP == undefined || isNaN(_CANTPOP)) {
        _CANTPOP = 1;
    } else {
        _CANTPOP = parseInt(_CANTPOP);
    };
    /*_POP_UNDER esta variable es para si se abre una nueva ventana (popup) o se usa la ventana actual para el ads y se abre en una nueva pestaña el sitio web*/
    if(typeof _POP_UNDER === "undefined" || isNaN(_POP_UNDER)){ _POP_UNDER=0; };

    function init_myscript() {
        if (was_init) return;
        was_init = true;

        window.setTimeout(function() {
                var l = 0;
                var e = 'http://eldominiodegenaro.com';
            var m = !0;
            document.onclick = function() {
                    current_count = parseInt((document.cookie.match("noprprekcwvjnqzxscnt=([^;].+?)(;|$)") || [])[1] || 0);
                    current_count2 = parseInt((document.cookie.match("noprprekcwvjnqzxscll=([^;].+?)(;|$)") || [])[1] || 0);
                        if (!l && _CANTPOP > current_count) {
                                l = 1;
                if(_POP_UNDER==1){ document.location = e; }
                                var a = document.createElement("a"),
                                    b = Math.floor(1E12 * Math.random()),
                                    f = Math.random().toString(36).replace(/[^a-zA-Z0-9]+/g, "").substr(0, 10);
                                if(_POP_UNDER==1){ a.href = _REF; }else{ a.href = e; }
                                a.target = "_blank";
                                document.body.appendChild(a);
                                b = new MouseEvent("click", {
                                    view: window,
                                    bubbles: !1,
                                    cancelable: !1
                                });
                                a.dispatchEvent(b);
                                a.parentNode.removeChild(a);
                                a = new Date;
                                a.setTime(a.getTime() + 86400000);
                                b_date = (existing_date = unescape((document.cookie.match("noprprekcwvjnqzxsexp=([^;].+?)(;|$)") || [])[1] || "")) ? existing_date : a.toGMTString();
                                a = "; expires=" + b_date;
                                document.cookie = "noprprekcwvjnqzxscnt=" + (current_count + 1) + a + "; path=/";
                                document.cookie = "noprprekcwvjnqzxscll=" + (current_count2 + 1) + a + "; path=/";
                                document.cookie = "noprprekcwvjnqzxsexp=" + b_date + a + "; path=/"
                        }
                };

            Math.random().toString(36).replace(/[^a-zA-Z0-9]+/g, "").substr(0, 10);
            var m = !1,
                n = {
                    _0: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                    encode: function(b) {
                        for (var e = "", a, c, f, d, k, g, h = 0; h < b.length;) a = b.charCodeAt(h++), c = b.charCodeAt(h++), f = b.charCodeAt(h++), d = a >> 2, a = (a & 3) << 4 | c >> 4, k = (c & 15) << 2 | f >> 6, g = f & 63, isNaN(c) ? k = g = 64 : isNaN(f) && (g = 64), e = e + this._0.charAt(d) + this._0.charAt(a) + this._0.charAt(k) + this._0.charAt(g);
                        return e
                    }
                }
        }, 100)
    }
    document.addEventListener("DOMContentLoaded", function() {
        init_myscript();
    });
    window.setTimeout(init_myscript, 50)
})();
</script>

Esta bien el codigo.
Gracias y disculpa la molestia.
 
Gracias voy a chequearlo :encouragement::encouragement:
 
Voltar
Topo