PySecNinja / not_ransomeware

Proof of concept encrypt files within a directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Malware with python

Steps to Run

1. create new directory called randomware
2. create multiple files in that directory
3. git clone this repo and python3 not_ransomware.py in that directory 
4. to decrypt run python3 decrypt.py in the same directory

See the Usage Section in each .py file to see what the code does

1. Create virtual python env

python -m venv venv && source venv/bin/activate #Linux
python -m venv venv && \venv\Scripts\activate #Windows

Creates virtual python environment

python -m venv venv 

Steps into virtual environment

source .venv/bin/activate

See the terminal now has the name of your virtual environment

(venv) drew@Andrews-MacBook-Pro% 

To Step out of the virtual environment

deactivate

2. Install dependencies (Inside of Virtual environment)

pip install -r requirements.txt

3 Run the Code

python main.py

TROUBLESHOOTING

pip list
python --version 
pip --version 
If trying to do this with VS CODE ensure you have your files open on the left side aka the workspace 

Command+shift+p select interpreter and chose .venv/bin python

About

Proof of concept encrypt files within a directory

License:Apache License 2.0


Languages

Language:Python 100.0%