31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
|
# <- This is a comment. Anything on a line after this character
|
||
|
# will be ignored.
|
||
|
#
|
||
|
# Configuration format is like this:
|
||
|
#
|
||
|
# filename ext start end skip-min skip-max options
|
||
|
#
|
||
|
# Where the individual options are:
|
||
|
# filename: The filename, without the extension. For example,
|
||
|
# "COMMAND.COM" would be referred to as COMMAND here.
|
||
|
# Case-insensitive, set to * to match any.
|
||
|
# ext: The file extension. Using the above example, this
|
||
|
# would be COM. Also accepts the * wildcard.
|
||
|
# start: The byte offset to start corrupting at.
|
||
|
# end: The byte offset to stop corrupting at. If set to 0, the
|
||
|
# corruption will continue until the end of the file.
|
||
|
# skip-min: Minimum bytes to skip between each corruption.
|
||
|
# skip-max: Maximum bytes to skip between each corruption.
|
||
|
# options: Comma-delimited list of the following:
|
||
|
# shr=X: Shift bytes right X times
|
||
|
# shl=X: Shift bytes left X times
|
||
|
# add=X: Add X to bytes
|
||
|
# xor=X: Bitwise XOR to bytes
|
||
|
#
|
||
|
# skip-min and skip-max are used as bounds for the actual random amount
|
||
|
# of bytes skipped each iteration.
|
||
|
#
|
||
|
# Some examples of possible configuration values are below:
|
||
|
* exe 200 0 500 700 xor=50,add=10
|
||
|
* dat 100 0 200 250 shr=3
|