Giter Club home page Giter Club logo

haystack-file-hiding-system's Introduction

Haystack File Hiding System (HFHS)

HFHS (Haystack File Hiding System) is designed to protect your important files by hiding them within a complex maze of folders. Just like finding a needle in a haystack, locating these files without knowing the exact pattern used for folder creation is near impossible. Keep your files safe and secure with HFHS!"

How it can be used

HFHS provides two scripts:

  1. main.py: This script generates a complex folder structure, making it difficult to locate specific files without prior knowledge of the pattern used for folder creation.
  2. del.py: This script deletes the folders and files created by the main.py script in a fast and efficient manner.

Certainly! Here's the updated "How to Use" section with instructions for running the scripts via the command line:

How to Use

To use HFHS:

  1. Clone the repository to your local machine.
  2. Navigate to the repository directory.
  3. Open main.py in a text editor.
  4. Adjust the desired_nesting_level and num_threads variables according to your needs:
    • desired_nesting_level: This variable determines how deep the folder structure will be. Higher values result in more complex folder structures with more levels of nesting. Lower values create simpler structures. Adjust this value based on how hidden you want your files to be within the folder maze. For example, setting desired_nesting_level = 5 will create a moderately complex folder structure.
    • num_threads: This variable controls the concurrency level, i.e., the number of threads used for parallel execution of folder creation operations. Increasing this value may speed up the folder creation process, but it depends on your system's capabilities. Be cautious not to set it too high, as it may overload your system. For example, setting num_threads = 205 will utilize 205 threads for parallel execution.
  5. Save the changes to main.py.
  6. To run the script via the command line, open a terminal or command prompt:
    • Navigate to the directory containing main.py.
    • Run the command: python main.py.
  7. After the script finishes execution, run del.py to delete the created folders and files:
    • In the same terminal or command prompt, navigate to the directory containing del.py.
    • Run the command: python del.py.

About Nesting Level

The time taken to generate folder structures at different nesting levels may vary based on your computer's CPU specifications. The following information is based on a developer PC with a CPU containing 4 threads and 4 cores:

Nesting Level Number of Folders Time Taken
Level 3 1110 0.74 seconds
Level 4 11110 2.42 seconds
Level 5 111110 67.62 seconds
Level 6 1111110 1002.05 seconds
Level 7 11111110 Approximately 4.13 hours
Level 8 111111110 Approximately 61.19 hours
Level 9 1111111110 Approximately 904.47 hours or 37.69 days
Level 10 11111111110 Approximately 13446.25 hours or 560.26 days

Here's a graphical representation of the folder structure created by HFHS at nesting level 3:

Force-directed graph drawing of 1110 Folders at level 3

haystack-file-hiding-system's People

Contributors

aadityabhoyar avatar

Watchers

 avatar

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.