diff --git a/Build/Release/x64/repacls.exe b/Build/Release/x64/repacls.exe index f895482..79a0f58 100644 Binary files a/Build/Release/x64/repacls.exe and b/Build/Release/x64/repacls.exe differ diff --git a/Build/Release/x86/repacls.exe b/Build/Release/x86/repacls.exe index ff76e0d..972efb7 100644 Binary files a/Build/Release/x86/repacls.exe and b/Build/Release/x86/repacls.exe differ diff --git a/Build/Repacls.zip b/Build/Repacls.zip index 20aa579..070e4f6 100644 Binary files a/Build/Repacls.zip and b/Build/Repacls.zip differ diff --git a/OperationFindNullAcl.cpp b/OperationFindNullAcl.cpp index 0c051e8..06233aa 100644 --- a/OperationFindNullAcl.cpp +++ b/OperationFindNullAcl.cpp @@ -18,6 +18,6 @@ bool OperationFindNullAcl::ProcessAclAction(const WCHAR * const sSdPart, ObjectE InputOutput::AddInfo(L"Access control list is null", sSdPart); } - // report the + // report the acl has been updated return false; } diff --git a/OperationReplaceMap.cpp b/OperationReplaceMap.cpp index 6efb708..2e31f50 100644 --- a/OperationReplaceMap.cpp +++ b/OperationReplaceMap.cpp @@ -12,7 +12,7 @@ ClassFactory OperationReplaceMap::RegisteredFactory(GetComm OperationReplaceMap::OperationReplaceMap(std::queue & oArgList, const std::wstring & sCommand) : Operation(oArgList) { // exit if there are not enough arguments to parse - std::vector sSubArgs = ProcessAndCheckArgs(1, oArgList, L"\\0"); + std::vector sSubArgs = ProcessAndCheckArgs(1, oArgList, L"\\|"); // open the file std::wifstream fFile(sSubArgs.at(0).c_str()); @@ -65,6 +65,9 @@ OperationReplaceMap::OperationReplaceMap(std::queue & oArgList, co AppliesToSacl = true; AppliesToGroup = true; AppliesToOwner = true; + + // target certain parts of the security descriptor + if (sSubArgs.size() > 1) ProcessGranularTargetting(sSubArgs.at(1)); } SidActionResult OperationReplaceMap::DetermineSid(const WCHAR * const sSdPart, ObjectEntry & tObjectEntry, PSID const tCurrentSid, PSID & tResultantSid) diff --git a/Resource.rc b/Resource.rc index 543c585..3893fb6 100644 Binary files a/Resource.rc and b/Resource.rc differ