ByteBomber 1.2.2__py3-none-any.whl → 1.2.4__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.
bytebomber/__init__.py CHANGED
@@ -1 +1 @@
1
- from .__main__ import main
1
+ from .__main__ import build_zip_bomb
bytebomber/__main__.py CHANGED
@@ -29,7 +29,7 @@ def get_bytes(amount_str):
29
29
  except:
30
30
  raise ValueError("Format: <number> <unit>, e.g., 1 PB or 500 GB")
31
31
 
32
- def main():
32
+ def build_zip_bomb():
33
33
  target_input = input("Bomb decompressed size: ") or "500 GB"
34
34
  payload_input = input("Payload file size: ") or "1 MB"
35
35
  zip_name = input("Output zip name: ") or "bomb.zip"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ByteBomber
3
- Version: 1.2.2
3
+ Version: 1.2.4
4
4
  Summary: ZIP bomb generator (for educational purposes only)
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/luckalgorithm/ByteBomber
@@ -0,0 +1,8 @@
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,,
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ bytebomber = bytebomber.__main__:build_zip_bomb
@@ -1,8 +0,0 @@
1
- bytebomber/__init__.py,sha256=jIB_A21BGC5AzbHLPMvWIWXNiwGf0NZP3t0w2gmtitA,27
2
- bytebomber/__main__.py,sha256=tgsTZMMRAXE4lu17CIbLXBPT1Z2UwodqdHXz6vBVSzg,1947
3
- bytebomber-1.2.2.dist-info/licenses/LICENSE,sha256=D19NENd0v-XNzdKjvdphMBIdnY-aUcaok4q32x2G-jY,1070
4
- bytebomber-1.2.2.dist-info/METADATA,sha256=-KRE6ukqSQJWycof8Mb1_un5VOlV3jD0OzyxCVCiKSM,4072
5
- bytebomber-1.2.2.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
6
- bytebomber-1.2.2.dist-info/entry_points.txt,sha256=ujmBvN_aEG4BSrmzKlpsC9XNNB7goQ9m_ddUvKM9vnY,56
7
- bytebomber-1.2.2.dist-info/top_level.txt,sha256=bDtIXh70vdwT8VslZsHHLGkV7VBuZXxk0fzN0lWv4Y4,11
8
- bytebomber-1.2.2.dist-info/RECORD,,
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- bytebomber = bytebomber.__main__:main