Giter Club home page Giter Club logo

ransomware's Introduction

Ransomware简介

通过 C 语言调用 Openssl API 模拟勒索软件加密算法,对特定文件夹下特定后缀文件进行加密

Ransomware.exe加解密使用方式说明:

# 加密例子如下:
.\Ransomware.exe -mode encrypt -method 3 -path E:\\CProjects\\TestEncrypt\\ -extension *.txt
# 解密例子如下:
.\Ransomware.exe encrypt -mode decrypt -method 3 -path E:\\CProjects\\TestEncrypt\\ -extension *.txt

# 参数说明:
-mode		用法:-mode encrypt 或 -mode decrypt 
				说明:指定加密还是解密
-method		用法:-method 0 
				说明:有4个选项 -> 0,1,2,3(分别代表四种加解密方式)
				采用 128 位密钥,支持AES ECB模式、AES CBC模式、AES OFB模式、AES CFB模式
-path		用法:-path E:\\CProjects\\TestEncrypt\\ 
				说明:需要检索的路径
-extension 
			用法:-extension *.txt,calc.exe,*.docx,*.pdf 
				说明:需要加解密的后缀,用逗号分割

示例:

  • 对E:\CProjects\TestEncrypt\目录下所有后缀为.txt、calc.exe、.docx的文件进行加密:
.\Ransomware.exe -mode encrypt -method 3 -path E:\\CProjects\\TestEncrypt\\ -extension *.txt,calc.exe

加密前:

加密后:

解密:

.\Ransomware.exe -mode decrypt -method 3 -path E:\\CProjects\\TestEncrypt\\ -extension *.txt,calc.exe

后续想法

  • 支持更多加密算法,以及改程序bug

License & copyright

Licensed under the MIT License.

ransomware's People

Contributors

hunter-0x07 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  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.