> For the complete documentation index, see [llms.txt](https://blog.hacktive.bebzounette.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blog.hacktive.bebzounette.com/services/telnet-23.md).

# Telnet - 23

### **1. Infos :**

\
&#x20;Telnet est un protocole client-serveur utilisé pour la liaison avec une machine distante sur le port 23. Grâce à Telnet, vous pouvez même tester les ports ouverts sur un réseau distant.

```
Port par défaut : 23

23/tcp open telnet
```

### &#x20;**2. Enumération**

\
**Récupération de la bannière:**

```
nc -vn <IP> 23
```

\
Toutes les énumérations peuvent être faites par nmap :

```
nmap -n -sV -Pn --script "*telnet* and safe" -p 23 <IP>
```

\
Le script `<telnet-ntlm-info.nse>` permettra d'obtenir des informations NTLM (versions Windows).

### &#x20;**3. Brute Force**

```
hydra -l root -P passwords.txt [-t 32] <IP> telnet
```

### &#x20;**4. Fichier de configuration**

```
/etc/inetd.conf
/etc/xinetd.d/telnet
/etc/xinetd.d/stelnet
```


---

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

```
GET https://blog.hacktive.bebzounette.com/services/telnet-23.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.
