Sick and tired of getting alerted on PowerShell and dir
commands? No more! This project searches for files with the desired extension, and if desired, searches them for a regex string.
Usage:
Arguments:
Required:
path - Path to search for files. Note: If using quoted paths, ensure you
escape backslashes properly.
Optional:
pattern - Type of files to search for, e.g. "*.txt" (Optional)
searchterm - Term to search for within files. (Optional)
Examples:
Find all files that have the phrase "password" in them.
SharpSearch.exe path:"C:\\Users\\User\\My Documents\\" searchterm:password
Search for all batch files on a remote share that contain the word "Administrator"
SharpSearch.exe path:\\server01\SYSVOL\domain\scripts\ pattern:*.bat searchTerm:Administrator
- Search for all text files in C:\Users\EXAMPLE\hashcat-4.2.1\wordlists
Directory of C:\Users\EXAMPLE\hashcat-4.2.1\wordlists
12/12/2018 12:00:00 AM 736.78 MB 899_have-i-been-pwned-v3--v2-excluded-_found_hash_plain.txt
1 Files(s) 736.78 MB
Directory of C:\Users\EXAMPLE\hashcat-4.2.1\wordlists\crackstation-human-only.txt
9/5/2010 12:00:00 AM 683.25 MB realhuman_phill.txt
1 Files(s) 683.25 MB
Directory of C:\Users\EXAMPLE\hashcat-4.2.1\wordlists\ProbWL-v2-Real-Passwords-7z\Top2Billion-probable-v2
2/16/2018 12:00:00 AM 20.25 GB Top2Billion-probable-v2.txt
1 Files(s) 20.25 GB
Total Files Listed:
3 File(s) 21.64 GB
3 Dir(s)