http://lilithlela.cyberguerrilla.org/?p=568

This blog intends to augment USP no. 3: The danger of metadata [digital footprints] (original here) for *nix distros:

There is a freeware program by the name of PDF Info (http://www.bureausoft.com/pdfinfo.exe) which lets you edit not only the aforementioned Title/Author/Subject/Keywords fields, but also the PDF Producer and Creator Application fields. It doesn’t, however, let you change the file creation and modification dates and times.

The PDF Toolkit(pdftk) claims to be that all-in-one solution. The closest thing to Adobe Acrobat for Linux.

You can download pdftk as source or as a Debian or RPM package, FreeBSD port, or Gentoo Ebuild. Binaries are available for Windows and Mac OS X too. If you decide to compile pdftk, check the build notesbefore you begin, in order to find out about any dependencies for your Linux distro or your platform.

I am lazy, I chose to install package. Installing the pdftk package on Ubuntu and Backtrack requires having "universe" enabled. Then:

$ sudo apt-get install pdftk

 

The following extra packages will be installed: gcj-4.4-base gcj-4.4-jre-lib libbcmail-java libbcmail-java-gcj libbcprov-java libgcj-bc libgcj-common libgcj10 libgnuinet-java libgnujaf-java libgnumail-java libitext-java libitext-java-gcj

After this operation, 66.5MB of additional disk space will be used.

Looking at the metadata

To look at the metadata that Adobe Reader does not show by default (replace 034045 with your pdf filename):

$ pdftk 034045.pdf dump_data

 

Altering the metadata

To alter the metadata first put the metadata in a file (replace 034045 with your pdf filename):

$ pdftk 034045.pdf dump_data output pdf-metadata

Open the pdf-metadata file and remove the data you wish scrubbed:

Save the pdf-metadata file. Now you can use that data to scrub the metadata from your file (replace 034045 with your pdf filename):

$ pdftk 034045.pdf update_info pdf-metadata output 034045-no-metadata.pdf

And check the result with:

$ pdftk 034045-no-metadata.pdf dump_data

 

And now the somewhat less elegant scrubbing on *nix

The creation date is gone and a new modification date has appeared. And the iText gives away the use of pdftk. These infokeys can be removed with sed:

sed -i 's/iText\ 2\.1\.7\ by\ 1T3XT//;s/D:20120409144213+02'\''00'\''//' 034045-no-metadata.pdf

 

The '\'' are for breaking out of the single quoted string thenescaping the single quote.

PdfID0 and PdfID1 are file identifiers. They are an md5 of various info about the file so that it has a unique string to identify the doc without having to use the filename. If you want to scrub those too, use sed as above. There's no geeky tricks needed for cleaning those two from the metadata with sed, it's pretty straightforward.

Views: 2259

"Destroying the New World Order"

TOP CONTENT THIS WEEK

THANK YOU FOR SUPPORTING THE SITE!

mobile page

12160.info/m

12160 Administrators

 

Latest Activity

tjdavis posted a blog post
2 hours ago
Doc Vega commented on Doc Vega's blog post US Navy UFO Cover-up Yes They still continue!
"cheeki kea, you're right, Great Britain invented the Harrier Jump Jet which the US Marines…"
7 hours ago
cheeki kea posted a video

The TRUE Story of a Government-Sponsored Alien Hoax | Fallen World Films | #ufo #uap #drones

**This video is a selected clip from the full-length film, "The Heavens and the Earth: The Final Card"*WATCH the Full Movie HERE!*The Heavens and the Earth: ...
14 hours ago
cheeki kea commented on Doc Vega's blog post US Navy UFO Cover-up Yes They still continue!
https://www.youtube.com/watch?v=HHStTN8z1MQ    <--jump jet link. An American…"
15 hours ago
cheeki kea commented on Doc Vega's blog post US Navy UFO Cover-up Yes They still continue!
"   I find it hard to seriously believe anything that the powers that be say or their…"
15 hours ago
cheeki kea commented on Doc Vega's blog post Too Brainwashed to Use Common Sense
"Mass psychosis Formation. Mass Formation in itself is not necessary a bad thing but 90% of it is…"
19 hours ago
Doc Vega posted blog posts
yesterday
tjdavis posted a video

Final Judgment Approaches: What the Noahide Laws Reveal

The Seven Noahide Laws, often seen as a precursor to a global system of judgment, stand in stark contrast to the teachings of the New Testament. Jesus Christ...
yesterday
tjdavis posted a blog post
Wednesday
tjdavis posted photos
Wednesday
Doc Vega posted a blog post

Too Brainwashed to Use Common Sense

You know that you have a society in a death grip when you can propose ridiculous intelligence…See More
Monday
Sandy posted photos
Monday
Sandy posted a video
Sunday
rlionhearted_3 posted photos
Saturday
cheeki kea commented on cheeki kea's photo
Thumbnail

Shocking.

" He really needs to clean up shop but it's probably too late. Die hard techo's have…"
Jan 24
cheeki kea commented on Sandy's photo
Thumbnail

Screenshot_20250111-011628

"AND Newsom puppet was Happy about it ! So much so he was jigging in delight just thinking about it.…"
Jan 24
cheeki kea posted photos
Jan 24
Doc Vega posted a blog post

Robot Reality: They Will Be Our Intimate Companions

 Here is the stark unrequited reality. In China alone there are 300 thousand more men than women…See More
Jan 24
Sandy posted a video

IT IS MA'AM! Full Transgender Freakout Video

Subscribe for more!Follow us on Instagram instagram.com/trumped.america
Jan 23
cheeki kea commented on cheeki kea's photo
Thumbnail

Blackout

"ps - Some Trump fans are concerned over these latest stunts but look how he gives the stage over to…"
Jan 23

© 2025   Created by truth.   Powered by

Badges  |  Report an Issue  |  Terms of Service

content and site copyright 12160.info 2007-2019 - all rights reserved. unless otherwise noted