Skip to main content

Forensic metadata analysis and secure file cleaning tool for CLI environments.

Project description

RATTLESCAN

Forensic metadata analysis and secure file cleaning tool for the command line.

A fast CLI tool to inspect, analyze, and clean file metadata. Works on Windows, macOS, and Linux.

Installation

pip install rattlescan

## With optional TUI (interactive menu): ##
pip install rattlescan[ui]

Usage

## Analyze a file ##
rattlescan photo.jpg

## Analyze and prompt for cleaning ##
rattlescan document.pdf --clean

## Analyze with custom output path ##
rattlescan image.png --clean --output cleaned_image.png

## Secure wipe (destructive!) ##
rattlescan sensitive.pdf --wipe -y

## Scan only, no interactive menu ##
rattlescan file.txt --no-interactive

## Check version ##
rattlescan --version

Features

  • Cryptographic hashes: MD5, SHA-1, SHA-256
  • File type detection: MIME type identification and extension validation
  • Entropy analysis: Detect encrypted or compressed content
  • EXIF extraction: GPS, camera info, timestamps from images
  • PDF metadata: Author, title, creation date, page count
  • Audio/video tags: ID3, duration, bitrate, sample rate
  • Metadata cleaning: Strip EXIF, PDF info, audio tags
  • Secure wipe: DOD 5220.22-M 3-pass overwrite

Dependencies

  • python-magic - File type detection
  • Pillow - Image/EXIF handling
  • PyPDF2 - PDF metadata
  • mutagen - Audio/video metadata
  • pytermgui (optional) - Enhanced interactive UI

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rattlescan-1.1.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rattlescan-1.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file rattlescan-1.1.0.tar.gz.

File metadata

  • Download URL: rattlescan-1.1.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for rattlescan-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c7e41fd80832cbe07effe37b085c73f9f7543d4c24c92e9cba3b03f8def75156
MD5 f24d41bd54d86ad97292575f02760007
BLAKE2b-256 72a9a5a7897cdbcd25e03f999fe2a498fac9b22468d909b702a8768fc90c3d27

See more details on using hashes here.

File details

Details for the file rattlescan-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: rattlescan-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for rattlescan-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d83d1a918ff06fb8b7d4092dd7aefa6e51ae34d813f57c1704831a67dce8243f
MD5 9020fd9f2613eddb76aac05023c6779a
BLAKE2b-256 b63b93a6e64c2af8c5987d80c2a03960b630775febbaf4e388670de88c189993

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page