https://github.com/thecodesmith/unzip-recursive
Unzip .jar, .tgz and .zip files recursively
https://github.com/thecodesmith/unzip-recursive
log4j log4shell
Last synced: 6 months ago
JSON representation
Unzip .jar, .tgz and .zip files recursively
- Host: GitHub
- URL: https://github.com/thecodesmith/unzip-recursive
- Owner: thecodesmith
- License: mit
- Created: 2021-12-16T04:24:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-16T04:48:47.000Z (about 4 years ago)
- Last Synced: 2025-01-31T07:32:39.975Z (about 1 year ago)
- Topics: log4j, log4shell
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unzip Recursive
_Unzip .jar, .tgz and .zip files recursively_
## Usage
❯ ./unzip-recursive.py help
Usage:
unzip-recursive [files|directories]
Examples:
unzip-recursive .
unzip-recursive *.jar *.tar.gz
This extracts each archive file into a directory next to it named `.contents`.
Once extracted, this is useful for things like finding class files in arbitrarily nested jars:
unzip-recursive my-app.jar
find . -name JndiLookup.class
## Installation
There is a simple `Makefile` to install the script on macOS or Linux. Install by running:
make install
unzip-recursive help
Make sure `/usr/local/bin` is in your `$PATH`. Requires Python 2.