File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,8 @@ function Find-ESC1 {
265265 }
266266 if (
267267 ($SID -notmatch $SafeUsers ) -and
268- ( ( ($entry.ActiveDirectoryRights -match ' ExtendedRight' ) -and ($entry.ObjectType -eq ' 0e10c968-78fb-11d2-90d4-00c04f79dc55' ) ) -or
268+ ( ( ($entry.ActiveDirectoryRights -match ' ExtendedRight' ) -and
269+ ( $entry.ObjectType -match ' 0e10c968-78fb-11d2-90d4-00c04f79dc55|00000000-0000-0000-0000-000000000000' ) ) -or
269270 ($entry.ActiveDirectoryRights -match ' GenericAll' ) )
270271 ) {
271272 $Issue = [pscustomobject ]@ {
@@ -4973,7 +4974,7 @@ function Invoke-Locksmith {
49734974 [System.Management.Automation.PSCredential ]$Credential
49744975 )
49754976
4976- $Version = ' 2025.9.7 '
4977+ $Version = ' 2025.9.8 '
49774978 $LogoPart1 = @'
49784979 _ _____ _______ _ _ _______ _______ _____ _______ _ _
49794980 | | | | |____/ |______ | | | | | |_____|
Original file line number Diff line number Diff line change 88 FunctionsToExport = ' Invoke-Locksmith'
99 GUID = ' b1325b42-8dc4-4f17-aa1f-dcb5984ca14a'
1010 HelpInfoURI = ' https://raw.githubusercontent.com/jakehildreth/Locksmith/main/en-US/'
11- ModuleVersion = ' 2025.9.7 '
11+ ModuleVersion = ' 2025.9.8 '
1212 PowerShellVersion = ' 5.1'
1313 PrivateData = @ {
1414 PSData = @ {
Original file line number Diff line number Diff line change 5858 }
5959 if (
6060 ($SID -notmatch $SafeUsers ) -and
61- ( ( ($entry.ActiveDirectoryRights -match ' ExtendedRight' ) -and ($entry.ObjectType -eq ' 0e10c968-78fb-11d2-90d4-00c04f79dc55' ) ) -or
61+ ( ( ($entry.ActiveDirectoryRights -match ' ExtendedRight' ) -and
62+ ( $entry.ObjectType -match ' 0e10c968-78fb-11d2-90d4-00c04f79dc55|00000000-0000-0000-0000-000000000000' ) ) -or
6263 ($entry.ActiveDirectoryRights -match ' GenericAll' ) )
6364 ) {
6465 $Issue = [pscustomobject ]@ {
You can’t perform that action at this time.
0 commit comments