Skip to content

OpenSourceScannerCollective/regex-file-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

regex-file-search

Search in files for RegEx matches, producing findings as output per file.

Add configuration

Add a file to ./config/collection.json

tested against OWASP-VWAD

Install dependencies

npm install

Search files

There are a number of configuration options:

npm run search -- --help

usage: search [options]
--help                    : this message
--patterns                : (required) specify a file to load patterns from (javascript)
--inputDir='filePath'     : (required) specify a path to search for matches
--outputFile='filePath'   : specify a path to output results in a file
--perfMode                : disable performance mode
--summaryOnly             : do not include match data, only a summary

Example usage

npm run search -- --inputDir='./data/'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published