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-RegistryAutoLogon',
|
||||||
'Get-SecurityPackages',
|
'Get-SecurityPackages',
|
||||||
'Get-ServiceDetail',
|
'Get-ServiceDetail',
|
||||||
'Get-ServiceUnquoted',
|
|
||||||
'Get-SiteListPassword',
|
'Get-SiteListPassword',
|
||||||
'Get-System',
|
'Get-System',
|
||||||
'Get-TimedScreenshot',
|
'Get-TimedScreenshot',
|
||||||
'Get-UnattendedInstallFile',
|
'Get-UnattendedInstallFile',
|
||||||
|
'Get-UnquotedService',
|
||||||
'Get-UserEvent',
|
'Get-UserEvent',
|
||||||
'Get-UserProperty',
|
'Get-UserProperty',
|
||||||
'Get-VaultCredential',
|
'Get-VaultCredential',
|
||||||
|
|
@ -103,7 +103,6 @@ FunctionsToExport = @(
|
||||||
'Install-ServiceBinary',
|
'Install-ServiceBinary',
|
||||||
'Install-SSP',
|
'Install-SSP',
|
||||||
'Invoke-ACLScanner',
|
'Invoke-ACLScanner',
|
||||||
'Invoke-AllChecks',
|
|
||||||
'Invoke-CheckLocalAdminAccess',
|
'Invoke-CheckLocalAdminAccess',
|
||||||
'Invoke-CredentialInjection',
|
'Invoke-CredentialInjection',
|
||||||
'Invoke-DllInjection',
|
'Invoke-DllInjection',
|
||||||
|
|
@ -114,6 +113,7 @@ FunctionsToExport = @(
|
||||||
'Invoke-Mimikatz',
|
'Invoke-Mimikatz',
|
||||||
'Invoke-NinjaCopy',
|
'Invoke-NinjaCopy',
|
||||||
'Invoke-Portscan',
|
'Invoke-Portscan',
|
||||||
|
'Invoke-PrivescAudit',
|
||||||
'Invoke-ProcessHunter',
|
'Invoke-ProcessHunter',
|
||||||
'Invoke-ReflectivePEInjection',
|
'Invoke-ReflectivePEInjection',
|
||||||
'Invoke-ReverseDnsLookup',
|
'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')]
|
[ValidateSet('AccessSystemSecurity', 'CreateChild','Delete','DeleteChild','DeleteTree','ExtendedRight','GenericAll','GenericExecute','GenericRead','GenericWrite','ListChildren','ListObject','ReadControl','ReadProperty','Self','Synchronize','WriteDacl','WriteOwner','WriteProperty')]
|
||||||
$Right,
|
$Right,
|
||||||
|
|
||||||
[Parameter(Mandatory = $True, ParameterSetName=’AccessRuleType’)]
|
[Parameter(Mandatory = $True, ParameterSetName='AccessRuleType')]
|
||||||
[ValidateSet('Allow', 'Deny')]
|
[ValidateSet('Allow', 'Deny')]
|
||||||
[String[]]
|
[String[]]
|
||||||
$AccessControlType,
|
$AccessControlType,
|
||||||
|
|
||||||
[Parameter(Mandatory = $True, ParameterSetName=’AuditRuleType’)]
|
[Parameter(Mandatory = $True, ParameterSetName='AuditRuleType')]
|
||||||
[ValidateSet('Success', 'Failure')]
|
[ValidateSet('Success', 'Failure')]
|
||||||
[String]
|
[String]
|
||||||
$AuditFlag,
|
$AuditFlag,
|
||||||
|
|
||||||
[Parameter(Mandatory = $False, ParameterSetName=’AccessRuleType’)]
|
[Parameter(Mandatory = $False, ParameterSetName='AccessRuleType')]
|
||||||
[Parameter(Mandatory = $False, ParameterSetName=’AuditRuleType’)]
|
[Parameter(Mandatory = $False, ParameterSetName='AuditRuleType')]
|
||||||
[Parameter(Mandatory = $False, ParameterSetName=’ObjectGuidLookup’)]
|
[Parameter(Mandatory = $False, ParameterSetName='ObjectGuidLookup')]
|
||||||
[Guid]
|
[Guid]
|
||||||
$ObjectType,
|
$ObjectType,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue