# Task 2 - Introduction

## Task 2 Introduction

### What networking constructs are used to direct traffic to the right application on a server?

<details>

<summary>Reveal Flag <span data-gb-custom-inline data-tag="emoji" data-code="1f6a9">🚩</span></summary>

:triangular\_flag\_on\_post:`ports`

</details>

### How many of these are available on any network-enabled computer?

<details>

<summary>Reveal Flag <span data-gb-custom-inline data-tag="emoji" data-code="1f6a9">🚩</span></summary>

:triangular\_flag\_on\_post:`65535`

</details>

### **\[Research]** How many of these are considered "well-known"? (These are the "standard" numbers mentioned in the task)

{% embed url="<https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers#Well-known_ports>" %}
Well-known ports: The port numbers in the range from 0 to 1023
{% endembed %}

{% hint style="warning" %}
**HINT:** Search in Google "How many well-known \_\_\_\_ are there", substituting in your answer to Question 1.
{% endhint %}

<details>

<summary>Reveal Flag <span data-gb-custom-inline data-tag="emoji" data-code="1f6a9">🚩</span></summary>

:triangular\_flag\_on\_post:`1024`

</details>


---

# 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://thmflags.gitbook.io/thm-walkthroughs/difficulty-easy/nmap/task-2-introduction.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.
