> 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/ru/ports-and-services/james-server-4555-119-110.md).

# Сервер James — 4555/119/110

### Порт 119 — NNTP

> Порт 119 использует службу Network News Transfer Protocol (NNTP). На сервере запущен экземпляр Apache James — почтового и новостного сервера. Подключитесь с помощью `netcat`, но релевантная информация не найдена.

```bash
nc 10.10.10.51 119
```

<figure><img src="/files/24a86c8c69beea712e2d3b003df0fdc1ce303fb0" alt=""><figcaption></figcaption></figure>

### Порт 4555 — инструмент удалённого администрирования

> В контексте удалённого администрирования его можно использовать для доступа к панелям управления или взаимодействия с удалёнными службами на целевой машине. Важно просканировать его, чтобы проверить, открыт ли он и какую службу он обслуживает.

Подключитесь к панели администрирования James через Telnet:

```bash
telnet 10.10.10.51 4555
```

<figure><img src="/files/5c1cf4430f58b7dca1bea190a56ca104548c83a5" alt=""><figcaption></figcaption></figure>

Найдены учётные данные по умолчанию:

* **Имя пользователя** : root
* **Пароль** : root

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

<figure><img src="/files/64fb5e925e71e59bd663cf153fc42423da94e295" alt=""><figcaption></figcaption></figure>

После входа в систему панель администратора James позволяет перечислять пользователей с помощью `listusers` команды. Обнаружено пять пользователей:

* `пользователь: james`
* `пользователь: thomas`
* `пользователь: john`
* `пользователь: mindy`
* `пользователь: mailadmin`

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

У `setpassword` команда может изменять пароли пользователей, чтобы к почтовым ящикам можно было получить доступ по POP3 на порту 110. Измените пароль для каждого пользователя:

```ada
setpassword james james
setpassword thomas thomas
setpassword john john
setpassword mindy mindy
setpassword mailadmin mailadmin
```

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

### Порт 110 — POP3

> Порт 110 — стандартный порт, используемый для **POP3** (Post Office Protocol version 3). Почтовые клиенты используют этот протокол для получения сообщений с сервера.

Подключитесь к службе POP3 через Telnet:

<pre class="language-bash"><code class="lang-bash"><strong>telnet 10.10.10.51 110
</strong></code></pre>

Войдите с помощью следующих команд:

```ada
USER <user>
PASS <password>
```

Просмотрите сообщения с помощью `list` команды.

Нет сообщений в `james` и `thomas` почтовых ящиках.

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

Однако, `john` В почтовом ящике есть сообщение, которое можно получить с помощью `retr 1`. Сообщение содержит следующий текст:

> John,
>
> Можете ограничить доступ Mindy, пока ей не разрешат присоединиться к программе? Также обязательно отправьте ей временный пароль, чтобы она могла войти в свои учётные записи.
>
> Заранее спасибо.
>
> С уважением,/ Джеймс

<figure><img src="/files/8c941e75906015a3fe7a15e062ef251b2869748a" alt=""><figcaption></figcaption></figure>

Это говорит о том, что `mindy` у пользователя есть учётные данные в почтовом ящике. Обнаружена следующая информация:

* **Имя пользователя** : mindy
* **Пароль** : P\@55W0rd1!2@

<div data-full-width="true"><figure><img src="/files/86f80bc6330b6e8404238e5a486bbb3f4d7f747a" alt=""><figcaption></figcaption></figure></div>


---

# 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/ru/ports-and-services/james-server-4555-119-110.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.
