"That's some serious wiping you're doing. I suspect that it must take a fierce amount of time to complete."
Yes, it might be a bit overkill for the average user to overwrite the free space 35 times (and it takes a lot of time do it's work). I based the code on the paper Secure Deletion of Data from Magnetic and Solid-State Memory by Peter Gutmann.

"An alternative approach would be to securely wipe the contents of sensitive files before deleting them. This will be much, much faster."
srm and wipe does just that, but that's the problem: they only wipe files, leaving your "deleted" temporary files etc in the open.

"I read it, you might scribble garbage on a large section of the free space of the disk and still manage to avoid overwriting an area where sensitive information lies waiting to be recovered."
Yes, i haven't added the code to overwrite the slack space for example, but i will (someday:).

"The US Department of Defense ..."
The whole Rainbow-series (including the Orange Book) is really good which I would recommend to anybody. However I don't really trust a 7 layer overwrite.

Changes to be made:
* Add 6 layer overwrite (0x49,0x24,0x92,0x6D,0xB6,0xDB)
* Add DoD standard (7 layer overwrite)
* Add 8 layer random owerwrite
* Better "interface"


In reply to Re: Re: Wiper by PixelRat
in thread Wiper by PixelRat

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.