Dear mtc3 members
The given Python code runs well under Python 3.
If using Python 2.7 each of the calls :
a. python RansomKaskade.py -e -i plain.txt -k randomkey –o encrypted.enc
b. python RansomKaskade.py -d -i encrypted.enc -k randomkey –o revealed.txt
c. python RansomKaskade.py -r –k randomkey
produces this error message:
Traceback [HTML_REMOVED]:
File “RansomKaskade.py”, line 165, in [HTML_REMOVED]
Main[HTML_REMOVED]
File RansomKaskade.py”, line 142, in main
fin = ‘’.join([chr(x) for x in fin])
TypeError: an integer is required
Information for the ones who still MUST use Python 2:
This can be fixed by editing line 142 in file RansomKaskade.py:
fin = ‘’.join([chr(x) for x in fin])
–>
fin = ‘’.join( x for x in fin)
Best Regards
George Theofanidis