XORSelection is a 010 Editor script I wrote some time ago, and it is included in the 010 Editor script repository. You provided it with an XOR key (ASCII or HEX), and then it will XOR-encode the file open in 010 Editor (or a selection of that file).
This new version brings options.
The input box of XORSelection can still be used to provide an ASCII key (e.g. Secret) or an HEX key (e.g. 0x536563726574), and the program will behave like before.
But if you provide no input and click OK, a second input box will be displayed, to input options (prior versions display an error message).
If you type h, you’ll get a simple help dialog, and then the program will terminate:
The options you can enter are r, l and/or s.
Use option r (reverse key) if the key has to be reversed before being used. Example: Secret -> terceS.
I introduced this option because I regularly need to use little-endian 4-byte XOR keys.
Use option l (literal key) if you need to use an ASCII key that starts with 0x (otherwise this key will be parsed as an HEX key).
Option s (shift) can be used to shift the key.
Here is an example to explain the shift option: assume the key is Secret, and that you want to decode a selection of an encrypted file. That selection will most likely not align with the key (e.g. the first byte of the selection was not encoded with the first byte of the key): lets assume you need to start decoding from the 3rd byte of the key: then you need a shift to the right of 2 positions, e.g. option s2. Remark that you can also shift to the left, then you use a negative integer, for example s-1.
XORSelection_V5_0.zip (https)
MD5: 0C2776C7E02235C4949A81AAEF079F66
SHA256: 4F82BC180264FC21802A43E2E5B078EDA7B24FC655815A37948317E8F043A5CA
Leave a Reply (comments are moderated)