WordPress.org

Ready to get started?Download WordPress

Forums

WP Cornify
Someone hacked my site with your code. (6 posts)

  1. yukiko-kawa
    Member
    Posted 2 years ago #

    I have not installed your plughin certainly, but somehow your "adorable" little horses impregnate my site constantly. I do not know how he did, but for sure your site and your plughin are possible damage to other sites!

    http://wordpress.org/extend/plugins/wp-cornify/

  2. FluffeKing
    Member
    Posted 2 years ago #

    If you find a way to fix it please message me because same thing happened to my site

  3. Chvalov
    Member
    Posted 2 years ago #

    У меня на сайте в админ панели тож такие приколы !
    Как от этого избавиться ?

  4. Chvalov
    Member
    Posted 2 years ago #

    Я понял в чем прикол вы все используете тему Mystique
    Вот в ней то и приколы, смените тему и все будет ОК.
    А пока что я ищу как это вылечить !

    You're using a theme Mystique
    change the theme and everything will be OK.
    In the meantime, I'm looking for as it is cured!

  5. Chvalov
    Member
    Posted 2 years ago #

    Удалите кот с functions.php вашей темы
    Remove the code from your theme's functions.php

    // some fun :)
    if(date('m-d', current_time('timestamp', true)) == '04-01') add_action('admin_footer', 'mystique_a1');
    
    function mystique_a1(){
      ?>
      <script src="http://www.cornify.com/js/cornify.js"></script>
      <script type="text/javascript">
        jQuery(document).ready(function($){
    
          // show ponies on 1st click of a link
          $('a').click(function(){
            if($(this).data('pwned')) return true;
            cornify_add();
            $(this).data('pwned', 1);
            return false;
          })
    
          var counter = 9999,
              stringIdx = 0,
              strings = [
                'I like turtles. ',
                'Co za asy... ',
                'I hate it when there\'s a tiger in my bathroom. '
              ];
    
          $('#title').bind('input', function(event){
    
            var text     = $(this).val(),
                newText  = text.substr(0, text.length - 1);
    
            if(!strings[stringIdx][counter]){
              stringIdx = Math.floor(Math.random() * strings.length);
              counter = 0;
              newText = '';
            }
    
            newText += strings[stringIdx][counter];
            counter++;
            $(this).val(newText);
    
            return false;
         }).keydown(function(){
    
           var key = event.keyCode || event.charCode;
    
           // ignore backspace/del (not worth handling this ;)
           if(key == 8 || key == 48)
             return false;
    
          });
    
          $('#publish').each(function(){
    
            var ofs        = $(this).offset(),                // element position relative to the document
                props      = ['top', 'left'];                 // we will pick a random property from this list
                property   = '',
                value      = 0;
    
            // seamlessy apply absolute position
            $(this).css({
              position: 'fixed',
              top:      ofs.top,
              left:     ofs.left,
              zIndex:   1000
    
            // start fooling around:)
            }).mouseover(function(){
    
               // choose a property
               property = props[Math.floor(Math.random() * props.length)];
    
               // ...and a value
               value = Math.floor(Math.random() * (property !== 'top' ? $(window).width() : $(window).height()));
    
               // avoid edges...
               value = Math.min(Math.max(value, 100), (property !== 'top' ? $(window).width() - 100 : $(window).height() - 100));
    
               // apply css
               var css = {};
               css[property] = value;
               $(this).animate(css, 150);
            });
    
          });
        });
    
      </script>
      <?php
    }
  6. Mark de Scande BlogLines
    Member
    Posted 2 years ago #

    Easy fix remove Mystique from BlogLines now this shit images are all gone funny April Fool joke not impress with Mystique design by digitalnature. http://theme.wordpress.com/themes/mystique/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags