Code Monkey home page Code Monkey logo

are-you-bombed's Introduction

are-you-bombed

A Golang application which can generate flat and nested zip bombs and serve them using Fiber HTTP web framework.

A zip bomb, also known as a decompression bomb or zip of death, is a malicious archive file designed to crash or render useless the program or system reading it. It is often employed to disable antivirus software, in order to create an opening for more traditional malware. -Wikipedia

Run Locally

Fork the project

Clone the project

  git clone https://github.com/<your-github-username>/are-you-bombed.git

Go to the project directory

  cd are-you-bombed

Usage/Examples

Generate flat zip bomb

  go run main.go generate flat <number of files>

Example

$ go run main.go generate flat 100

bomb file: bomb/flat/bomb-flat.zip 104 KB
Decompression size 100 MB
Total time elapsed: 508.3543ms milliseconds

Generate nested zip bomb

  go run main.go generate nested <depth>

Example

$ go run main.go generate nested 10

bomb file: bomb/nested/bomb-nested.zip 29 KB
Decompression size 1000000000 MB
Total time elapsed: 299.697ms milliseconds

Run the server

  go run main.go host

The zip bombs can be downloaded from

http://localhost: <PORT> /static/flat/bomb-flat.zip
http://localhost: <PORT> /static/nested/bomb-nested.zip

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

License

MIT

FOR EDUCATIONAL PURPOSE ONLY

are-you-bombed's People

Contributors

i-am-yuvi avatar jatan88 avatar minicb0 avatar santhosh17-dot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

are-you-bombed's Issues

Using of Fiber instead of Gin

Is your proposal related to a problem?

We're using gin as http webframework which has very low performance. We can see here.
Also the documentation of gin has very bad interface, new contributors will face difficulties in getting started with this project.

Describe the solution you'd like

I'ld like to suggest the use of Fiber which is very fast and has very low latency. The fiber can be easily understood by the new developers, also it has nice documentation. The composite benchmarks of fiber is far above than the gin framework.

Upgrade the README File

Hello @SANTHOSH17-DOT

Is your feature request related to a problem? Please describe.

Features that I want to add in README File

  • Contributors details
  • Project admin details
  • Add the contributing line with a guideline link so that everyone motivates by that.
  • Center heading for more attractive
  • adding the footer part in readme file

Describe the solution you'd like

  • Add new features

Kindly assign this issue to me under IWOC event with the label of MEDIUM level.
please assign asap

Hii

May I contribute to that

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.