This program intentionally corrupts a unix stream at a specified error rate. It is for systematic analysis on the effects of data corruption. I wrote it to simulate bit-rot in file archives so I could test RAID and archive strategies for data recovery. A few short bash scripts are included so you can instantly enjoy text, image, audio, and video corruption. Just drop in your own data files called test.jpg, test.mp3, and test.mp4 and run the scripts.

Usage format is:

corrupt [OPTION]... [FILE]

where:

OPTIONS

-bit single bit error instead of byte substitution corruption
-B NUM_B number of bytes per a single corruption event
-kB NUM_KB number of kilobytes per a single corruption event
-MB NUM_MB number of megabytes per a single corruption event

-u uniform corruption instead of a random statistical event

-c CHAR substitute a constant CHAR instead of a random bit/byte error

Features

  • bit or byte level corruption
  • user defined error rate specified in B, kB, or MB
  • statistical or uniform error distribution

Project Activity

See All Activity >

Categories

File Managers

License

GNU General Public License version 3.0 (GPLv3)

Follow corrupt

corrupt Web Site

You Might Also Like
PRTG Network Monitor | Making the lives of sysadmins easier Icon
PRTG Network Monitor | Making the lives of sysadmins easier

Stay ahead of IT infrastructure issues

PRTG Network Monitor is an all-inclusive monitoring software solution developed by Paessler. Equipped with an easy-to-use, intuitive interface with a cutting-edge monitoring engine, PRTG Network Monitor optimizes connections and workloads as well as reduces operational costs by avoiding outages while saving time and controlling service level agreements (SLAs). The solution is packed with specialized monitoring features that include flexible alerting, cluster failover solution, distributed monitoring, in-depth reporting, maps and dashboards, and more.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of corrupt!

Additional Project Details

Operating Systems

Linux

Intended Audience

System Administrators, Developers

User Interface

Command-line

Programming Language

C

Related Categories

C File Managers

Registered

2016-11-21