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

Fix 28_Files_with_passwords.sh #457

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

gcorrall
Copy link
Contributor

The second 'find' in 'Find possible files with passwords' is missing the '-exec' argument; so the find fails with 'unknown predicate `-HnRiIE' (which is sent to /dev/null).

In 'Find possible conf files with passwords' there are some missing '-o' (or) operators when finding files, so not all config files are found (e.g. json, yaml).

The quotes around the $f should not be escaped in the first grep - it won't handle paths with spaces or special characters correctly.

@carlospolop
Copy link
Collaborator

Thanks @gcorrall !

@carlospolop carlospolop merged commit 536913e into peass-ng:master Feb 2, 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.

2 participants