- 3
- logging
- argparse
- pathlib
- subprocess
- time
- sys
ParaDecoder creates command lines by combining lists and executing the commands in parallel threads. The initial task was to test openssl decryption. Other taks/applications are possible. The Files have to contain one argument per line, e.g. ciphers or passwords.
$ python paradecoder.py [-h] [-b BRAKE] [-l LOGFILE] [-t THREADS] [-v] COMMAND
Command to execute, give replacement files in {}
Show this help message and exit
Exit criteria:
- 0 = exit code is 0 (default, in Version 0.1 this is the only method)
Set logfile
Number of threads (default: 1)
Set loglevel debug
$ python paradecoder.py -t 4 -v 'openssl {ciphers.txt} -d -pbkdf2 -in sample.enc -k {pw_list.txt}'
with files:
aes-128-cbc
aes-128-ecb
aes-192-cbc
aes-192-ecb
aes-256-cbc
aes-256-ecb
123456
verysafe
test
justwrong
$ python paradecoder.py -v -t 8 './matrixtest.sh {list_a.txt} {list_b.txt} {list_c.txt}'
$ python paradecoder.py -v './dummy.sh {nopw_list.txt}'