Skip to content

pulipulichen/Colab-PDF-Protector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

Colab-PDF-Protector: 移除 PDF 保護限制的工具

This tool takes a protected PDF file as input with a known password and attempts to remove its restrictions, such as copying and printing, outputting an unrestricted PDF file. 輸入受保護的 PDF 檔案以及你知道的密碼,這個工具會嘗試移除 PDF 的保護限制,例如複製、列印等等,並輸出一個無保護限制的 PDF 檔案。

Online Tool

https://colab.research.google.com/github/pulipulichen/Colab-PDF-Protector/blob/main/Colab_PDF_Protector.ipynb

Example File

https://pulipulichen.github.io/Colab-PDF-Protector/example%20file/2023.02.12%20%E6%A8%A1%E5%9E%8B%E6%9E%B6%E6%A7%8B%E5%9C%96+FSB%E9%97%9C%E9%8D%B5%E5%AD%97%E6%8A%BD%E5%8F%96%20a.pdf

  • Open password: open_password
  • Edit password: edit_password

Key Techniques

  • qpdf: 處理PDF檔案內容和結構的函式庫。
  • Google Colab: 一個提供免費雲端運算資源的平台,可以執行 Linux 工具和 Python 程式碼。
  • Python: 用於檔案處理和控制qpdf函式庫。

Blog

https://blog.pulipuli.info/2025/06/unlocking-or-encrypting-pdf-files-colab-pdf-protector.html

Citation

Chen, Y.-T. (2025). Colab-PDF-Protector (Versions 20250110-0820) [Computer software]. Zenodo. https://doi.org/10.5281/ZENODO.14619845