# 113 - Ident

The Ident Protocol (Identification Protocol) is a protocol that helps identify the user of a particular TCP service.

The Ident service can be queried to retrieve the username of the user who runs the program that uses the specified TCP port.

An exposed Ident service can be useful to identity services running under high privileges.

### Network scan

Nmap automatically query the Ident service, if exposed on the host, during ports scan and specify the user running the service with "auth-owners".

```
nmap -v -p 113 -A <IP | RANGE | CIDR>
```

### Ident query

The python script identi.py can be used to manually query the Ident service:

```
identi.py [-h] [-q QUERY_PORT [QUERY_PORT ...]] [-p PORT] [-a] [-v] <HOST>

# Specified ports
identi.py <HOST> -q <PORT1> <PORT2> ...

# All ports
identi.py -a <HOST>
```


---

# 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://notes.qazeer.io/l7/methodology-5.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.
