this post was submitted on 24 Apr 2025
64 points (97.1% liked)
Privacy
37210 readers
591 users here now
A place to discuss privacy and freedom in the digital world.
Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.
In this community everyone is welcome to post links and discuss topics related to privacy.
Some Rules
- Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
- Don't promote proprietary software
- Try to keep things on topic
- If you have a question, please try searching for previous discussions, maybe it has already been answered
- Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
- Be nice :)
Related communities
much thanks to @gary_host_laptop for the logo design :)
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Curious choice to write a c++ program for this instead of doing the same thing in a powershell script.
One feature it should have: delete itself after running to leave no traces of such a tool.
That was my first thought, why is this not written in a scripting language. Any one.
I mean probably because the scripting languages typically don't provide the lower level utilities necessary to securely wipe files?
You're not deleting files in a typical sense. You also need to scrub over those files so they cannot be put back together forensically.
Look at the code, though; it doesn't do any of that.
You can kick off a trim in powershell and erase all the whitespace. https://blog.thomasdamgaard.dk/posts/2022/03/06/trim-filesystem-from-powershell/
You can also do secure delete on files from powershell and HDD free space wipes. https://www.majorgeeks.com/content/page/how_to_securely_delete_files_in_windows_10.html
That or make some attempt to do a free space wipe, or prune the registry, or, you know any reason whatsoever to actually write it in c++.
It's probably a sufficient wipe to keep your partner or kids from finding stuff, But it's not going to stop a state agency. Like they won't have logs from those services from your IP address. Like your registry isn't absolutely chocked full of your history and the history of those apps.
Forensic analysis on that drive will net them most of every one of those deleted files.
And frankly of all the things to wipe, wth is up with steam?