Revenge CLI is a command-line tool for encrypting and decrypting files in a folder. It allows you to convert a folder into an encrypted binary file and vice versa.
- Encrypt a folder into a single binary file.
- Decrypt an encrypted binary file back into a folder.
- Split an encrypted binary file into chunks.
- Reveal binary chunks back into the original file.
- Generate and use a 256-bit AES encryption key.
- Python 3.x
- Clone the repository or download the script.
- Ensure you have Python 3.x installed on your system.
- Install any required dependencies (if any).
The following modes are available:
encrypt
: Convert a folder to an encrypted binary file.decrypt
: Convert an encrypted binary file back to a folder.split
: Split an encrypted binary file into chunks.reveal
: Join binary chunks back into the original file.
target
: Path to the target folder.output
: Path to the output folder.--key
: (Optional) Path to the encryption key file. If not provided, a new key will be generated and saved in the output directory.--metadata
: Path to metadata file.
Example:
python revenge/cli.py encrypt /path/to/folder /path/to/output --key /path/to/key --metadata /path/to/metadata
binary
: Path to the binary file.output
: Path to the output folder.--key
: Path to the encryption key file.--metadata
: Path to metadata file.
Example:
python revenge/cli.py decrypt /path/to/binary /path/to/output --key /path/to/key --metadata /path/to/metadata
binary
: Path to the encrypted binary file.output
: Path to the output folder.--chunk-size
: Size of each chunk in bytes. Defaults to 1MB.
Example:
python revenge/cli.py split /path/to/binary /path/to/output --chunk-size 1048576
chunks
: Path to the folder containing the binary chunks.output
: Path where the joined binary file will be saved.
Example:
python revenge/cli.py reveal /path/to/chunks /path/to/output
This project is licensed under the MIT License.
Contributions are welcome! Please feel free to submit a pull request or open an issue if you have any suggestions or improvements.