Decrypter Module¶
Ultimate Decrypter, decrypt the given ciphertext by all known decoders. Evaluate each result and return the best result.
Usage
[-h] (-c CIPHERTEXT | -f FILENAME) [--version] [-s DECODER] [-cl] [-cw] [-cf FORMAT]
[-n NUMBER] [-v] [-o FILENAME]
Arguments¶
Positional Arguments¶
| -f Filename: |
|
|---|
or
| -c Ciphertext: |
|
|---|
Optional Arguments¶
| -h: |
|
||||||||
|---|---|---|---|---|---|---|---|---|---|
| –version: |
|
||||||||
| -d: |
|
||||||||
| -n Number: |
|
Note
If none from below is selected, the script uses all the evaluators together
| -cl: |
|
||||||
|---|---|---|---|---|---|---|---|
| -cw: |
|
||||||
| -cf Format: |
|
Important
If the CTF normal flag is omryCTF2020{XXXXXXXXXXXXXXX}
you need to enter: omryCTF2020{}
| -v: |
|
||||||
|---|---|---|---|---|---|---|---|
| -o Filename: |
|
Examples¶
Using code.txt file and use all evaluators:
>>> -f code.txtUsing code.txt file and use letter analysis evaluator:
>>> -f code.txt -clDecrypt string and use Base64 decoder:
>>> -c VGhpcyBpcyBhbiBleGFtcGxlIQ== -d base64
Important
When using -c flag, when the ciphertext has whitespaces in it, the argument should be written between quotation marks "
Decrypt string (with whitespaces in it) and use flag evaluator:
>>> -c "}wonK_tnoD_I{0202FTCyrmo galf ym si erehW" -cf omryCTF2020{}
Using code.txt file, return the top 5 results and save it in results.txt file :
>>> -f code.txt -n 5 -o results.txt