pdf-iconSome PDFs on the internet have a copy protection to make sure you cannot copy-paste any content from the PDF into a document you're writing. Defeating this protection is very easy as you will see in this post.

I will use a combination of Open Source tools to extract the content of a protected PDF..

 

 

 

 

This is how a protected PDF look like in Adobe Acrobat under File - Properties

 password.protected.pdf.copy.text 

You will need to obtain GhostScript

Ghostscript is an interpreter for the PostScript language and for PDF, and related software and documentation.

So run the self-extracting EXE from http://pages.cs.wisc.edu/~ghost/doc/GPL/gpl871.htm to install the engine

gs871w32.exe, GPL Ghostscript 8.71 for 32-bit Windows (the common variety).
gs871w64.exe, GPL Ghostscript 8.71 for 64-bit Windows (x86_64).

Now install the viewer from http://pages.cs.wisc.edu/~ghost/gsview/get49.htm 

gsv49w32.exe Win32 self extracting archive
gsv49w64.exe Win64 (x86_64) self extracting archive

password.protected.pdf.copy.gsview

Then start Gsview and Open the PDF, you can either convert it to PS (Postscript) and you’ll be able to edit it like any other document or under the menu  Edit - text extract you’ll be able to save the context in a Text file. Enjoy :-)

comments powered by Disqus

You might like also

Raspberry Pi 2 Modèle B 1GB
Just got my order of three Raspberry Pi 2!. Compared to the Raspberry Pi 1 it has: A 900MHz quad-core ARM Cortex-A7 CPU 1GB RAM Like the (Pi 1) Model B+, it also has: 4 USB ports 40 GPIO pins Full HDMI port Ethernet port Combined 3.5mm audio jack and composite video Camera interface (CSI) Display interface (DSI) Micro SD card slot VideoCore IV 3D graphics core Because it has an ARMv7 processor, it can run the full range of …
1625 Days ago
Old Philips Webcam under Windows Vista/ Windows 7
In this post, I will show you how to bring an old webcam of 2000 back to life for the latest iterations of Windows Vista/Seven by injecting the firmware of another webcam into it. Philips Webcam ToUcam Pro - PCVC740K Year 2000 Philips Webcam SPC900NC VGA CCD with Pixel Plus Year 2008 If you read the Philips Support FAQ Where are the Vista drivers for this webcam? Does this webcam support Vista 64-bit? You will end up with this laconic …
3412 Days ago
Hack a Dell Mini 9 to be able to run OS X
There are a lot of netbooks on which you can install and run OS X, but if you're mindful of the handy comparison chart those lads at Boing Boing Gadgets have compiled, you'll know that the Mini 9 is about as ideal a platform as you'll find for a Hackintosh ultraportable: Everything from wi-fi, sound and the function keys down to the optional integrated mobile broadband card and the SD card reader are supported and work as they should. No …
3802 Days ago
No Thumbnail was found
Hack into a Windows PC - no password needed A security consultant based in New Zealand has released a tool that can unlock Windows computers in seconds without the need for a password. Adam Boileau first demonstrated the hack, which affects Windows XP computers but has not yet been tested with Windows Vista, at a security conference in Sydney in 2006, but Microsoft has yet to develop a fix. Interviewed in ITRadio's Risky Business podcast, Boileau said the tool, released …
4156 Days ago
No Thumbnail was found
Another scary news ...even If you are behind a firewall, it is possible to fingerprint (identifying) Your computer...yes we may be not alone :-)The technique works by "exploiting small, microscopic deviations in device hardware: clock skews." In practice, Kohno's paper says, his techniques "exploit the fact that most modern TCP stacks implement the TCP timestamps option from RFC 1323 whereby, for performance purposes, each party in a TCP flow includes information about its perception of time in each outgoing packet. …
5249 Days ago
People get smarter and things get faster! 2
Reverse engineering of the IPOD firmware by using a modem noise attack! I got an iPod for christmas. The ipodlinux project was one of the main reasons for my choice and so I started exploring the iPod as far as I was able to. I patched the bootloader and got some basic code to run but there was no way to access any hardware other than the two CPUs yet. To get the LCD, Clickwheel and the harddisk working we …
5249 Days ago
People get smarter and things get faster!
An example? edisoncarter from GTA Forums has wired the PS2 controller up to the PC's parallel port and has tried numerous combinations at high speed (this technique is known as BRUTE-FORCE: trying all possible combinaisons till expecting a result) just to find cheat code for the PS2 game GTA. When I told You that a lot more people are now smarter...Crazy? no! A problem has always a solution :-) …
5298 Days ago