GithubHelp home page GithubHelp logo

haders's Introduction

HADERS Logo

HADERS

CLI app that generates zip bombs for you
HADERS [heɪ.di.ɑːr.es] - Hades + Rust

Usage

./haders <mode> <size> <out_zip_file>

./haders nested 10tb funny.zip

Modes

  • nested
  • flat

Size Units

  • GB - Giga Byte
  • TB - Tera Byte (1024 GB)
  • PB - Peta Byte (1024 TB)
  • EB - Exa Byte (1024 PB)

Requirements, when compiling yourself

  • Computer
  • Internet connection
  • Rust
  • cargo - Rust's package manager

What is it zip bomb?

A zip bomb is a malicious archive file designed to exploit compression algorithms to create a disproportionately large file when decompressed.

How nested zip bombs work?

It works by nesting multiple layers of compressed data within each other, taking advantage of the way compression algorithms work. When the file is extracted, the decompression process repeatedly expands the inner layers, consuming an excessive amount of system resources, often leading to system crashes or slowdowns. Zip bombs are typically used for malicious purposes, such as disrupting systems, overwhelming storage, or evading security measures.

How nested zip bombs are being created?

  1. Creates a dummy file of size (say 1 GB)
  2. Compresses dummy file to a zip (deflated)
  3. Makes n (say 10) copies of this zip file and adds these files to another zip archive
  4. Repeats step 3 x number of times
  5. Voila, zip bomb has been created

Author: Tymoteusz Hołubowicz

haders's People

Contributors

t-holubowicz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.