CMD string encryption

Page 1 of 1

1 Replies - 457 Views - Last Post: 26 March 2013 - 07:02 AM Rate Topic: -----

#1 Adrianvdh  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 20-March 13

CMD string encryption

Posted 26 March 2013 - 06:07 AM

Hello everyone I got a question.
I am using the...

for /f "tokens=3" %%p in ('reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v ProductID') do set "productID=%%p" 



...command to get windows ProductID and save it into a varible. So I can use this method to make a serial key thing for my batch file program.
For example here is a OEM ID: 00426-OEM-8992662-00173. Now I have set up some varibles.

set I1HZ=0
set JG5S=1
set TA0K=2
set H7AV=3
set YJ6S=4
set K4FN=5
set ZV1D=6
set PJ6C=7
set J3HR=8
set D4FD=9
set H1YA=OEM
set G8HS=-



and there are the numbers 0-9 in most OEM ID's.
So for every 0 it would convert it into I1HZ string so if my id string was 00456-OEM-7555665-00631 and I had the varible set I1HZ=0 ect and all the other varibles.
It would encrypt the OEM ID String into another string i.e I1HZI1HZYJ6STA0KZV1DG8HSH1YAG8HSJ3HRD4FDD4FDTA0KZV1DZV1DTA0KG8HSI1HZI1HZJG5SPJ6CH7AV
That would be the encrypted serial string key.

There for can I do this to make the serial calucaltion work. Please post some code to help me
Much help would be appreciatet thanks :)

Is This A Good Question/Topic? 0
  • +

Replies To: CMD string encryption

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9487
  • View blog
  • Posts: 35,767
  • Joined: 12-June 08

Re: CMD string encryption

Posted 26 March 2013 - 07:02 AM

No we will not help you scam on trying to generate serial keys. Closing.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1