search for: hivex2

Displaying 2 results from an estimated 2 matches for "hivex2".

Did you mean: hivex
2014 Aug 10
2
New Python API? (was: Re: About the return value of value_value)
...# constant from hivex.hive_types "t": REG_DWORD, # alternative of b'\4\0\0\0' "value": 4 } h.node_set_value(svc_viostor, new_value) h.commit() It would be great if something like this could be done instead: import hivex hive = hivex.Hivex2("system", write=True) ccs_name = "ControlSet001" svc_viostor = hive.root()[ccs_name].Services.viostor if svc_viostor.Start != 4: # Automatically detect that int '4' is an DWORD svc_viostor.Start = 4 svc.commit() I (ab)use the __getattr__ methods if an object to...
2014 Aug 10
2
About the return value of value_value
Hi, I have been working on a Python application that uses hivex. Meanwhile I have encountered some Python bindings issues which could be fixed. The next issue I see now is about the value_value function. This is briefly documented as: "return data length, data type and data of a value". For Perl, Python and OCaml, this is not true. A tuple is returned for both without the length