Skip to content

donno2048/czipbomb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

czipbomb

Zipbomb using C.

Inspired by my Python package zipbomb.

Compile

gcc -o zipbomb main.c

Without cloning

wget https://raw.githubusercontent.com/donno2048/czipbomb/master/main.c -O- | gcc -xc - -o zipbomb

Usage

./zipbomb -h # show help
./zipbomb name.zip number_of_files size_in_kilobytes # create a zipbomb
./zipbomb name.zip number_of_files # run with default size (1MB)
./zipbomb name.zip # run with default values (1000 files, 1MB)
./zipbomb # run with default argumets (output.zip, 1000 files, 1MB)