# Gaining Access

- [IP Forwarding](https://infra.newerasec.com/infrastructure-testing/gaining-access/ip-forwarding.md)
- [VLAN Information](https://infra.newerasec.com/infrastructure-testing/gaining-access/vlan-hopping.md)
- [Psexec](https://infra.newerasec.com/infrastructure-testing/gaining-access/psexec.md): Execute a command-line process on a remote machine.
- [Upgrading shell](https://infra.newerasec.com/infrastructure-testing/gaining-access/upgrading-shell.md): Have fully interactive shell
- [Reverse Shells One-Liners](https://infra.newerasec.com/infrastructure-testing/gaining-access/reverse-shells-one-liners.md): Common reverse shells
- [Bruteforce](https://infra.newerasec.com/infrastructure-testing/gaining-access/bruteforce.md): force your way through
- [MITM cleartext protocols](https://infra.newerasec.com/infrastructure-testing/gaining-access/mitm-cleartext-protocols.md)
- [Null session](https://infra.newerasec.com/infrastructure-testing/gaining-access/null-session.md): null session is an anonymous connection to an inter-process communication network service on Windows-based computers
- [LLMNR / NBT NS Spoofing](https://infra.newerasec.com/infrastructure-testing/gaining-access/llmnr-nbt-ns-spoofing.md)
- [Port knocking](https://infra.newerasec.com/infrastructure-testing/gaining-access/port-knocking.md): Port Knocking is a well-established method used by both defenders and adversaries to hide open ports from access.
- [Downloading/Transfer files](https://infra.newerasec.com/infrastructure-testing/gaining-access/downloading-transfer-files.md): Download files to the victim machine
- [Remote Desktop](https://infra.newerasec.com/infrastructure-testing/gaining-access/remote-desktop.md): How to use RDP (Remote desktop protocol) to gain access to a host, rdp runs on port 3389 by default in windows.
- [NAC Bypass](https://infra.newerasec.com/infrastructure-testing/gaining-access/nac-bypass.md): Bypassing annoying network access controls
- [Pass-The-Hash](https://infra.newerasec.com/infrastructure-testing/gaining-access/pass-the-hash.md): Pass the hash is a hacking technique that allows an attacker to authenticate to a remote server or service by using the underlying NTLM or LanMan hash of a user's password.


---

# 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://infra.newerasec.com/infrastructure-testing/gaining-access.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.
