Excluding the Tests folder from being loaded as a module

This commit is contained in:
Matt Graeber 2015-11-09 10:52:23 -08:00
parent aae81ddfe5
commit a0ab599810
3 changed files with 363 additions and 2 deletions

View File

@ -1 +1 @@
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer } | % { Import-Module $_.FullName -DisableNameChecking }
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer -and ($_.Name -ne 'Tests') } | % { Import-Module $_.FullName -DisableNameChecking }

View File

@ -78,7 +78,6 @@
<Compile Include="CodeExecution\Invoke-ReflectivePEInjection_Resources\Shellcode\x86\ExitThread.asm" />
<Compile Include="CodeExecution\Invoke-ReflectivePEInjection_Resources\Shellcode\x86\GetProcAddress.asm" />
<Compile Include="CodeExecution\Invoke-Shellcode.ps1" />
<Compile Include="CodeExecution\Invoke-ShellcodeMSIL.ps1" />
<Compile Include="CodeExecution\Invoke-WmiCommand.ps1" />
<Compile Include="CodeExecution\Usage.md" />
<Compile Include="Exfiltration\Exfiltration.psd1" />

File diff suppressed because one or more lines are too long