Files
2026-04-27 13:34:48 +02:00
..
2026-04-27 13:34:48 +02:00
2026-04-27 13:34:48 +02:00
2026-04-27 13:34:48 +02:00

Scripts

This folder contains small Python utilities used by the techniques documented in the repository.

Scripts

  • get_wim_hash.py: Prints the GUID of a WIM file and the SHA-1 hash of a file stored inside one of its images. It uses wimlib-imagex dir, so wimlib-imagex must be available.
  • xor_file.py: Applies a repeating-key XOR operation to an input file and writes the result to an output file.

Usage

python3 get_wim_hash.py <wim_path> <image> <internal_path>
python xor_file.py <input.bin> <key> <output.bin>