Skip to content

Commit a1c95e6

Browse files
committed
Fixed unnecesary merge conflict additions
1 parent 8179de6 commit a1c95e6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

lib/msf/core/exploit/remote/ldap/active_directory/security_descriptor_matcher.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,17 @@ def self.full_control
119119

120120
def self.certificate_autoenrollment
121121
MultipleAny.new([
122-
Allow.new(:CR, object_id: CERTIFICATE_AUTOENROLLMENT_EXTENDED_RIGHT),
123-
full_control
124-
])
122+
Allow.new(:CR, object_id: CERTIFICATE_AUTOENROLLMENT_EXTENDED_RIGHT),
123+
full_control
124+
])
125125
end
126126

127127
# Build a matcher that will check for a certificate's enrollment permission.
128128
def self.certificate_enrollment
129129
MultipleAny.new([
130-
Allow.new(:CR, object_id: CERTIFICATE_ENROLLMENT_EXTENDED_RIGHT),
131-
full_control
132-
])
130+
Allow.new(:CR, object_id: CERTIFICATE_ENROLLMENT_EXTENDED_RIGHT),
131+
full_control
132+
])
133133
end
134134
end
135135

@@ -176,4 +176,4 @@ def matches?
176176
end
177177
end
178178
end
179-
end
179+
end

spec/lib/msf/core/exploit/remote/ldap/active_directory/security_descriptor_matcher_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,4 @@
160160
expect(matcher.satisfied?).to be_falsey
161161
end
162162
end
163-
end
163+
end

0 commit comments

Comments
 (0)