Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Compression to ZIP Files #231

Merged
merged 1 commit into from
Nov 18, 2022
Merged

Adding Compression to ZIP Files #231

merged 1 commit into from
Nov 18, 2022

Conversation

phutelmyer
Copy link
Contributor

@phutelmyer phutelmyer commented Nov 18, 2022

Describe the change
Updating the ZIP scanner to:

  • Allow for password extraction given a password in passwords.dat
  • Provide compression and file listing details per observed file

Describe testing procedures
Built and ran against 20+ Zip files and encrypted files.

Sample output

..
    "zip": {
      "compression_rate": 1.39,
      "elapsed": 0.020369,
      "files": [
        {
          "compression_rate": 1.39,
          "compression_size": 1205,
          "file_name": "base64.txt",
          "file_size": 1222
        }
      ],
      "total": {
        "extracted": 1,
        "files": 1
      }
...

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of and tested my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@phutelmyer phutelmyer merged commit 3cf08f6 into master Nov 18, 2022
@phutelmyer phutelmyer deleted the scan_zip_update branch December 30, 2022 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant