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 :  D:/bpkd_/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/bpkd_//test_artikel.php
<?php
// test_artikel.php
require_once 'includes/init.php';

echo "<h2>Test Artikel URL</h2>";

// Ambil artikel dengan hash
$result = $conn->query("SELECT id, title, url_hash FROM articles WHERE status = 'published' LIMIT 5");

echo "<h3>Daftar Artikel:</h3>";
echo "<table border='1' cellpadding='8'>";
echo "<tr><th>ID</th><th>Judul</th><th>Hash</th><th>Link</th></tr>";

while($row = $result->fetch_assoc()) {
    $hash = $row['url_hash'] ?: 'KOSONG';
    $link = "http://localhost/bpkd/artikel/" . $hash;
    echo "<tr>";
    echo "<td>{$row['id']}</td>";
    echo "<td>{$row['title']}</td>";
    echo "<td><code>$hash</code></td>";
    echo "<td><a href='$link' target='_blank'>$link</a></td>";
    echo "</tr>";
}
echo "</table>";

// Cek file .htaccess
echo "<h3>Cek .htaccess:</h3>";
if (file_exists('.htaccess')) {
    echo "<p style='color:green'>✓ .htaccess ditemukan</p>";
    $content = file_get_contents('.htaccess');
    if (strpos($content, 'RewriteRule ^artikel/') !== false) {
        echo "<p style='color:green'>✓ Aturan artikel ditemukan</p>";
    } else {
        echo "<p style='color:red'>✗ Aturan artikel TIDAK ditemukan</p>";
    }
} else {
    echo "<p style='color:red'>✗ .htaccess TIDAK ditemukan</p>";
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit