Jump to content
Sign in to follow this  
hightower

Office 2010 Productkey Decoder

Recommended Posts

hightower

Hello Guys,

i try to extract the Installationkey of Office 2010 from the Registry. In Version 2010 the range has been modified by Microsoft from 52 - 66 to 808 to 822. Can anyone help me to modify this script?

-snip-

Regards

Edited by Jos
code removed

Share this post


Link to post
Share on other sites
GEOSoft

It should be legit Jos. It's often used for recovering the Product Key which will still only work with the same install disk and still has to pass activation if activation was required to begin with.

Often used by people who lose their COA.


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites
storme

It should be legit Jos. It's often used for recovering the Product Key which will still only work with the same install disk and still has to pass activation if activation was required to begin with.

Often used by people who lose their COA.

Yep I use key recovery on customers computers all the time, when the stickers are torn or worn or they have just plain lost the key.

Just my 2C

John

Share this post


Link to post
Share on other sites
hightower

I would use the code/function for harvest my Computer-Configuration on the Network!

not for illegal use eg..

Share this post


Link to post
Share on other sites
hightower

I can see many legit uses for this. Personally I use this app to audit the PC:

http://www.belarc.com/free_download.html

One of the things it does is gets the keys to the apps you have installed.

Hey,

thx - but sorry - i would like to use non 3rd party application. we have written in autoit our own application.

has anobody some idea to decode the office 2010 key?

Share this post


Link to post
Share on other sites
GEOSoft

Can you repost your code so we can take a look at it again?


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites
hightower

Yes, this is the VBS-Code:

Function decodeKey2(iValues, strProduct)
 
Dim arrDPID
arrDPID = Array()
 
' <--------------- extract bytes 52-66 of the DPID -------------------------->
For i = 808 to 822
ReDim Preserve arrDPID( UBound(arrDPID) + 1 )
arrDPID( UBound(arrDPID) ) = iValues(i)
Next
 
' <--------------- Create an array to hold the valid characters for a microsoft  -------------------------->
Dim arrChars
arrChars = Array("B","C","D","F","G","H","J","K","M","P","Q","R","T","V","W","X","Y","2","3","4","6","7","8","9")
 
' <--------------- The clever bit !!! (decode the base24 encoded binary data)-------------------------->
For i = 24 To 0 Step -1
k = 0
For j = 14 To 0 Step -1
  k = k * 256 Xor arrDPID(j)
  arrDPID(j) = Int(k / 24)
  k = k Mod 24
Next
strProductKey = arrChars(k) & strProductKey
If i Mod 5 = 0 And i <> 0 Then strProductKey = "-" & strProductKey
Next
 
ReDim Preserve foundKeys( UBound(foundKeys) + 1 )
foundKeys( UBound(foundKeys) ) = strProductKey
strKey = UBound(foundKeys)
 
   '' write output data inserted in XML'
   Wscript.Echo "<OFFICEPACK>"
   Wscript.Echo "<OFFICEKEY>" & foundKeys(strKey)& "</OFFICEKEY>"
   Wscript.Echo "<OFFICEVERSION>" & strProduct & "</OFFICEVERSION>"
   Wscript.Echo "</OFFICEPACK>"
 
End Function

Share this post


Link to post
Share on other sites
hightower

?

Share this post


Link to post
Share on other sites
JFX

Should give you want you need:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×