Fix build for import and run of Invoke-PrivescAudit
This commit is contained in:
parent
095988269b
commit
f9b95c5cf2
|
|
@ -90,11 +90,11 @@ FunctionsToExport = @(
|
|||
'Get-RegistryAutoLogon',
|
||||
'Get-SecurityPackages',
|
||||
'Get-ServiceDetail',
|
||||
'Get-ServiceUnquoted',
|
||||
'Get-SiteListPassword',
|
||||
'Get-System',
|
||||
'Get-TimedScreenshot',
|
||||
'Get-UnattendedInstallFile',
|
||||
'Get-UnquotedService',
|
||||
'Get-UserEvent',
|
||||
'Get-UserProperty',
|
||||
'Get-VaultCredential',
|
||||
|
|
@ -103,7 +103,6 @@ FunctionsToExport = @(
|
|||
'Install-ServiceBinary',
|
||||
'Install-SSP',
|
||||
'Invoke-ACLScanner',
|
||||
'Invoke-AllChecks',
|
||||
'Invoke-CheckLocalAdminAccess',
|
||||
'Invoke-CredentialInjection',
|
||||
'Invoke-DllInjection',
|
||||
|
|
@ -114,6 +113,7 @@ FunctionsToExport = @(
|
|||
'Invoke-Mimikatz',
|
||||
'Invoke-NinjaCopy',
|
||||
'Invoke-Portscan',
|
||||
'Invoke-PrivescAudit',
|
||||
'Invoke-ProcessHunter',
|
||||
'Invoke-ReflectivePEInjection',
|
||||
'Invoke-ReverseDnsLookup',
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer -and ($_.Name -ne 'Tests') } | % { Import-Module $_.FullName -DisableNameChecking }
|
||||
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer -and !('Tests','docs' -contains $_.Name) } | % { Import-Module $_.FullName -DisableNameChecking }
|
||||
|
|
|
|||
|
|
@ -6634,19 +6634,19 @@ System.Security.AccessControl.AuthorizationRule
|
|||
[ValidateSet('AccessSystemSecurity', 'CreateChild','Delete','DeleteChild','DeleteTree','ExtendedRight','GenericAll','GenericExecute','GenericRead','GenericWrite','ListChildren','ListObject','ReadControl','ReadProperty','Self','Synchronize','WriteDacl','WriteOwner','WriteProperty')]
|
||||
$Right,
|
||||
|
||||
[Parameter(Mandatory = $True, ParameterSetName=’AccessRuleType’)]
|
||||
[Parameter(Mandatory = $True, ParameterSetName='AccessRuleType')]
|
||||
[ValidateSet('Allow', 'Deny')]
|
||||
[String[]]
|
||||
$AccessControlType,
|
||||
|
||||
[Parameter(Mandatory = $True, ParameterSetName=’AuditRuleType’)]
|
||||
[Parameter(Mandatory = $True, ParameterSetName='AuditRuleType')]
|
||||
[ValidateSet('Success', 'Failure')]
|
||||
[String]
|
||||
$AuditFlag,
|
||||
|
||||
[Parameter(Mandatory = $False, ParameterSetName=’AccessRuleType’)]
|
||||
[Parameter(Mandatory = $False, ParameterSetName=’AuditRuleType’)]
|
||||
[Parameter(Mandatory = $False, ParameterSetName=’ObjectGuidLookup’)]
|
||||
[Parameter(Mandatory = $False, ParameterSetName='AccessRuleType')]
|
||||
[Parameter(Mandatory = $False, ParameterSetName='AuditRuleType')]
|
||||
[Parameter(Mandatory = $False, ParameterSetName='ObjectGuidLookup')]
|
||||
[Guid]
|
||||
$ObjectType,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue