{"id":19123759,"url":"https://github.com/cwithmichael/breakzip","last_synced_at":"2025-05-05T18:47:12.495Z","repository":{"id":47485774,"uuid":"255458287","full_name":"cwithmichael/breakzip","owner":"cwithmichael","description":"BruteForce PKZip/ZipCrypto breaker","archived":false,"fork":false,"pushed_at":"2021-08-30T00:27:06.000Z","size":689,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T11:09:10.551Z","etag":null,"topics":["bruteforce","bruteforce-password-cracker","encryption","pkzip","python","zip","zipcrypto"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cwithmichael.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-13T22:51:06.000Z","updated_at":"2025-02-20T04:58:47.000Z","dependencies_parsed_at":"2022-09-03T02:41:45.697Z","dependency_job_id":null,"html_url":"https://github.com/cwithmichael/breakzip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fbreakzip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fbreakzip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fbreakzip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fbreakzip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cwithmichael","download_url":"https://codeload.github.com/cwithmichael/breakzip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252555973,"owners_count":21767267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bruteforce","bruteforce-password-cracker","encryption","pkzip","python","zip","zipcrypto"],"created_at":"2024-11-09T05:27:04.179Z","updated_at":"2025-05-05T18:47:12.462Z","avatar_url":"https://github.com/cwithmichael.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BreakZip\n\n[![GitHub Actions](https://github.com/cwithmichael/breakzip/actions/workflows/github-actions.yml/badge.svg)](https://github.com/cwithmichael/breakzip/actions/workflows/github-actions.yml)\n\n## Motivation\n\nThis program was created for a very specfic problem I had. I had a large encrypted zip file that I lost/forgot the password for. Using traditional bruteforce methods resulted in a lot of false positives.\n\nThis program hopes to minimize false positives. It works by actually checking to see if a given file type exists in the 'plaintext' after attempting a guess password.\nMore info about Python's ZipFile lib can be found here:\nhttps://docs.python.org/3/library/zipfile.html#zipfile.ZipFile.open\n\n## Requirements\n\nPython \u003e= 3.9\n\n## Installation Instructions (Recommended)\n\nMake sure you have [Pipenv installed](https://pipenv.pypa.io/en/latest/#install-pipenv-today)\n\nInstall the requirements and start a pipenv shell\n\n`pipenv install`\n\n`pipenv shell`\n\n## Running Tests (Pipenv)\n\nIf you want to run the tests, then you'll have to install `pytest`\n\n`pipenv install -e \".[testing]\"`\n\n`pytest`\n\n## Installation Instructions (Without Pipenv)\n\nCreate a virtualenv and activate it\n\n`python3 -m venv venv`\n\n`source venv/bin/activate`\n\nRun install\n\n`python setup.py install`\n\n## Running Tests (Without Pipenv)\n\nIf you want to run the tests, then you'll have to install `pytest`\n\n`pip install -e \".[testing]\"`\n\n`pytest`\n\n## Usage\n\n### Noninteractive Mode (Default)\n\n`breakzip \u003czipfile_name\u003e \u003cknown_file_extension\u003e`\n\nLet's say we had an encrypted zip file named `cats.zip` with a jpg file in it.\nIn this example the password is `fun` and our wordlist contains `fun`.\n\n```bash\n$ breakzip cats.zip jpg \u003c wordlist\nFound it! -\u003e fun\n```\n\nWe can also use a password generator like JohnTheRipper to provide passwords.\n\n```bash\n$ ./JohnTheRipper/run/john --mask=fu?a -stdout | breakzip cats.zip jpg\nPress 'q' or Ctrl-C to abort, almost any other key for status\n95p 0:00:00:00 100.00% (2020-04-13 17:35) 1520p/s fu|\nFound it! -\u003e fun\n```\n\n### Interactive Mode\n\n```bash\n$ breakzip tests/cats.zip jpg -i\nEnter password: lol\nIncorrect Password. Try again.\nEnter password: fun\nFound it! -\u003e fun\n```\n\n## Important Notes\n\nSupports PKZip/ZipCrypto Encryption _only_\n\nOnly a limited number of file types are supported at the moment: zip, wmv/asf/wma, jpg, png, xml\n\nBut it's pretty easy to extend support for various file types.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwithmichael%2Fbreakzip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwithmichael%2Fbreakzip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwithmichael%2Fbreakzip/lists"}