1

I use Agent Ransack to grep entire directories. But it doesn't unzip JAR files before looking into them, is there any tool that does that?

Jader Dias
  • 16,236

1 Answers1

1

Try using unzip:

unzip -p your_file.jar | grep "your_search"

From the man page:

-p     extract files to pipe (stdout).  Nothing but the file data is sent to
       stdout, and the files are always extracted in binary format, just as
       they are stored (no conversions).
Steve
  • 511