This is a small ransomware script written in python.
Okay, so, voldemort.py encrypts the files located in same directory whereas harry.py decrypts them.
- run voldemort.py in terminal using
python .\voldemort.py
- you'll be asked if you're sure. type "y" (without the quotes)
you'll get a confirmation message.
and... that's it
- run harry.py in terminal using
python .\harry.py
- Enter password: "coffee"
you'll get a conformation message.
and... that's it
Password: "coffee" (it'll ask for password if harry.py is run)
- install cryptography package (from cryptography.fernet import Fernet)
- also os is also imported fyi
-
I might try changing the code to decrypt files from a different folder but for now the files are as is.
The above objective was achieved
Finally, comments are overly described. So, have fun :)
Credits to NetworkChuck