ByteBomber 1.2.4__py3-none-any.whl → 2.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ByteBomber
3
- Version: 1.2.4
3
+ Version: 2.1.0
4
4
  Summary: ZIP bomb generator (for educational purposes only)
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/luckalgorithm/ByteBomber
@@ -24,6 +24,14 @@ Dynamic: license-file
24
24
 
25
25
  ByteBomber is a tool for createing a ZIP bombs. A ZIP bomb is a highly compressed ZIP file that massively expands in size when extracted. ByteBomber is designed to demonstrate how compression algorithms (specifically ZIP's DEFLATE) can be used to exhaust system resources (disk space, RAM, or CPU), potentially crashing systems or causing instability.
26
26
 
27
+ ## Installation
28
+
29
+ To install ByteBomber, run the following command: `pip install bytebomber` (Alternatively, use `pip3` if necessary.)
30
+
31
+ Once installed, you can integrate ByteBomber into your own project by importing the `build_zip_bomb` function: `from bytebomber import build_zip_bomb`
32
+
33
+ You can then call `build_zip_bomb()` in your code to generate ZIP bombs.
34
+
27
35
  ## What ByteBomber Does
28
36
 
29
37
  1. Takes input for how big the uncompressed bomb should be.
@@ -61,17 +69,17 @@ When you run the script, you'll be prompted for the following:
61
69
 
62
70
  Use the format `<number> <unit>` when entering values (e.g., `500 GB`, `1 TB`).
63
71
 
64
- | Supported Unit | Size | Size In Bytes |
65
- |----------------|----------|----------------
66
- | B (byte) | 1 B | 1
67
- | KB (Kilobyte) | 1,024 B | 1,024
68
- | MB (Megabyte) | 1,024 KB | 1,048,576
69
- | GB (Gigabyte) | 1,024 MB | 1,073,741,824
70
- | TB (Terabyte) | 1,024 GB | 1,099,511,627,776
71
- | PB (Petabyte) | 1,024 TB | 1,125,899,906,842,624
72
- | EB (Exabyte) | 1,024 PB | 1,152,921,504,606,846,976
73
- | ZB (Zettabyte) | 1,024 EB | 1,180,591,620,717,411,303,424
74
- | YB (Yottabyte) | 1,024 ZB | 1,208,925,819,614,629,174,706,176
72
+ | Supported Unit | Size | Size In Bytes |
73
+ | -------------- | -------- | --------------------------------- |
74
+ | B (byte) | 1 B | 1 |
75
+ | KB (Kilobyte) | 1,024 B | 1,024 |
76
+ | MB (Megabyte) | 1,024 KB | 1,048,576 |
77
+ | GB (Gigabyte) | 1,024 MB | 1,073,741,824 |
78
+ | TB (Terabyte) | 1,024 GB | 1,099,511,627,776 |
79
+ | PB (Petabyte) | 1,024 TB | 1,125,899,906,842,624 |
80
+ | EB (Exabyte) | 1,024 PB | 1,152,921,504,606,846,976 |
81
+ | ZB (Zettabyte) | 1,024 EB | 1,180,591,620,717,411,303,424 |
82
+ | YB (Yottabyte) | 1,024 ZB | 1,208,925,819,614,629,174,706,176 |
75
83
 
76
84
  > [!NOTE]
77
85
  > For most purposes, GB or TB ranges are more than sufficient to stress a system. PB, EB, ZB, and YB represent astronomical data sizes far beyond what typical systems can handle.
@@ -105,5 +113,4 @@ Inside the ZIP there are tens of thousands to millions of identical files like:
105
113
 
106
114
  All filled with null bytes. The compression algorithm detects repetition and compresses it heavily.
107
115
 
108
- > [!WARNING]
109
- > **ByteBomber is for educational purposes only. Do not deploy ZIP bombs on systems you do not own or have permission to test. Misuse can result in data loss or system damage.**
116
+ > [!WARNING] > **ByteBomber is for educational purposes only. Do not deploy ZIP bombs on systems you do not own or have permission to test. Misuse can result in data loss or system damage.**
@@ -0,0 +1,8 @@
1
+ bytebomber/__init__.py,sha256=ry7B_o4gtFbUp_z8D3UsaoB0yO26eiUN9YDfk67ui2E,36
2
+ bytebomber/__main__.py,sha256=cIXzaHdjOhfHiD7Uq49t1-yzCVuRrZCnnBl2Nygw5cE,1957
3
+ bytebomber-2.1.0.dist-info/licenses/LICENSE,sha256=D19NENd0v-XNzdKjvdphMBIdnY-aUcaok4q32x2G-jY,1070
4
+ bytebomber-2.1.0.dist-info/METADATA,sha256=QlMMHKnoREwAcxnebhINFPr0pAon01btN3yk4uJvD8U,4657
5
+ bytebomber-2.1.0.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
6
+ bytebomber-2.1.0.dist-info/entry_points.txt,sha256=v7HnIUxttlBwYp_xC0K0YpXrEzIbEybt6tmbPjj8pKg,66
7
+ bytebomber-2.1.0.dist-info/top_level.txt,sha256=bDtIXh70vdwT8VslZsHHLGkV7VBuZXxk0fzN0lWv4Y4,11
8
+ bytebomber-2.1.0.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- bytebomber/__init__.py,sha256=ry7B_o4gtFbUp_z8D3UsaoB0yO26eiUN9YDfk67ui2E,36
2
- bytebomber/__main__.py,sha256=cIXzaHdjOhfHiD7Uq49t1-yzCVuRrZCnnBl2Nygw5cE,1957
3
- bytebomber-1.2.4.dist-info/licenses/LICENSE,sha256=D19NENd0v-XNzdKjvdphMBIdnY-aUcaok4q32x2G-jY,1070
4
- bytebomber-1.2.4.dist-info/METADATA,sha256=1EX4U6LnMN3F2Jz8eud8HhLUQG0Xm7Lra0y0TGrYe1o,4072
5
- bytebomber-1.2.4.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
6
- bytebomber-1.2.4.dist-info/entry_points.txt,sha256=v7HnIUxttlBwYp_xC0K0YpXrEzIbEybt6tmbPjj8pKg,66
7
- bytebomber-1.2.4.dist-info/top_level.txt,sha256=bDtIXh70vdwT8VslZsHHLGkV7VBuZXxk0fzN0lWv4Y4,11
8
- bytebomber-1.2.4.dist-info/RECORD,,