{"id":27770732,"url":"https://github.com/krwclassic/wfeb","last_synced_at":"2025-04-29T21:15:31.372Z","repository":{"id":289746740,"uuid":"972265075","full_name":"KRWCLASSIC/wfeb","owner":"KRWCLASSIC","description":"Tool for removing edit restrictions for Microsoft Word .docx files.","archived":false,"fork":false,"pushed_at":"2025-04-24T20:07:07.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-29T21:15:30.650Z","etag":null,"topics":["bypass","cli","docx","edit","editing","file","microsoft","package","password","pip","protection","python","tool","wfeb","word"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KRWCLASSIC.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-24T19:47:24.000Z","updated_at":"2025-04-24T20:10:42.000Z","dependencies_parsed_at":"2025-04-24T21:34:35.740Z","dependency_job_id":null,"html_url":"https://github.com/KRWCLASSIC/wfeb","commit_stats":null,"previous_names":["krwclassic/wfeb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRWCLASSIC%2Fwfeb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRWCLASSIC%2Fwfeb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRWCLASSIC%2Fwfeb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRWCLASSIC%2Fwfeb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KRWCLASSIC","download_url":"https://codeload.github.com/KRWCLASSIC/wfeb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251582942,"owners_count":21612747,"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":["bypass","cli","docx","edit","editing","file","microsoft","package","password","pip","protection","python","tool","wfeb","word"],"created_at":"2025-04-29T21:15:30.767Z","updated_at":"2025-04-29T21:15:31.366Z","avatar_url":"https://github.com/KRWCLASSIC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# (Microsoft) Word File Edit Bypass (WFEB) `1.0`\n\nA simple utility to remove edit protection from Microsoft Word documents (.docx).\n\n## What This Tool Does\n\n- **Removes document edit protection** by modifying the `settings.xml` file inside the Word document\n- **Disables tracking revisions** to prevent Word from tracking edits (Removes manual accepts)\n- **Creates backups** of original files before modification\n- **Works with .docx files** (modern Word format)\n\n## What This Tool Does NOT Do\n\n- **Does NOT remove password encryption** - if entire file is encrypted with a password, you still need the password to open it\n- **Does NOT change document content** - all text, formatting, and other content remains intact\n\n## How It Works\n\nThe tool:\n\n1. Creates a temporary directory\n2. Extracts the .docx file (which is a ZIP archive)\n3. Locates and modifies the settings.xml file to disable document protection and track changes\n4. Carefully repackages the document to preserve Word format compatibility\n5. Preserves a backup of the original file with .bak extension\n\n## Usage\n\n```bash\npython wfeb.py document.docx\n```\n\nOr if installed as a package:\n\n```bash\nwfeb document.docx\n```\n\n## Installation\n\n```bash\ngit clone https://github.com/KRWCLASSIC/wfeb.git\ncd wfeb\npip install -e .\n```\n\n\u003e Might be broken, I had too much issues with it, sorry.\n\n## Technical Details\n\nWhen a Word document is protected for editing, it has specific settings in the `settings.xml` file:\n\n- The `documentProtection` element with `enforcement=\"1\"` indicates protection is enabled\n- The script changes this to `enforcement=\"0\"` and `edit=\"edit\"` to disable protection\n- The script also removes the `trackRevisions` element to prevent Word from telling user to manually accept changes\n\n## Requirements\n\n- Python 3.6 or higher\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrwclassic%2Fwfeb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrwclassic%2Fwfeb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrwclassic%2Fwfeb/lists"}