Giter VIP home page Giter VIP logo

fileencryptingransomware's Introduction

Python Script That Encrypts All Files in Documents Folder

File Encryption Tool Documentation

Introduction

The File Encryption Tool is a Python script designed to encrypt files within a specified folder and its subfolders using the Fernet encryption method. This tool provides a secure way to protect the confidentiality of your files.

Disclaimer ⚠️

This tool is provided for educational and demonstration purposes only. Use it at your own risk!! The tool's intent is very dependent on the user, and users should avoid any malicious or unauthorized use, such as creating ransomware

Table of Contents

  1. Introduction
  2. Usage
  3. Tool Explanation
  4. Security Considerations
  5. Contributing
  6. License
  7. Screenshots

Usage

Prerequisites

  • Python 3.x
  • cryptography library (pip install cryptography)

Installation

  1. Clone or download the script from the repository.
  2. Install the required cryptography library using the following command:

Running the Tool

  1. Open a terminal or command prompt.

  2. Navigate to the folder containing the script.

  3. Run the script using the command:

  4. Follow the on-screen prompts to specify the folder path you want to encrypt.

Tool Explanation

Fernet Encryption

The File Encryption Tool uses the Fernet encryption method to secure your files. Fernet is a symmetric encryption algorithm, meaning the same key is used for both encryption and decryption. A secure Fernet key is generated for each run of the tool.

File Replacement

  • The original files within the specified folder and its subfolders are encrypted using the Fernet key.
  • The encrypted files are saved with the same filename as the original file, but with ".GHOST" added to the filename (e.g., "example.png" becomes "example.png.GHOST").
  • The original files are removed from the folder to maintain security.

Security Considerations

  • Ensure that you have proper authorization to encrypt files.
  • Store the generated Fernet key securely, as it is required for decryption.
  • Backup important files before using this tool to prevent data loss.

Contributing

If you'd like to contribute to the tool's development, feel free to submit pull requests.

License

This tool is provided under the MIT License.

Screenshot


Before:
before_files
After:
after_files

fileencryptingransomware's People

Contributors

gh0sth4cker avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.