> For the complete documentation index, see [llms.txt](https://www.marialc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.marialc.com/pentesterlab-labs/recon-badge/recon_13-txt.md).

# recon\_13 (TXT)

View the exercise here: [PentesterLab: Recon 13](https://pentesterlab.com/exercises/recon_13/course)

### **OBJECTIVE**

For this challenge, your goal is to retrieve the **TXT** record for **`key.z.hackycorp.com`.**

### **TXT RECORD**

TXT records are often used to show that people own a domain or to store information to configure services, it's always a good idea to check for those.

### **SOLUTION**

#### **Solution #1:**

{% hint style="success" %}
**Using dig:**

```bash
dig TXT key.z.hackycorp.com
```

{% endhint %}

<figure><img src="https://290105472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F89FZKOizBQcf0e0Qdrp8%2Fuploads%2FbR9lidJikyTUHCAFjCjI%2Fimage.png?alt=media&amp;token=16a8a4f4-0580-48ce-b4b9-8863535a40ca" alt="" width="563"><figcaption></figcaption></figure>

#### **Solution #2:**

{% hint style="success" %}
**Using nslookup:**

```bash
nslookup -type=TXT key.z.hackycorp.com
```

{% endhint %}

<figure><img src="https://290105472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F89FZKOizBQcf0e0Qdrp8%2Fuploads%2FXZniktV3Mzwru4WEJj18%2Fimage%201.png?alt=media&amp;token=27a195b1-83aa-4c15-a55b-1c6c65088b62" alt="" width="563"><figcaption></figcaption></figure>

#### **Solution #3:**

{% hint style="success" %}
**Using mtoolbox.com:**

Input **`key.z.hackycorp.com`**
{% endhint %}

<figure><img src="https://290105472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F89FZKOizBQcf0e0Qdrp8%2Fuploads%2FxEsUkwCCklPLD46gWOPo%2Fimage%202.png?alt=media&amp;token=0667ae3a-744c-4513-9ae5-def11ab7fe84" alt=""><figcaption></figcaption></figure>
