Tuesday, August 4, 2009

Crack PDF

I downloaded a perl book to help me in a new project im working with. The book was seperated into a series of chapters (ch1.pdf, ch2.pdf, etc ...) which made searching a complete pain in the ass since i had to search each file individually.

The pdf files had security enabled to limit assembly, page extraction, etc.. so i found a neat little program PdfCrypt.

Since i didnt know what the password was i just used it with the optional empty password and voila! Open document.

C:\>pdfcrypt.exe ch1.pdf unlocked_ch1.pdf "" 11111111

I created a batch file to process all the pdf chapters and then i was able to construct them into one single file. A little bit of work will make my life easier for weeks to come.


1 comment:

rubypdf said...

thanks for your introduce, btw, if need onwer password(need password to open pdf), you can try pdfcrack
http://soft.rubypdf.com/softwares/pdfcrack, it can get the password, then use pdfcrypt to remove the password.