Comments (9)
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.
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.
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.
Willi we should make the hives part of our unified testing
from python-registry.
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.
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.
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.
@NiKiZe surely there are some, but i'm not familiar with any enough to instinctively pick one. I'd welcome suggestions.
from python-registry.
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 SAVE
Saves registry key as hive file
REG RESTORE
Restores 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)
- Parse all hives and retrieve json HOT 2
- Cannot open *_Delta files from Windows Docker image layers HOT 1
- Support Wine registry HOT 6
- PyPI has an outdated (1.3.1) release HOT 3
- amcache.py has errors when running
- Large hives can take up large amounts of memory HOT 2
- Return None instead of raising Exception HOT 5
- s = s.decode("utf16") - UnicodeDecodeError: 'utf-16-le' codec can't decode bytes in position 20-21: illegal UTF-16 surrogate HOT 2
- [feature request] explaination to do a basic search replace on key/value/name traversing all the registry HOT 1
- Empty output on win10 version 10.0.16299 amcache.hve files HOT 5
- It's not clear that this doesn't support Windows 95-style registry files HOT 1
- Unknown Type Exception (Unknown VK Record type 0x12, 0x13, 0x19 ...) and Unicode Errors HOT 4
- AttributeError: 'VKRecord' object has no attribute 'data' when reading SOFTWARE registry HOT 1
- List comprehension syntax error in usage HOT 1
- Long RegBinary value cause str(bytearray) HOT 2
- Provide new release? HOT 2
- Website doesn't work HOT 2
- cannot read HKEY_CURRENT_USER Invalid REGF ID HOT 3
- Add docs to release HOT 1
- Mention OS support? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-registry.