GithubHelp home page GithubHelp logo

v5l / php-ransomware Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ivan-sincek/php-ransomware

0.0 0.0 0.0 231 KB

PHP ransomware that encrypts your files, as well as file and directory names.

License: MIT License

PHP 100.00%

php-ransomware's Introduction

PHP Ransomware

PHP ransomware that encrypts your files, as well as file and directory names.

Ransomware is set to start encrypting files and directories from the server's web root directory and only inside the server's web root directory.

Ransomware will self-destruct upon running, which means you only have one chance at decrypting your data.

Keep also in mind that each decryption file has a uniquely generated salt used in encryption and as such cannot be replaced with another decryption file.

Tested on XAMPP for Windows v7.4.3 (64-bit) with PHP v7.4.3.

Made for educational purposes. I hope it will help!

IMPORTANT!: Please DO NOT use this ransomware for illegal purposes! I have no liability over your actions!

How to Run

Requires PHP v5.5.0 or greater because openssl_pbkdf2() is being used.

Care not to do any damage! Backup your server files before running ransomware! Script will crash on large files!

Copy \src\encrypt.php to your server's web root directory (e.g. to \xampp\htdocs\ on XAMPP).

Navigate to the encryption file with your preferred web browser.

Decryption file will be created automatically after the encryption phase.


On web servers other than XAMPP (Apache) you might need to load OpenSSL and Multibyte String library within PHP.

In XAMPP it is as simple as uncommenting the following in the php.ini file:

extension=php_openssl.dll
extension=mbstring

Images

Ransomware

Figure 1 - Ransomware

Encrypted Content

Figure 2 - Encrypted Content

php-ransomware's People

Contributors

ivan-sincek 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.