Skip to content
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

Trufflehog scanning files its already scanned via folders when unstructured is enabled #1719

Closed
domwhewell-sage opened this issue Aug 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@domwhewell-sage
Copy link
Contributor

Describe the bug
I've lost the logs but unstructured has a function to unpack folders and re-raise them as files.
When testing it out using
bbot -t target -m github_org, git_clone, trufflehog, unstructured
trufflehog accepts the folders that are emited by git_clone and scans them using git as intended. But unstructured also accepts these folders and re-raises them as files which trufflehog also is scanning.

I could probably add a filter to the trufflehog module to keep a record of all the paths that have been scanned and if a new event is within the same path that has been scanned skip it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant