# 01 - Локальные аккаунты

В данном случае локальные аккаунты это учетки не только на том же сервере, но и в других программах,\
например в базе Mysql, gitlab, ansible или любое другое прикладное ПО. \
Часто они могут храниться в открытом виде или быть в виде хэша.

Так как у нас есть root доступ к БД, мы можем подсмотреть хэш пароля пользователя steven и попытаться его расшифровать.

```sql
// Заходим в mysql с паролем который подсмотрели в wp-config
mysql - u root -p
// смотрим список баз
show databases;
//выбираем wordpress
use wordpress;
//смотрим список таблиц
show tables;
//смотрим всех пользователей + хэши паролей
select * from wp_users;
```

<figure><img src="/files/SvqhLcHQH8q1fGLY7345" alt=""><figcaption><p>хэш пользователя в mysql</p></figcaption></figure>

Отлично, осталось крэкнуть хэш.


---

# Agent Instructions: 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:

```
GET https://reeves0x0.gitbook.io/linux-under-attack/privilege-escalation/01-lokalnye-akkaunty.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
