peass-ng / PEASS-ng

PEASS - Privilege Escalation Awesome Scripts SUITE (with colors)
https://book.hacktricks.xyz
Other
15.34k stars 3k forks source link

Fix 'find possible conf files with passwords' in 9_interesting_files.sh #421

Closed gcorrall closed 2 months ago

gcorrall commented 2 months ago

Seems to be missing some '-o' (or) operators when finding files, so not all config files are found. The quotes should not be escaped for the first grep. Also fixes typo: should be looking for --encryption-provider-config, not --encriyption-provider-config.