Crack BizTalk adapter pack 120-day limit

Source: Internet
Author: User
Tags biztalk

I am looking for it recently. net and SAP interaction components, we found that BizTalk adapter pack has for mysap components, but the 120-day trial, although I have only made a solution, but I hope the time limit can be longer. so I took it and studied it.

By decompiling several key components, we finally found its time detection code. As follows:

Private Static datetime getexpirydate () <br/>{< br/> registrykey key = registry. localmachine. opensubkey (@ "software/Microsoft/BizTalk adapter pack/2.0/registration"); <br/> byte [] encrypteddata = (byte []) Key. getvalue ("Application Data"); <br/> string S = "89d87365-ed2b-4f58-81c4-f42987dc1433"; <br/> byte [] bytes = encoding. ASCII. getbytes (s); <br/> byte [] DATA = protecteddata. unprotect (encrypteddata, bytes, dataprotectionscope. localmachine); </P> <p> return New datetime (bitconverter. toint64 (data, 0); <br/>}

 

Obviously, it writes the expiration time in the Registry and is encrypted.

According to the above Code, write a corresponding registration code and change the expiration time to 9999-12-31 23:59:59, as shown below:

Private Static void setexpirydate (datetime DT) <br/>{< br/> string S = "89d87365-ed2b-4f58-81c4-f42987dc1433"; <br/> byte [] bytes = encoding. ASCII. getbytes (s); <br/> byte [] DATA = bitconverter. getbytes (DT. tobinary (); <br/> byte [] encrypteddata = protecteddata. protect (data, bytes, dataprotectionscope. localmachine); <br/> registrykey = registry. localmachine. opensubkey (@ "software/Microsoft/BizTalk adapter pack/2.0/registration", true); <br/> key. setvalue ("Application Data", encrypteddata, registryvaluekind. binary); <br/>}< br/> static void main (string [] ARGs) <br/>{< br/> console. writeline (getexpirydate (). tostring (); <br/> setexpirydate (datetime. maxvalue); <br/> console. read (); <br/>}

 

 

Note: A severe warning is reported here only for study purposes, and is not liable for any losses or other purposes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.