版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
AOPR
AOPR是ADVANCED OFFICEPASSWORD RECOVERY的缩写。这是一款市面上主流的office密码破解工具,可对95-2016版本的任何Office文档进行解密。
VBA
打开需要破解的工作簿——调出VB编辑器(Alt+F11)——粘贴下面这段代码——运行代码
对于office2007~2016
Sub PJ()Dim sht AsWorksheetFor Each sht InWorksheets sht.Protect AllowFiltering:=True sht.UnprotectNextEndSub
对于office97~2003
PublicSub AllInternalPasswords()' Breaks worksheet and workbook structure passwords. Bob McCormick' probably originator of base code algorithm modified for coverage' of workbook structure / windows passwords and for multiple passwords'' Norman Harker and JE McGimpsey 27-Dec-2002 (Version 1.1)' Modified 2003-Apr-04 by JEM: All msgs to constants, and' eliminate one Exit Sub (Version 1.1.1)' Reveals hashed passwords NOT original passwordsConst DBLSPACEAsString= vbNewLine& vbNewLine Const AUTHORSAsString= DBLSPACE& vbNewLine& _ "Adapted from Bob McCormick base code by"& _ "Norman Harker and JE McGimpsey"Const HEADERAsString="AllIn