diff --git a/Build/Release/x64/repacls.exe b/Build/Release/x64/repacls.exe index 1f3a703..9a65d29 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 fbfca8f..adfabd6 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 810c9c4..1844206 100644 Binary files a/Build/Repacls.zip and b/Build/Repacls.zip differ diff --git a/ObjectFile.cpp b/ObjectFile.cpp index 3b2fa0a..a002885 100644 --- a/ObjectFile.cpp +++ b/ObjectFile.cpp @@ -154,17 +154,8 @@ void ObjectFile::GetChildObjects(ObjectEntry& oEntry) oSubEntry.Name += oEntry.Name + ((oEntry.Depth == 0 && oEntry.Name.back() == '\\') ? L"" : L"\\") + std::wstring(oInfo->FileName, oInfo->FileNameLength / sizeof(WCHAR)); - // if a leaf object, just process immediately and don't worry about putting it on the queue - if (!IsDirectory(oSubEntry.Attributes) || IsReparsePoint(oSubEntry.Attributes)) - { - // do security analysis - oProcessor.AnalyzeSecurity(oSubEntry); - InputOutput::WriteToScreen(); - } - else - { - oProcessor.GetQueue().Push(oSubEntry); - } + // add item to queue + oProcessor.GetQueue().Push(oSubEntry); // this loop is complete, exit if (oInfo->NextEntryOffset == 0) break; diff --git a/OperationHelp.cpp b/OperationHelp.cpp index e3f1d26..89da571 100644 --- a/OperationHelp.cpp +++ b/OperationHelp.cpp @@ -59,7 +59,7 @@ or end of your command as to not confuse them with ordered parameters. Specifies the input format of any path specified by /Path and other ways of providing paths. 'File' is the default if not specified. -/MaxDepths +/MaxDepth Specifies how deep the scan should go within the path. This default is to be fully recursive (infinite). Specifying 0 will only enumerate the root node. This does not limit the propogation of inheritable permissions diff --git a/Resource.rc b/Resource.rc index 38ea934..17172ed 100644 Binary files a/Resource.rc and b/Resource.rc differ