Skip to content

Commit

Permalink
[dacledit.py] New example script for DACL manipulation (#1291)
Browse files Browse the repository at this point in the history
* Laying ground

* adding base for DACL parsing

* Read Write and Remove now work partially, GenericAll issue left to deal with

* Slightly improved printing and populated GUIDs

* Refactored some bits, read/write/remove fully functional

* Added backup and restore

* Add comments, improve logging and Exception handling corrections

* Typo error

* Improving restore logic

* Adding exception for read filtering

* Denied ACE now handled

* Fixed Kerberos authentication error.

* Fixing incomplete access mask parsing

* Fix principal & target arg descriptions

* Removing debug code

* Fixing and clarifying access masks and descriptions

* Clarifying debug message

* Description update of dacledit.py

* Fixing logic error that was overwriting files

* Fixed Logging Output

* Add the possibility to specify inheritance in the ACE flag

* Explicitly indicating flags instead of hardcoded value

* adding log: adminCount=1 will prevent ACE inheritance

* Changing ACE mask for WriteMembers as it's not an extended right

---------

Co-authored-by: BlWasp <[email protected]>
Co-authored-by: TahiTi <[email protected]>
Co-authored-by: synzack <[email protected]>
  • Loading branch information
4 people authored Apr 26, 2024
1 parent ea96b63 commit 65f4407
Show file tree
Hide file tree
Showing 2 changed files with 2,870 additions and 0 deletions.
Loading

0 comments on commit 65f4407

Please sign in to comment.