Created
August 30, 2018 03:52
-
-
Save tarcisio-marinho/db00dd23f646d59aa027f60a4ef0649d to your computer and use it in GitHub Desktop.
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
# some encrypted keys | |
encrypted_client_private_key = "" | |
encrypted_AES_keys = "" | |
# when the victim pay the ransom | |
# get Cpriv.key back | |
client_private_key = request_server_decrypt_client_private_key(encrypted_client_private_key) | |
# decrypt aes_keys with Cpriv.key | |
aes_keys = decrypt_aes_keys(encrypted_AES_keys, client_private_key) | |
# get files back | |
# decrypting the victim files | |
decrypt_files(aes_keys) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment