flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > Disk Free Space Cleaner (Win32, GUI:))

Author
Thread Post new topic Reply to topic
asmfan



Joined: 11 Aug 2006
Posts: 392
Location: Russian
asmfan 20 Jun 2008, 11:35
The very very old project with a new progressbar as a GUI (if it can be called GUI, lol),
Cleans current logical disk (c:, d:, etc.) free space with ...0101 pattern using only Win API and no direct HDD access. Useful when need to ensure that all deleted data cannot be restored with help of any programmatical way.

press ESC if you're bored to wait the program to complete.

* added multiple instance handling.


Description: Tiny safe disk free space cleaner
Download
Filename: DiscFreeSpaceCleaner GUI.zip
Filesize: 2.83 KB
Downloaded: 995 Time(s)


_________________
Any offers?


Last edited by asmfan on 26 Jun 2008, 16:53; edited 2 times in total
Post 20 Jun 2008, 11:35
View user's profile Send private message Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 392
Location: Russian
asmfan 22 Jun 2008, 11:57
new version available at 1st page
Post 22 Jun 2008, 11:57
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 22 Jun 2008, 13:25
deleted.


Last edited by edfed on 22 Jun 2008, 20:55; edited 1 time in total
Post 22 Jun 2008, 13:25
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 13048
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 0010456
sleepsleep 22 Jun 2008, 18:32
i think this is sort of utilitity tat people need to use before selling their used hard disk drive on ebay.

clear space with 0101 pattern if i am not mistaken.
Post 22 Jun 2008, 18:32
View user's profile Send private message Reply with quote
vador



Joined: 12 Nov 2006
Posts: 68
Location: Madagascar
vador 12 Jul 2008, 18:34
here is my version
I need help with it:
When I create a temporary file on the disk to be cleaned, and that disk is compressed (NTFS), I cannot use DeviceIoControl to set the compression state of the file. DeviceIoControl with FSCTL_SET_COMPRESSION just returns TRUE, but the file has still the compressed attribute set.


Description:
Download
Filename: cleanup_src.zip
Filesize: 4.56 KB
Downloaded: 868 Time(s)


_________________
do not click here
Post 12 Jul 2008, 18:34
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20448
Location: In your JS exploiting you and your system
revolution 12 Jul 2008, 18:55
You might be interested to use the FSCTL_GET_RETRIEVAL_POINTERS parameter for the NtFsControlFile function. This is part of the defrag API in Win2K and up. It returns an array of clusters for the compressed file. I've seen a few other disk sanitisers use this method.
Post 12 Jul 2008, 18:55
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.