This tool changes file hash by appending empty buffer after EOF.
npm install hash-changerbash
npm i hash-changer -g
`
$3
`
symant@stardust ~ > hc --help
Usage: index [options]
Options:
-v, --verbose log processing details
-i, --input input file path
-b, --byte appending empty byte length (default: "2")
-r, --remove remove empty bytes after EOF
-V, --version output the version number
-h, --help display help for command
`
Example to change file hash: hc -i
`bash
symant@stardust ~ > hc -i pic.jpg -v
Original MD5: 59e65b102d867c282a185e114a1dad5f
Last 20 bytes:
Appending null buffer:
Last 20 bytes:
Current MD5: 659d748a0eaeeb9425e46e5dcd58e7f5
``