Files
pwn-compile/README.md
2020-03-04 20:05:49 +00:00

34 lines
788 B
Markdown

# pwn-compile
Compile.ps1 repository.
## Installation
First copy [compile.ps1](compile.ps1) to your maps directory and unblock the script with ```Unblock-File```:
```powershell
Unblock-File compile.ps1
```
Then open an _Administrative_ powershell prompt and update your powershell execution policy to allow unsigned scripts from remote sources:
```powershell
Set-ExecutionPolicy RemoteSigned
```
And answer with A:
![Execution Policy](images/execution_policy.png)
## Usage
### All-Cores mode
To run this script with all available cores, open a powershell terminal, cd to this directory and run:
```powershell
.\compile.ps1
```
### X Cores mode
To override the number of cores used to compile, set the Cores param when calling the script:
```powershell
.\compile.ps1 -Cores 2
```