Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djhohnstein/SharpSearch
Search files for extensions as well as text within.
https://github.com/djhohnstein/SharpSearch
Last synced: 21 days ago
JSON representation
Search files for extensions as well as text within.
- Host: GitHub
- URL: https://github.com/djhohnstein/SharpSearch
- Owner: djhohnstein
- Created: 2018-12-14T05:50:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-28T17:28:19.000Z (about 3 years ago)
- Last Synced: 2024-08-05T17:24:21.828Z (4 months ago)
- Language: C#
- Size: 23.4 KB
- Stars: 119
- Watchers: 6
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - djhohnstein/SharpSearch - Search files for extensions as well as text within. (C# #)
README
# SharpSearch
## Description
Project to quickly filter through a file share for targeted files for desired information.
## Usage
```
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""ext_filterlist - Specify file extension to filter for. e.g., ext_filterlist=.txt,.bat,.ps1
ext_blocklist - Specify file extension to ignore. e.g., ext_blocklist=.zip,.tar,.txt
searchterms - Specify a comma deliminated list of searchterms. e.g.searchterms=""foo, bar, asdf""
year - Filter files by year.
Examples:
Find all files that have the phrase ""password"" in them.
SharpSearch.exe path=""C:\\Users\\User\\My Documents\\"" searchterms=passwordFind all batch and powershell scripts in SYSVOL that were created in 2018 containing the word Administrator
SharpSearch.exe path=""\\\\DC01\\SYSVOL"" ext_filterlist=.ps1,.bat searchterms=Administrator year=2018
```## Examples
- 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.txt1 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.txt1 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.txt1 Files(s) 20.25 GB
Total Files Listed:
3 File(s) 21.64 GB
3 Dir(s)
```
## Special ThanksSpecial thanks to [@x3419](https://github.com/x3419) for creating SharperSearch which spurred the revamp to this project.