Giter Club home page Giter Club logo

Comments (9)

williballenthin avatar williballenthin commented on September 4, 2024

There's no collection of hives and associated .reg files at the moment. Its a great idea though! Do you have access to any examples that you'd be willing to share?

from python-registry.

NiKiZe avatar NiKiZe commented on September 4, 2024

For now only minimal set of BCD files, but it is better then nothing.
These should be collected when issues are found to prevent regressions.
a resources subdirectory in test is my suggestion.

from python-registry.

williballenthin avatar williballenthin commented on September 4, 2024

Sounds good. I'll collect a set of files that I don't mind exposing to the web and upload them as you suggested.

from python-registry.

EricZimmerman avatar EricZimmerman commented on September 4, 2024

Willi we should make the hives part of our unified testing

from python-registry.

williballenthin avatar williballenthin commented on September 4, 2024

Yes, I agree. I'd like to collect the .reg and original hives, and export them test dump format for all of them, too.

from python-registry.

NiKiZe avatar NiKiZe commented on September 4, 2024

I agree as well, an automated unit test for all available hive/reg combos.
Are there any good unit testing frameworks available for Python that can serve this purpose?

from python-registry.

EricZimmerman avatar EricZimmerman commented on September 4, 2024

let me know when you are ready and i can make sure you have the latest versions of the updated export format. it should be on google drive as well.

from python-registry.

williballenthin avatar williballenthin commented on September 4, 2024

@NiKiZe surely there are some, but i'm not familiar with any enough to instinctively pick one. I'd welcome suggestions.

from python-registry.

NiKiZe avatar NiKiZe commented on September 4, 2024

Sorry, I have not yet had time (or maybe it's more a lack of ideas) to do much on this :/

However came across some interesting things in reg.exe
REG SAVESaves registry key as hive file
REG RESTORERestores a hive file to reg key
It should be possible to use this to only export "problematic" parts of the hives and that way only expose non sensitive data publicly.

a python script running on windows could be used to automate an multitude of tests (or even an cmd script in windows to collect data and then running the python part on any OS)

I think what we have suggested for now is walking all .hive files in testing/resources, and using (same named) .reg files call RegTester and make sure the result is as expected.
I would also suggest that there is sha256 checksums for all files to eliminate problems caused by corruption.

from python-registry.

Related Issues (20)

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.