Tor Tutorial

Removing File Metadata Before Serving Over Tor

Files served from your .onion site can leak metadata that deanonymises you - JPEG EXIF GPS, PDF author fields, Word document save paths. This guide covers automated metadata stripping with exiftool, mat2 and ghostscript, integrated into your upload pipeline.

Need this done for your project?

We implement, you ship. Async, documented, done in days.

Start a Brief

Tools

exiftool - EXIF and other image metadata. mat2 - polyglot stripper for images, PDFs, audio, video. ghostscript - clean PDF rewrite. ffmpeg - audio/video metadata.

Upload Pipeline

On upload, fork a cleaning job: detect file type, run appropriate stripper, replace original. nginx serves only the cleaned version.

Image Specifics

JPEG EXIF often includes GPS, camera make/model and timestamp. PNG includes tEXt chunks. WebP has both. Strip all of them.

Why It Matters

A single tourist photo can reveal your home GPS. Strip before publish. See Tor hosting, Tor nginx.

Privacy & anti-censorship guides

Why Anubiz Host

100% async — no calls, no meetings
Delivered in days, not weeks
Full documentation included
Production-grade from day one
Security-first approach
Post-delivery support included

Ready to get started?

Skip the research. Tell us what you need, and we'll scope it, implement it, and hand it back — fully documented and production-ready.

Anubiz Chat AI

Online
Tor Metadata Removal - Guide | AnubizHost