WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@p0rtL6
Copy link

@p0rtL6 p0rtL6 commented Apr 4, 2025

The changes here do the following:

  • Finish implementing the commented out system for finding permissions on files and directories
  • Replace and standardize all instances of permission checking to use the above code.
  • Add permission checking for directories (in result and logs).
  • (-g, --foldersonly) Add option to only scan folders (functions similar to only scan shares but still tree walks just does not check files)
  • (-w, --logeverything) Added option to log everything, currently this just makes the tree walker log every directory it scans even if it was not marked by a classifier for snaffling (this could be updated in the future to also log other stuff).

The changes here were specifically made so that if you combine the two new options you are able to simply scan shares and directories to list permissions without actually scanning any files, this might be useful in some situations.

p0rtL6 added 2 commits April 3, 2025 21:15
…g files, add option to log directories even if not marked for snaffling.
@p0rtL6 p0rtL6 mentioned this pull request Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant