- Moving from JDK 11 to JDK 22-24
- This program will be kept compatible with JDK 11 until it is no longer supported.
This program is compiled with IDEA from JetBrains, however this may also be built using:
- Please make sure that JDK is installed to generate the JAR file
.\build.ps1
- Please make sure that JDK is installed to generate the JAR file
- OpenJDK may also be used; if that is your preference
./build.sh
# Display help
$ java -jar jFind.jar --help
# Search for the hex pattern of a JAR file
$ java -jar jFind.jar --dir . --check-files --recursive --byte-pattern "50,4B,03,04"
# Search for email addresses using a regular expression
$ java -jar jFind.jar --dir ./node_modules --check-files --recursive --regex "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}"Usage: jfind [--dir <search_directory>] [--file <search_file>] [--check-files] [--recursive] [--byte-pattern <pattern>] [--regex <pattern>]
--regex <pattern>
Java Regular Expression to search with
--dir <search_directory>
Directory to be searched.
--file <search_file>
File to be searched.
--check-files
Check files for content matching EXPRESSION
--recursive
To recursively search directories.
--byte-pattern <pattern>
Byte pattern to search for in binary files (comma-separated hex values, e.g., 01,02,03).