PDFuck is a tool to remove PDF editing password, which is used in CLI (command line) mode.
Before installing, please ensure that you have installed Python (>=3.0) and its matching version of pip, and then enter the following command at the command prompt:
pip install pdfuck
For example, if you want to remove the password from the PDF file which is located in example.pdf
, just enter the following command:
pdfuck example.pdf
The default path of the output file is example.fucked.pdf
.
If you want to specify the path of the output file manually, you can use the -o
parameter, for example:
pdfuck example.pdf -o target.pdf
Use the -p
parameter to manually specify the opening password, for example:
pdfuck example.pdf -p password
Thanks for the following open source projects. The completion of this project is inseparable from the code contributed by these authors.
pip install -r requirements.txt
python -m build
pip install --editable .