find_files

Find potentially sensitive files

This script searchs for potentially sensitive files based off of file name or string contained in the file. If no arguments are passed the script will search thru a small list of default files and strings.

The script can search for a single file name, a list of file names, or a string. The script will serch recursivley thru the current directory or another directory path can be passed to start the recursive search from

Usage: python3 findfiles.py python3 findfiles.py -n python3 findfiles.py -f python3 findfiles.py -s python3 findfiles.py -p python3 findfiles.py

image

python3 findfiles.py -p / -n passwd

image

python3 findfiles -f search.txt

image

python3 findfiles.py -s ‘wp-config’

image

GitHub

View Github