none
SDelete v2.01 - dangerous bug

    Question

  • Hi,
    I found a dangerous bug in sdelete v2.01 (same problem with v2.0 or v1.51)

    I have a directory with 3 files:
    testfile1.xls
    testfile2.xlsx
    testfile3.xlsabcdef

    The command   sdelete *.xls  should wipe just testfile1.xls but surprisingly wipe all the 3 files, therefore sdelete *.xls acts as sdelete *.xls*  and this is very dangerous !!

    Thank you in advance,
    best regards
    Iron

    Tuesday, February 20, 2018 4:18 AM

All replies

  • I just downloaded and attempted to use SDelete 2.01 and have found a similar issue (possibly related).
     
    When I try and use SDelete on a file with no extension, it returns the error "the system cannot find the file specified.".
     
    C:\Users\Bob\Documents>sdelete.exe foo
    SDelete v2.01 - Secure file delete
    Copyright (C) 1999-2018 Mark Russinovich
    Sysinternals - www.sysinternals.com
    SDelete is set for 1 pass.
    Cleaning disk foo:
    Error opening disk foo:
    The system cannot find the file specified.

    The older version of SDelete did not have this bug.  I'll revert to that version until this can be fixed.
     
    Thanks!
    Tuesday, February 27, 2018 11:57 AM
  • Just went back and tested a couple of previous versions and found that the same bug (can't delete a file without an extension) also occurred in version 2.0.  It works properly in version 1.61.
     
    Thanks,
    -Bob
    Tuesday, February 27, 2018 12:07 PM
  • what about Version 2.02?
    Thursday, January 24, 2019 9:03 AM
  • Hi

    The change I made in 2.02 was to provide a feedback indicator when freeing MFT resident files because this can take a long time and users were mistaking this for a hang.

    I have added this as a high priority to the backlog and try to get it fixed ASAP

    Regards

    MarkC (MSFT)


    • Edited by markc(msft) Monday, January 28, 2019 3:22 PM
    Monday, January 28, 2019 3:21 PM