Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pdfresurrect(1) [debian man page]

PDFRESURRECT(1) 					      General Commands Manual						   PDFRESURRECT(1)

NAME
pdfresurrect - tool for extracting/scrubbing versioning data from PDF documents SYNOPSIS
pdfresurrect file.pdf [-w][-q][-s][-i] DESCRIPTION
This manual page documents briefly the pdfresurrect command. pdfresurrect is a tool for extracting/scrubbing versioning data from PDF documents. OPTIONS
A summary of options is included below. -w Write the PDF versions and summary to disk. -q Display only the number of versions contained in the PDF. -s Scrub the previous history data from the specified PDF. -i Display the creator information from the specified PDF. NOTES
The scrubbing feature (-s) should not be trusted for any serious security uses. After using this feature, please verify that it in fact zero'd all of the objects that were of concern (those objects that were to be zero'd). This tool relies on the application reading the pdfresurrect extracted versions to treat the last xref(cross-reference) table as the most recent in the document. This should typically be the case. The verbose output, which tries to deduce the PDF object type (e.g. stream, page), is not always accurate, and the object counts might not be 100% accurate. However, this should not prevent the extraction of the versions. This output is merely to provide a hint for the user as to what might be different between the documents. Object counts might appear off in linearized PDF documents. That is not truly the case, the reason for this is that each version of the PDF consists of the objects that compose the linear portion of the PDF plus all of the objects that compose the version in question. Sup- pose there is a linearized PDF with 59 objects in its linear portion, and suppose the PDF has a second version that consists of 21 objects. The total number of objects in "version 2" would be 59 + 21 or 80 objects. COPYRIGHT
pdfresurrect is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. pdfresurrect is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with pdfresurrect. If not, see <http://www.gnu.org/licenses/>. AUTHORS
pdfresurrect was originally written by Matt Davis <mattdavis9@gmail.com>. The original man page and some additional configure and Makefile hackage was contributed by Francois Marier <francois@debian.org>. This manual page was originally written by Francois Marier <francois@debian.org>, for the Debian project (and may be used by others). This manual page has since been modified by Matt Davis. March 20, 2010 PDFRESURRECT(1)

Check Out this Related Man Page

CAM::PDF::Decrypt(3pm)					User Contributed Perl Documentation				    CAM::PDF::Decrypt(3pm)

NAME
CAM::PDF::Decrypt - PDF security helper LICENSE
See CAM::PDF. SYNOPSIS
use CAM::PDF; my $pdf = CAM::PDF->new($filename); DESCRIPTION
This class is used invisibly by CAM::PDF whenever it detects that a document is encrypted. See new(), getPrefs() and setPrefs() in that module. FUNCTIONS
$pkg->new($pdf, $ownerpass, $userpass, $prompt) Create and validate a new decryption object. If this fails, it will set $CAM::PDF::errstr and return undef. $prompt is a boolean that says whether the user should be prompted for a password on the command line. $self->decode_permissions($field) Given a binary encoded permissions string from a PDF document, return the four individual boolean fields as an array: print boolean modify boolean copy boolean add boolean $self->encode_permissions($print, $modify, $copy, $add) Given four booleans, pack them into a single field in the PDF style that decode_permissions can understand. Returns that scalar. $self->set_passwords($doc, $ownerpass, $userpass) $self->set_passwords($doc, $ownerpass, $userpass, $permissions) Change the PDF passwords to the specified values. When the PDF is output, it will be encrypted with the new passwords. PERMISSIONS is an optional scalar of the form that decode_permissions can understand. If not specified, the existing values will be retained. Note: we only support writing using encryption version 1, even though we can read encryption version 2 as well. $self->encrypt($doc, $string) Encrypt the scalar using the passwords previously specified. $self->decrypt($doc, $string) Decrypt the scalar using the passwords previously specified. AUTHOR
See CAM::PDF perl v5.14.2 2012-07-08 CAM::PDF::Decrypt(3pm)
Man Page