Skip to main content

Tool for recursively decompressing nested archives using multiple algorithms (bzip2, rar, lzma, ...)

Project description

PyPi Python Versions Platform Known Vulnerabilities Requirements Status License

Table of Contents

Introduction

This tool relies on Tinyscript and allows to recursively decompress nested archives according to various decompression algorithms.

Installation

$ sudo pip install recursive-decompressor

Behind a proxy ?

Do not forget to add option --proxy=http://[user]:[pwd]@[host]:[port] to your pip command.

Quick Start

Help

$ recursive-decompressor --help
usage: recursive-decompressor [-d] [-k N] [-h] [-v] archive

RecursiveDecompressor v1.6
Author   : Alexandre D'Hondt
Copyright: © 2019 A. D'Hondt
License  : GNU Affero General Public License v3.0
Training : ZSIS CTF - Trivia - Shining (4 points)

This tool allows to recursively decompress an archive, using multiple Linux
 decompression tools. It currently supports the following tools:
- 7za
- arj
- bzip2
- gunzip
- lzma
- tar
- unrar
- unxz
- unzip

positional arguments:
  archive         input archive

optional arguments:
  -d              display last decompressed file in terminal (default: False)
  -k N, --keep N  keep the last N levels of archives (default: 1)

extra arguments:
  -h, --help      show this help message and exit
  -v, --verbose   verbose mode (default: False)

Usage examples:
  recursive-decompressor archive.zip
  recursive-decompressor archive.zip -d
  recursive-decompressor archive.zip -d -k 3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
recursive-decompressor-2.1.tar.gz (19.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page