Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

This script modifies the last four bits of an NTFS timestamp to hide information.

Project description

This script modifies the last four bits of an NTFS timestamp to hide information.
Data entered is encrypted with AES.

Installation

Get the latest version with pip install datemangler.

Notes about Dependencies

This program requires the xattr package to function which will only install
if the development files for libffi are installed. Use sudo apt-get install libffi-dev on Debian/Ubuntu before installing xattr or this package.
The datemangler package is a universal package that is compatible with both
python 2 and 3.

Usage example

# create test file system in a file
$ truncate --size 20M volume
$ mkfs.ntfs -F volume
$ mount volume test/

# create test files
$ for i in {0..100}; do touch $i; done

# write to a single file
$ datemangler -i "helo" write 0

# read again
$ datemangler read 0

# write more text to a directory of files
$ datemangler -i "hello world, how are you?" write .

# read again
$ datemangler read .

Notes

This script has been tested successfully on the following platforms:

  • Ubuntu 12.10 with kernel 3.5.0-18-generic x64 with ntfs-3g 2012.1.15AR.5 external FUSE 29
  • Debian testing with kernel 4.2.0-1-amd64 with ntfs-3g 2015.3.14AR.1 integrated FUSE 28

Note that the script must be run on files in an NTFS volume!

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
datemangler-0.2.2-py2.py3-none-any.whl (6.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page