使用pdfcrack破解PDF密码

yum install pdfcrack 
或者 apt
-get install pdfcrack

暴力破解:

  • -n:密码最短多少个字符
  • -m:密码最长多少个字符
  • -c:使用的字符集
  • -f : 文件名
pdfcrack -f 文件名.pdf -n 3 -m 4 -c 0123456789
  • abcdefghijklmnopqrstuvwxyz
  • ABCDEFGHIJKLMNOPQRSTUVWXYZ
  • !@#$%^&*()_+-=`~,./;'[]<>?:"{}
  • 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ

使用字典破解:

实测字典方式破解,100W个密码一分钟之内全部跑完,效率极高,也有可能是我电脑配置比较好。

 

个别PDF识别出错时建议使用John the ripper破解:

下图为识别PDF出错效果:

这种情况建议使用John the ripper破解,就是速度慢了一些。

John the ripper使用方法见:https://www.cnblogs.com/AirCrk/p/12939305.html

posted @ 2020-05-22 19:35  AirCrk  阅读(1369)  评论(0编辑  收藏  举报