Coder Social home page Coder Social logo

wipe's Introduction

wipe

Poor man's wipe utility for non-administrator users by filling up the drive with random data

Description

This Python script is a slow poor man's wipe script to fill up a specified drive with progressively smaller files until the drive is completely filled. It is useful for wiping data from a drive by filling up all the free space with a single pass of random data. The script adapts the file size dynamically based on the available space on the drive until full. If you have a SSD drive connected you will have to run it several times.

How does it work

Run the script with the target drive letter as an argument, e.g., python wipe.py E:

It then:

  • Deletes all existing files on the specified drive
  • Starts filling it with progressively smaller files
  • Deletes all the random data

Use this script responsibly, as it will delete all data on the specified drive.

wipe's People

Contributors

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