Skip to content

Commit c113a0b

Browse files
+ add -p option in readme
1 parent 26c527c commit c113a0b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎README.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ xortool
2929
3030
Usage:
3131
xortool [-x] [-m MAX-LEN] [-f] [-t CHARSET] [FILE]
32-
xortool [-x] [-l LEN] [-c CHAR | -b | -o] [-f] [-t CHARSET] [FILE]
33-
xortool [-x] [-m MAX-LEN| -l LEN] [-c CHAR | -b | -o] [-f] [-t CHARSET] [FILE]
32+
xortool [-x] [-l LEN] [-c CHAR | -b | -o] [-f] [-t CHARSET] [-kp PLAIN] [FILE]
33+
xortool [-x] [-m MAX-LEN| -l LEN] [-c CHAR | -b | -o] [-f] [-t CHARSET] [-kp PLAIN] [FILE]
3434
xortool [-h | --help]
3535
xortool --version
3636
@@ -43,6 +43,7 @@ Options:
4343
-o --brute-printable same as -b but will only check printable chars
4444
-f --filter-output filter outputs based on the charset
4545
-t CHARSET --text-charset=CHARSET target text character set [default: printable]
46+
-p PLAIN --known-plaintext=PLAIN use known plaintext for decoding
4647
-h --help show this help
4748
4849
Notes:
@@ -60,6 +61,7 @@ Examples:
6061
xortool -l 11 -c 20 file.bin
6162
xortool -x -c ' ' file.hex
6263
xortool -b -f -l 23 -t base64 message.enc
64+
xortool -b -p "xctf{" message.enc
6365
```
6466

6567
Example 1

0 commit comments

Comments
 (0)