403Webshell
Server IP : 127.0.0.1  /  Your IP : 192.168.99.1
Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9
System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64
User : Administrator ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /bpkd_29052026/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bpkd_29052026/admin/test_sanitize.php
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);

echo "<h2>Debug: Mencari Fungsi sanitize()</h2>";

// Cek file includes/init.php
$init_file = __DIR__ . '/includes/init.php';
echo "<p><strong>Mencari file: $init_file</strong></p>";
if (file_exists($init_file)) {
    echo "<p style='color:green'>✓ File exists</p>";
    require_once $init_file;
} else {
    echo "<p style='color:red'>✗ File not found!</p>";
}

// Cek apakah fungsi ada
if (function_exists('sanitize')) {
    echo "<p style='color:green'>✓ Fungsi sanitize() ditemukan!</p>";
    $test = sanitize("Test <script>alert('xss')</script>");
    echo "<p>Test sanitize: " . htmlspecialchars($test) . "</p>";
} else {
    echo "<p style='color:red'>✗ Fungsi sanitize() TIDAK ditemukan!</p>";
    
    // Tampilkan semua fungsi yang terdefinisi
    $functions = get_defined_functions();
    echo "<p>Fungsi-fungsi yang tersedia:</p>";
    echo "<pre>";
    print_r(array_slice($functions['user'], -10));
    echo "</pre>";
}

// Cek file frontend init
$frontend_init = dirname(__DIR__) . '/includes/init.php';
echo "<p><strong>Mencari frontend init: $frontend_init</strong></p>";
if (file_exists($frontend_init)) {
    echo "<p style='color:green'>✓ Frontend init exists</p>";
    require_once $frontend_init;
    
    if (function_exists('sanitize')) {
        echo "<p style='color:green'>✓ Fungsi sanitize() ditemukan di frontend init!</p>";
    } else {
        echo "<p style='color:red'>✗ Fungsi sanitize() TIDAK ditemukan di frontend init!</p>";
    }
} else {
    echo "<p style='color:red'>✗ Frontend init not found!</p>";
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit