A Method to crack software

Source: Internet
Author: User

There is an inventory-saving software written in pb6.0. The registration method is to encrypt the hard disk serial number after obtaining the hard disk serial number. Recently, the hard disk serial number cannot be obtained and the software cannot run,

The getdisksn function in netdiskdll. dll is called, and the md5string digest function is also used. So I re-compile getdisksn in netdiskdll. dll,

It always returns the hard drive serial number used by the computer.

Bool winapi
Getdisksn (long inlen, char * outstr)
{
Memcpy (outstr, "5la8wnzh", 8 );
Return true;
}

The hard disk serial number problem is solved. How can md5string be solved? Use the original library function:

Bool winapi
Md5string (char * instr, long inlen, char * outstr, long outlen)
{
Return false;
}

Relocate in the netdiskdll. Def file:

Md5string = oldnetdiskdll. md5string

Rename the original netdiskdll. DLL to oldnetdiskdll. dll, and copy the edited netdiskdll. DLL to the application directory.

 

 

 

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.