• Stars
    star
    325
  • Rank 128,627 (Top 3 %)
  • Language
    Python
  • Created over 8 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple implementation of ZipBomb in Python

ZipBomb

This is for the people who watch Silicon Valley. In Season 3 Episode 7, Gilfoyle sends a sort of recursive program to Gavin Belson’s laptop and cellphone which forces him to shut down the power at Hooli. Watch here. Such a program is called a zip bomb.

ZipBomb

What it is basically is a huge file with dummy data compressed to many levels to generate a very small compressed file. For example in a test run, this script of mine generates a compressed file of size 30.58 KB which when decompressed is actually 10000000000 GB. This is done to drain out a computer’s memory until it shuts down. Read More on Wikipedia.

This is a small script written in Python which generates such a zip bomb.

Usage

zipbomb.py n_levels out_zip_file

Sample Run

python zipbomb.py 10 out.zip  

Output

Compressed File Size: 30.58 KB  
Size After Decompression: 10000000000 GB  
Generation Time: 10.40s

More Repositories

1

twitter-sentiment-analysis

Sentiment analysis on tweets using Naive Bayes, SVM, CNN, LSTM, etc.
Python
1,506
star
2

normalizing-flows

Understanding normalizing flows
Jupyter Notebook
133
star
3

prototypical-networks-tensorflow

Tensorflow implementation of NIPS 2017 Paper "Prototypical Networks for Few-shot Learning"
Jupyter Notebook
132
star
4

pyANPD

Automatic Number Plate Detection for Python using OpenCV
Python
66
star
5

sampling-methods-numpy

This repository contains implementations of some basic sampling methods in numpy.
Jupyter Notebook
63
star
6

langevin-monte-carlo

A simple pytorch implementation of Langevin Monte Carlo algorithms.
Jupyter Notebook
40
star
7

REDSDS

Pytorch implementation of RED-SDS (NeurIPS 2021).
Python
18
star
8

jcomplexnumber

A library which implements the complex number data type in Java.
Java
18
star
9

planar-flow-pytorch

Pytorch implementation of Planar Flow
Jupyter Notebook
18
star
10

Youtube-via-FB

A tool to control YouTube using Facebook messenger by browser automation using selenium.
Python
14
star
11

pyBlur

Soft Blurring in Python using OpenCV
Python
10
star
12

IWAE-tensorflow

Tensorflow implementation of Importance Weighted Auto Encoder
Python
5
star
13

fb-mosaic

Create a mosaic using profiles pictures from Facebook.
Python
4
star
14

SimulatedAnnealing-TSP

Simulated Annealing heuristic to solve the travelling salesman problem written in JavaScript.
JavaScript
4
star
15

blood-analysis-app

Android Source for GSoC '16 project Mobile Based Blood Analysis with Computational Biology @ UNL.
Java
4
star
16

JEvoLisa

Java reimplementation of Roger Alsing's EvoLisa
Java
3
star
17

capsule-networks-pytorch

PyTorch implementation of Capsule Networks
Python
2
star
18

subKmeans

Numpy and pyCUDA implementation of subKmeans
Python
1
star
19

learn-jax

Learning JAX as a PyTorch User
Jupyter Notebook
1
star
20

blood-analysis-app-ios

iOS Source for GSoC '17 project Mobile Based Blood Analysis-iOS with Computational Biology @ UNL.
Swift
1
star
21

learning2learn-pytorch

Jupyter Notebook
1
star
22

neural-ode

Jupyter Notebook
1
star
23

Blood-Analysis

TeX
1
star
24

vae-tensorflow

Variational Auto-Encoder based on DC-GAN-like architecture
Jupyter Notebook
1
star
25

disentanglement-metrics

A list of different disentanglement metrics proposed in literature.
1
star