"If you share, do it like a Ghost."
A minimalist Bash tool by DeadSwitch to strip all metadata and rename image files with cryptographically random names. No EXIF. No filename trace. No fingerprint. Just the image-nothing else.
- Removes all EXIF metadata from images
- Renames the file using a random hex string generated by
openssl
- Leaves no digital fingerprint (device, date, location, filename-all gone)
- Written in pure
bash
for Unix-like systems - One-liner usage for speed and stealth
bash
exiftool
openssl
file
(used for MIME type checking)
./ghost-image-cleaner.sh path/to/image.jpg
Output:
[+] Removing metadata from: image.jpg
[✓] Image anonymized -> 83af19d4e73c4a12.jpg
Privacy is not a luxury. It's survival.
- DeadSwitch | The Cyber Ghost
This tool was created to keep your image shares invisible to digital profiling. Use it before uploading images to forums, darknet sites, secure drops, or anywhere surveillance might lurk.
openssl rand -hex N
uses OpenSSL's CSPRNG, seeded properly via the system entropy source (/dev/urandom
) but with added internal mixing.
This ensures high entropy, resistance to poor seeding states, and avoids subtle shell parsing pitfalls.
- Cryptographically secure, platform-independent
- Produces clean hex with no fingerprints or time hints
- Safer and cleaner than piping raw
/dev/urandom
The script overwrites the original image with a sanitized and renamed version. Backup if needed.
Does not currently recurse through directories or process batches (future option).
Open-sourced under the MIT License.
Use freely. Modify ruthlessly. Share like a ghost.