GithubHelp home page GithubHelp logo

ascii-splash's Introduction

Ransomware ASCII Splash Screen Simulation

This Python script simulates a ransomware splash screen. It creates a server that listens for a specific secret message, and upon receiving the message, it displays a simulated ransomware splash screen.

Requirements

  • Python 3.x

Usage

  1. Set the desired environment variables for configuration (optional).
  2. Run the Python script.

Configuration

You can configure the script using the following environment variables:

  • LOG_LEVEL: Logging level. Default is "DEBUG".
  • LISTEN_HOST: Server host to listen on. Default is "127.0.0.1".
  • LISTEN_PORT: Server port to listen on. Default is "1337".
  • LISTEN_SECRET: Secret message to trigger the splash screen. Default is "UNCONTAINED".

Splash Screen Configuration

The splash screen configuration options are as follows:

  • SPLASH_ESCAPE: Keybinding to close the splash screen. Default is "."
  • SPLASH_BG_COLOUR: Background color of the splash screen. Default is "red".
  • SPLASH_FG_COLOUR: Foreground color of the splash screen. Default is "white".
  • SPLASH_FONT: Font used in the splash screen. Default is "Courier".
  • SPLASH_MESSAGE: The message displayed on the splash screen.

Code Structure

  • Worker: A thread that creates a new Splasher instance.
  • Splasher: A class that handles the splash screen creation and display.
  • Server: A class that handles incoming connections and adds the received messages to a queue.

Known Limitations

This script is provided for educational purposes only.

ascii-splash's People

Contributors

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