donno2048 / zipbomb

Create zipbombs using python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zipbomb

Create zipbombs using Python.

There is a C implementation here and a Java one here

Based on David Fifield's project

Installation

From PyPI

pip3 install zipbomb

From GitHub

pip3 install git+https://github.com/donno2048/zipbomb

Usage

$ zipbomb -h
usage: zipbomb [-h] [-o OUTPUT] [-n NUM_FILES] [-s COMPRESSED_SIZE]

Create a zip bomb

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        output file [default: bomb.zip]
  -n NUM_FILES, --num-files NUM_FILES
                        number of files in the zip [default: 100]
  -s COMPRESSED_SIZE, --compressed-size COMPRESSED_SIZE
                        compressed size of each file (in Kb) [default: 1000]

About

Create zipbombs using python

License:MIT License


Languages

Language:Python 100.0%