python office2john.py secret_workbook.xlsx > hash.txt
: Most GitHub scripts can only remove sheet/workbook protection (which prevents editing). If the file is encrypted (requires a password just to open), these XML-stripping tools will not work.
For files that require a password just to open, GitHub hosts several brute-force utilities.
For (encrypted files), use:
A lightweight, open-source tool to or remove worksheet/workbook structure protection from Excel files (.xls, .xlsx, .xlsm). This tool helps you regain access to your own spreadsheets when you've forgotten the password.