ncorbuk / Python-Ransomware

Python Ransomware Tutorial - YouTube tutorial explaining code + showcasing the ransomware with victim/target roles
MIT License
493 stars 142 forks source link

decryptingfile #8

Open FeelsBadMan1 opened 3 years ago

FeelsBadMan1 commented 3 years ago

Hello, i tried the ranspmware on my own pc with a specific path but if i try to rn the decrypting file it giv eout this issure:

C:\Users\Administrator\Desktop\Python-Ransomware-master>C:\Users\Administrator\Desktop\Python-Ransomware-master\Decrypt_fernet_key.py
Traceback (most recent call last):
  File "C:\Users\Administrator\Desktop\Python-Ransomware-master\Decrypt_fernet_key.py", line 6, in <module>
    with open('EMAIL_ME.txt', 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'EMAIL_ME.txt'

C:\Users\Administrator\Desktop\Python-Ransomware-master>

The EMAIL_ME file is created on the desktop so im not sure what to do.

anthonyzutter commented 3 years ago

You have to put the file in the same directory or change the code so it will open the file in the Desktop

yashmodi17 commented 2 years ago

You have to put the file in the same directory or change the code so it will open the file in the Desktop

Its not working bro can you please help me?

yashmodi17 commented 2 years ago

Traceback (most recent call last): File "Ransomware.py", line 250, in main() File "Ransomware.py", line 232, in main rw.encrypt_fernet_key() File "Ransomware.py", line 84, in encrypt_fernet_key with open(f'{self.sysRoot}Desktop/EMAIL_ME.txt', 'wb') as fa: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\AdminDesktop/EMAIL_ME.txt' Screenshot (24)

FeelsBadMan1 commented 2 years ago

This error means that yo dont got a EMAIL_ME.txt onto your desktop

yashmodi17 commented 2 years ago

This error means that yo dont got a EMAIL_ME.txt onto your desktop

No i got a EMAIL_TXT file but nothing is written in it after running ransomware

Potato-git13 commented 2 years ago

This error means that yo dont got a EMAIL_ME.txt onto your desktop

No i got a EMAIL_TXT file but nothing is written in it after running ransomware

The path would need to be C:\Users\Admin\Desktop\EMAIL_ME.txt