I was looking through the section that pulls the key and noticed line 3226 of the modified one as:
key_text = getkey(key, 2)
Looking at the getkey procedure I surmised that the 2 would change the offset it was using for the key. I changed it to match what was under the regular section for the non 64bit version of Office 2007.
key_text = getkey(key, 1)
My gut told me that even though they key offset would be different for 2010, it isn't different for 2007, I ran the script and it appears to have worked. I am going to make the same modification to the original script as a sanity check.
|