File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ Options:
4343 -f --filter-output filter outputs based on the charset
4444 -t CHARSET --text-charset=CHARSET target text character set [default: printable]
4545 -p PLAIN --known-plaintext=PLAIN use known plaintext for decoding
46+ -r PERCENT, --threshold=PERCENT threshold validity percentage [default: 95]
4647 -h --help show this help
4748
4849Notes:
@@ -61,6 +62,7 @@ Examples:
6162 xortool -x -c ' ' file.hex
6263 xortool -b -f -l 23 -t base64 message.enc
6364 xortool -b -p "xctf{" message.enc
65+ xortool -r 80 -p "flag{" -c ' ' message.enc
6466```
6567
6668Example 1
Original file line number Diff line number Diff line change 4141 xortool -l 11 -c 20 file.bin
4242 xortool -x -c ' ' file.hex
4343 xortool -b -f -l 23 -t base64 message.enc
44+ xortool -r 80 -p "flag{{" -c ' ' message.enc
4445"""
4546
4647from operator import itemgetter
4748import os
4849import string
4950import sys
5051
51- from xortool .args import (
52+ from xortools .args import (
5253 parse_parameters ,
5354 ArgError ,
54- )
55+ )
5556
5657from xortool .charset import CharsetError
5758from xortool .colors import (
You can’t perform that action at this time.
0 commit comments