Joomla 1.5 выложил код из расширения js это вирус?

Тема в разделе "Вопросы безопасности", создана пользователем Nospi, 14.07.2013.

  1. Offline

    Nospi Недавно здесь

    Регистрация:
    14.07.2013
    Сообщения:
    13
    Симпатии:
    0
    Пол:
    Мужской
    Public_html/media/system/mootools-uncompressed.js


    Код (CODE):
    1. /*
    2. Script: Json.Remote.js
    3.     Contains <Json.Remote>.
    4.  
    5. License:
    6.     MIT-style license.
    7. */
    8.  
    9. /*
    10. Class: Json.Remote
    11.     Wrapped XHR with automated sending and receiving of Javascript Objects in Json Format.
    12.     Inherits methods, properties, options and events from <XHR>.
    13.  
    14. Arguments:
    15.     url - the url you want to send your object to.
    16.     options - see <XHR> options
    17.  
    18. Example:
    19.     this code will send user information based on name/last name
    20.     (start code)
    21.     var jSonRequest = new Json.Remote("http://site.com/tellMeAge.php", {onComplete: function(person){
    22.         alert(person.age); //is 25 years
    23.         alert(person.height); //is 170 cm
    24.         alert(person.weight); //is 120 kg
    25.     }}).send({'name': 'John', 'lastName': 'Doe'});
    26.     (end)
    27.  
    28.  
    29. Public_html/media/system/combobox.js
    30.  
    31.  
    32. // Add iFrame for IE
    33.       if (this.is_ie) {
    34.          var iframe = document.createElement('iframe');
    35.          iframe.src = 'about:blank';
    36.          iframe.scrolling = 'no';
    37.          iframe.frameborder = '0';
    38.          iframe.style.position = 'absolute';
    39.          iframe.style.top = coords.y + 'px';
    40.          iframe.style.left = coords.x + 'px';
    41.          iframe.style.width = element.offsetWidth + 'px';
    42.          iframe.style.height = element.offsetHeight + 'px';
    43.          element.parentNode.insertBefore(iframe, element);
    44.       }
    45.    },
     
    Последнее редактирование модератором: 14.07.2013
  2.  
  3. OlegM
    Offline

    OlegM Russian Joomla! Team Команда форума

    Регистрация:
    12.04.2007
    Сообщения:
    4 311
    Симпатии:
    375
    Пол:
    Мужской
    Судя по выложенному - нет.
     

Поделиться этой страницей

Загрузка...