Created
February 26, 2019 17:25
-
-
Save sideangleside/c138cf4dd69a0a5f04a9b2efe0b7e05e to your computer and use it in GitHub Desktop.
Printing out the encrypted virt-who password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
else: | |
try: | |
self._values[decrypted_pass_key] = Password.decrypt(unhexlify(pwd)) | |
pw_file = open("/tmp/password.txt","w") | |
pw_file.write(Password.decrypt(unhexlify(pwd))) | |
except (TypeError, IndexError, UnicodeDecodeError): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment