Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Commit a0ab599

Browse files
Matt GraeberMatt Graeber
authored andcommitted
Excluding the Tests folder from being loaded as a module
1 parent aae81dd commit a0ab599

File tree

3 files changed

+363
-2
lines changed

3 files changed

+363
-2
lines changed

PowerSploit.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer } | % { Import-Module $_.FullName -DisableNameChecking }
1+
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer -and ($_.Name -ne 'Tests') } | % { Import-Module $_.FullName -DisableNameChecking }

PowerSploit.pssproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
<Compile Include="CodeExecution\Invoke-ReflectivePEInjection_Resources\Shellcode\x86\ExitThread.asm" />
7979
<Compile Include="CodeExecution\Invoke-ReflectivePEInjection_Resources\Shellcode\x86\GetProcAddress.asm" />
8080
<Compile Include="CodeExecution\Invoke-Shellcode.ps1" />
81-
<Compile Include="CodeExecution\Invoke-ShellcodeMSIL.ps1" />
8281
<Compile Include="CodeExecution\Invoke-WmiCommand.ps1" />
8382
<Compile Include="CodeExecution\Usage.md" />
8483
<Compile Include="Exfiltration\Exfiltration.psd1" />

0 commit comments

Comments
 (0)