Skip to main content

A tool to manipulate ZIP file Central Directory encryption flags

Project description

ZIP-CEN-OP

ZIP-CEN-OP is a command-line tool for manipulating the encryption flags in ZIP file central directories. It allows you to add or remove encryption flags without actually encrypting or decrypting the contents, which can be useful for testing or working with systems that expect certain ZIP file characteristics.

Features

  • Add encryption flags to ZIP files (fake encryption)
  • Remove encryption flags from ZIP files (fake decryption)
  • Easy-to-use command-line interface

Installation

You can install ZIP-CEN-OP using pip:

pip install zip-cen-op

Usage

After installation, you can use the zipcenop command directly from your terminal:

zipcenop <option> <file>

Where:

  • <option> is either r (recover/remove encryption flag) or e (encrypt/add encryption flag)
  • <file> is the path to the ZIP file you want to manipulate

Examples

To add an encryption flag to a ZIP file:

zipcenop e path/to/your/file.zip

To remove an encryption flag from a ZIP file:

zipcenop r path/to/your/file.zip

Warning

This tool only manipulates the encryption flag in the ZIP file's central directory. It does not actually encrypt or decrypt the contents of the ZIP file. Use this tool responsibly and be aware of potential security implications.

Contributing

Contributions to ZIP-CEN-OP are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This tool is provided as-is, without any warranties. Always backup your files before using this or any other tool that modifies file structures.

Contact

If you have any questions or feedback, please open an issue on the GitHub repository.


Remember to replace "path/to/your/file.zip" with actual examples if you prefer, and to update any details that might be specific to your implementation or preferences.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zip_cen_op-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

zip_cen_op-0.1.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file zip_cen_op-0.1.1.tar.gz.

File metadata

  • Download URL: zip_cen_op-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for zip_cen_op-0.1.1.tar.gz
Algorithm Hash digest
SHA256 05a1b85b775aa658642f7ed8223ad4542ae017a7f67695034ea74a6a04967297
MD5 a22bce02e00895cd19df24c587902e7e
BLAKE2b-256 5bae56d3d572b731b14eb2d06d8083a23cb6501992897f52d2b8fc48fce5e02d

See more details on using hashes here.

File details

Details for the file zip_cen_op-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: zip_cen_op-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for zip_cen_op-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf38c94f50d6748e9f7afe70d12a1f5b72330e225651f0dfa8659c302e18247c
MD5 b6c09885d25a27f9f84dea445eb7ca1f
BLAKE2b-256 a4f9f34a4a78d7477e1dbd6aec42c8c4d855a66be2233b7b0032917794c9ef76

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page