To XOR two strings, $ python3 xor_decoder.py [string1] [string2]
The XOR result will be outputed to the terminal.
To XOR a string with a single character key, $ python3 xor_decoder.py [string] -s_key
The ciphered strings will be outputed to a file named "decoded_input.txt"
To XOR a file with a single character key, $ python3 xor_decoder.py [filename] -s_key -file
The ciphered strings will be output to a file named "decoded_file.txt"
dinotrooper / pen_test_toolkit Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License