> 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/kerberos-88/impacket-getnpusers-tool.md).

# impacket-GetNPUsers — инструмент

### impacket-GetNPUsers

> Этот инструмент, также из **набора Impacket** набора, используется для перечисления учетных записей Active Directory, настроенных так, чтобы не требовать предварительной аутентификации Kerberos. Эти учетные записи уязвимы для атаки, называемой **AS-REP Roasting**.

Пример:

```bash
impacket-GetNPUsers domain.local/ -no-pass -usersfile users.txt
```

* Эта команда выводит список действительных пользователей в `egotistical-bank.local` домене и проверяет, какие учетные записи не требуют предварительной аутентификации. Затем результаты можно использовать, чтобы попытаться взломать полученные хэши.

```bash
impacket-GetNPUsers egotistical-bank.local/ -no-pass -usersfile users.txt
```

<figure><img src="/files/bcc09046a092ce70a81500a9fb5c5c8c35fd62a4" 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/ru/ports-and-services/kerberos-88/impacket-getnpusers-tool.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.
