> For the complete documentation index, see [llms.txt](https://dmcxblue.gitbook.io/red-team-notes-2-0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dmcxblue.gitbook.io/red-team-notes-2-0/red-team-infrastructure/reconnaissance/active.md).

# Active

The active approach moves on to touching the target environment and gathering information that can probably get us caught.

This approach is usually taken with tools, some popular ones to mention are Nmap, SpoofCheck, AQUATONE, or dnsrecon.

Example:

Tool: Nmap

![](/files/NlNJnwR44wlhSdG8NG2N)

In this scenario, we managed to grab the IP of one of the corporate servers pointing out to the internet (yes, this happens) and we start port scanning with Nmap, this will leave logs on the servers that someone was trying to enumerate the machine this happens normally all over the internet usually to locate these specific enumeration tactics they will require some research to be done.

A variety of tools can achieve this, but some are more sport-specific, if we are trying to get maybe SMB enumeration then enum4linux,smbmap, etc., can be a great tool for this.

&#x20;

This method is considered **Active**.

&#x20;

&#x20;


---

# 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, and the optional `goal` query parameter:

```
GET https://dmcxblue.gitbook.io/red-team-notes-2-0/red-team-infrastructure/reconnaissance/active.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
