search for: test_dword2

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

2014 Mar 04
2
Hivex3: Saving values - always string
...node_set_values or node_set_value This function take 3 arguments, node name, value type and value. It seems that this function accept for value only strings (any other type throw error). The problem lay when I want save values differed then string. For example: value1 = { "key": "TEST_DWORD2(150)", "t": 4, "value": "150" } Result is saving value "150" not like DWORD but like STRING -> 0x313530, which is not valid DWORD value for Win Regedit. This same is with saving binary values, binary or hex is handle like string. So is there any wa...
2014 Mar 05
2
Re: Hivex3: Saving values - always string
...ian binary blob and put it in value. > > Python has a module called 'struct' which you can use to do this > encoding (and decoding when you're pulling numbers out). > > See the attached program which shows you how to use it. > >> value1 = { "key": "TEST_DWORD2(150)", "t": 4, "value": "150" } >> >> Result is saving value "150" not like DWORD but like STRING -> >> 0x313530, which is not valid DWORD value for Win Regedit. >> This same is with saving binary values, binary or hex is handl...