Git Product home page Git Product logo

burn_operation's Introduction


Logo

burn_operation


Overview

A Rust based CLI that completely wipes a computer securely, at the speed of light. Nice and handy when you need to initiate "Burn Operation". This program overwrites every file on your computer with random bytes, then deletes the file, effectively wiping the hard drive storage and making all of the data unrecoverable. Using jwalk, which enables parallelism through rayon, Rust is able to walk through a computer's directory tree, overwrite and delete files at very high speeds.

Installing

Make sure you have Rust installed. If not, install it with: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh. After installing Rust, enter the following command into your terminal to install Burn Operation:

cargo install burn_operation

Permissions

By default, burn_operation wipes your entire computer which requires root access. You can either run the program with sudo or give access permissions to the burn_operation binary.

Giving permissions allows for quick and easy usage of the program without the need to input a password at runtime. This can be useful if you need to wipe many computers on a network with one command or if your usecase requires that burn_operation is on a hair trigger. To give permissions to the binary, enter the following commands in your terminal below:

Linux

Mac

Windows

Usage

IMPORTANT: There is no safety on this by design. Once you execute the program, there is no going back. Do not use this command unless you are certain that you want to wipe your computer beyond recovery.


USAGE:
    burn_operation [OPTIONS]

OPTIONS:
    -d, --dead-mans-switch    Initializes a dead man's switch from a `dead_mans_switch.toml` file.

    -h, --help                Print help information

    -n, --n <N>               Number of iterations when wiping each file. [default: 25]

    -p, --path <PATH>         Path to file or directory to wipe. If no argument is provided, the
                              entire computer will be wiped. [default: /]

-n

The -n flag indicates the number of iterations that the program will overwrite a file with random bytes. For example if a user inputs burn_operation -n=25, the program will overwrite each file with random bytes 25 times.

Upcoming features

Deadman's Switch

dead_mans_switch will wipe a computer after "x" time has passed without the user checking in. When burn_operation is run with this flag, you will be prompted you to enter a keyphrase (basically a password) of your choosing. This will be used to generate a hash. The hash will act as a security check, with burn_operation prompting you to enter your keyphrase to verify that you are the one who initiated the dead mans switch. You can also set how long the program should wait for your response after prompting you. After this time has elapsed, the program will automatically call burn_operation, wiping everything on the computer.

burn_operation's People

Contributors

0xkitsune 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.