# Installing the Red Team home lab

## Installing the Red Team home lab

### 1 Cloning the repository

First we need to clone the [repository](https://github.com/RobinFassina-Moschini/Breaching-Defenses.com) of the Red Team home lab.

For that we open a powershell and type:

```
cd C:\Users\$($env:USERNAME)\Desktop
git clone https://github.com/RobinFassina-Moschini/Breaching-Defenses.com.git
```

### 2 Setting up the disk config

Open the [*disk\_config.ps1*](https://github.com/RobinFassina-Moschini/Breaching-Defenses.com/blob/master/disk_config.ps1) file and update your configuration

```
#--------------------------------------------------------------
# Change the variables under to adapte to your disk config
#--------------------------------------------------------------
#$labSources = 'D:\LabSources' #Path to the lab sources
$labSources = 'C:\LabSources' #Path to the lab sources
#$vmDrive = 'D:' #Disk where to create the VMs
$vmDrive = 'C:' #Disk where to create the VMs
#--------------------------------------------------------------
```

If possible try to run the VMs on a different disk than the host.


---

# 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://www.breaching-defenses.com/lab/installing-the-red-team-home-lab.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.
