-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDAP Property Processor Refactor and Testing #96
Closed
definitelynotagoblin
wants to merge
16
commits into
SpecterOps:v3
from
definitelynotagoblin:anemeth/ldap-property-map
Closed
Changes from 10 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
29ed5a4
Prepare domain object attributes for ADCS ESC6
definitelynotagoblin 7b9a391
Correct property parsing, add produce false properties for uac
definitelynotagoblin e5f03e7
Correct email tests for ReadUser and ReadComputer Properties
definitelynotagoblin fc207bb
WIP LDAPPropertyProcessor refactor
definitelynotagoblin 36f5748
Bring LDAPPropertyProcessor back into a builable state
definitelynotagoblin a36b351
And passing tests
definitelynotagoblin b5416de
Broke down ReadUser and ReadComputer Property methods
definitelynotagoblin baff724
Better manage SidHistory property addition
definitelynotagoblin e4f8f71
Reorganizing GetProperties
definitelynotagoblin 7b28a4b
Correct FunctionalLevelToString placement to satisfy build
definitelynotagoblin 2be6f38
Break ReadSidHistory into composite functions
definitelynotagoblin 6b9a700
Begin adding tests for new functions
definitelynotagoblin 8f226d0
Bolster LdapPropertyProcessor tests
definitelynotagoblin 01189bb
Correct ReadSmsaPrincipals test
definitelynotagoblin 0089492
Add simple property tests
definitelynotagoblin 01ce4dd
Merge branch 'v3' into anemeth/ldap-property-map
definitelynotagoblin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I should rename to
AddMany
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
caveat: not a c# expert
I tend to agree that
AddRange
is a little unintuitive about what this function is doing. Some additional ideas off the top of my head:AddEntries
Assign
AddToDict
That said, whatever you end up calling it, it's probably a good idea to document the API so folks can rely on their intellisense to figure out what it does.