# Whois - port 43

## Reconnaissance

*`$ whois -h <host> -p 43 "test.xyz"`*

## SQL injection

Whois utilise une base de données pour stoquer et extraire les données sur les domaines dont il a des informations. Il arrive parfois que les entrées utilisateurs ne soit pas correctement filtrées entrainant des injections SQL.

Il est possible d'utiliser une interface web faisant l'interface entre le protocole whois et http afin de permettre l'automatisation de la recherche de sqli.

**HTTP2Whois** peut vous permettre cela.

ressource: <https://github.com/mathis2001/HTTP2Whois>


---

# 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://blog.s1rn3tz.ovh/hacking-protocols/whois-port-43.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.
