Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/donno2048/zipbomb
Create zipbombs using python
https://github.com/donno2048/zipbomb
python zipbomb
Last synced: about 2 months ago
JSON representation
Create zipbombs using python
- Host: GitHub
- URL: https://github.com/donno2048/zipbomb
- Owner: donno2048
- License: mit
- Created: 2022-01-31T23:54:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-01T21:32:21.000Z (almost 2 years ago)
- Last Synced: 2024-07-11T13:27:39.185Z (2 months ago)
- Topics: python, zipbomb
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zipbomb
Create zipbombs using Python.
There is a C implementation [here](https://github.com/donno2048/czipbomb) and a Java one [here](https://github.com/donno2048/jzipbomb)
Based on [David Fifield's project](https://www.bamsoftware.com/hacks/zipbomb/)
## Installation
### From PyPI
```sh
pip3 install zipbomb
```### From GitHub
```sh
pip3 install git+https://github.com/donno2048/zipbomb
```## Usage
```sh
$ 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]```