CrackedPolishedBlackstoneBricksMC / jargrep

Search inside jar files
3 stars 0 forks source link

jargrep

Search a collection of jar files.

For all files, searches filenames and file contents. For class files, searches field and method names, field values, and ldc constants.

Download

Go to the releases tab..

Compilation

./gradlew fat

The built fatjar will be in ./build/libs.

Installation

Usage

java -jar jargrep.jar [options] pattern [files...]?

See jargrep --help. The syntax is kinda similar to grep -e, although of course fewer things are supported.

If you don't specify any files, all jars/zips/classes in the current directory will be searched. (Might include jargrep itself!) The pattern is parsed as a standard java regex with Pattern.compile.