Skip to content

A simple tool to interrogate a given archive file for its contents and embedded jars. This allows you to generate a catalog of contents and programmatically analyse this information.

License

pombredanne/jsnoop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsnoop

A simple tool to interrogate a given archive (jar,zip,tar etc) for its contents and embedded jars. This allows you to generate a catalog of contents and programmatically analyse this information.

This project makes use of the the pyrus package. (https://github.com/abn/pyrus).

Setup/Start development environment

The following creates a dev environment under the directory jsnoop.dev. You can change the name of this directory by editing the script provided.

git clone git@github.com:abn/jsnoop.git
cd jsnoop
source scripts/start-dev-env.sh

Installation for use

You can install this using easy_install or pip

easy_install http://github.com/abn/jsnoop/tarball/master#egg=jsnoop-0.0.1
pip http://github.com/abn/jsnoop/tarball/master#egg=jsnoop-0.0.1

NOTE: This is not a stable module yet, so I suggest using a virtualenv.

Examples

To use the provided examples you should either have jsnoop installed as a module or use the dev environment.

# fetch the virtual env
source scripts/start-dev-env.sh
# run the sample
python3 examples/process.py <input-file>

About

A simple tool to interrogate a given archive file for its contents and embedded jars. This allows you to generate a catalog of contents and programmatically analyse this information.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.6%
  • Shell 2.4%