Below is a quick script that will replace specified strings in binary files with random values. A word of caution: the script will preserve the file’s original ctime by briefly changing system time. Obviously, this requires root access and may cause issues with some applications. If this is not a feature you need, you can just comment out the time_set function on line 49.

Download and install the script:


This will (hopefully) replace strings jdoe1 and in the two binary log files

The script: