Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
992Proxy

Locked FileWipe - very fast (using memory mapped files + memset)


DDoSer

Recommended Posts

[HIDE-THANKS]This function rewrite whole content of given file by defined (implicitly 0x0) character and finally delete it, it's called as secure deleting.

 

This should be VERY fast!!

 

Just note that there is no error checking inside FileWipe()

 

Maybe I will post later also version with error checking.

 

You can comment line FileDelete($sFileName) to see how it's rewritten before deletion.

 

EDIT: There can be problems with too big files (>2GB or > amount of RAM) see post #8 by Kafu

 

This is the hidden content, please

 

Here is my first test version without memory mapped files:

 

This is the hidden content, please

[/HIDE-THANKS]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.