Encripts files in /home/$USER/infection directory
Before running stockholm.py you need to install the following library:
- Cryptography
pip install cryptography
usage: stockholm.py [-h] [-r KEY] [-s] [-v]
Encripts files in /home/$USER/infection directory
optional arguments:
-h, --help show this help message and exit
-r KEY, --reverse KEY
Decript files in '/home/$USER/infection'. Key file must be specified as argument.
-s, --silent No output will be shown in terminal
el proceso
-v, --version Shows program version
- Stockholm.py only encripts files with extensions that Wanacry infected. Those extensions are included here.
- Encription key is save as "filekey.key" in the same directory as stockholm.py
- Encription and decription was made with fernet module from the criptography library.
- Show program help:
$ python3 stockholm.py -h
- Print program version:
$ python3 stockholm.py -v
- Encript files in '/home/$USER/infection' directory
$ python3 stockholm.py
- Decript files in '/home/$USER/infection' directory Desencripta los archivos de '/home/$USER/infection'
$ python3 stockholm.py -r filekey.key