Detailed process of qingguo educational administration network management system intrusion and cracking

Source: Internet
Author: User

Not long ago, I got the source code of the system and was curious about its database connection string. For example, I thought it was only base64 encoding, but I couldn't decode it with base64, on the login interface, you need to call the database without finding the relevant code. Then, use reflector to decompile the DLL file and find its database encryption function. As you can see, perform DES encryption on the pStr string to be encrypted. The DES encryption key buffer1 is obtained through the getSN () function. The initialization vector buffer2 is the default value. Then follow up the getSN () function. If you can find that this function is implemented through getVol. the GetVolOf () function obtains a value, performs MD5 encryption, and obtains a string and returns it as the key to follow up getVol. getVolOf () function getVol. the GetVolumeInformation () function is used to obtain information about a specified disk partition. The input parameter of this function is c, and the information of disk c is obtained, the value of the returned value num1 is the volume serial number. After knowing the encryption key and initial vector, You can decrypt the ciphertext. The DLL also contains the decryption function, it simplifies its original code by writing a decryption program. The password of the database in the encrypted string is decrypted. The serial number of the drive c is obtained through dir c. You need to convert the obtained hexadecimal value to the hexadecimal value. For example, you can decrypt the encrypted string successfully.

Related Article

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.