> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/de/cms/wordpress-cms-exploitation/situation-information-leakage-blockycore.jar.md).

# Szenario - Informationsleck (BlockyCore.jar)

<figure><img src="/files/2d828c3311048bb4427932c4604dfe0d57401a7f" alt=""><figcaption></figcaption></figure>

**Verzeichnisenumerierung mit Gobuster:**

Verwenden Sie **Gobuster** um Verzeichnisse auf dem Ziel-Webserver aufzulisten.

```bash
gobuster dir -u http://blocky.htb/ -w /usr/share/SecLists/Discovery/Web-Content/directory-list-2.3-medium.txt -t 100
```

<figure><img src="/files/2d91a032241ceaf3eb1a11dc2b62a1fdec5c5fce" alt=""><figcaption></figcaption></figure>

Ein Verzeichnis namens **plugins** wird entdeckt.

<figure><img src="/files/f958cc8087c925af04f1376e2fc7ad808b733526" alt=""><figcaption></figcaption></figure>

**BlockyCore.jar herunterladen und extrahieren:**

Herunterladen **BlockyCore.jar**, das offenbar ein benutzerdefiniertes Plugin ist, und extrahiere es dann.

```java
jar xf BlockyCore.jar
```

#### BlockyCore.class dekompilieren

Der extrahierte Inhalt enthält **BlockyCore.class**. Dekompiliere es mit **javap** um den Inhalt zu untersuchen.

```bash
javap -c BlockyCore.class
```

Es wird ein Satz Datenbank-Anmeldedaten gefunden:

* **localhost**
* **root**
* **8YsqfCTnvxAUeduzjNSXe22**

<figure><img src="/files/3e80a294d668a25dc31c9ba832f7c61c2e9eff03" alt=""><figcaption></figcaption></figure>

#### Datenbankzugriff über phpMyAdmin

Melde dich mit den extrahierten Anmeldedaten bei **phpMyAdmin** an und finde eine Datenbanktabelle, die den Benutzer enthält **notch**.

<figure><img src="/files/01e5a6d590599df36b6401ee585da731ede9a015" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/de/cms/wordpress-cms-exploitation/situation-information-leakage-blockycore.jar.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
