Private Sub wb_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles wb.DocumentCompleted
'If wb.Document.Body.InnerHtml.Contains("Skriv inn de hvite symbolene du ser på bildet:") Then
' MsgBox("Antibot! Trykk Antibot, og slå inn antiboten")
' Dim captcha1 As HtmlElement
' captcha1 = wb.Document.GetElementById("Antibot")
' Dim path As String = captcha1.GetAttribute("src")
' TextBoxX3.Text = path
' Dim TextFile As New StreamWriter("test.html")
' TextFile.WriteLine("" & "<img src=" & TextBoxX3.Text & "id" & "=" & "Antibot" & " >")
' TextFile.Close()
' wb1.Navigate("/test.html")
' Dim captcha2 As HtmlElement
' captcha2 = wb.Document.GetElementById("Antibot")
' Dim path2 As String = captcha2.GetAttribute("src")
' PictureBox1.ImageLocation = path2
'End If
If wb.DocumentTex*****ntains("antibot.php?PHPSESSID=") Then
Dim curcaptcha As String = Sb(wb.DocumentText, "<img src=""antibot.php?PHPSESSID=", """ alt=""Antibot"" />")
Dim totalcaptcha As String = "antibot.php?PHPSESSID=" & curcaptcha
Dim textfile2 As New StreamWriter("test*****ml")
textfile2.WriteLine("<img src=" & totalcaptcha & "id" & "=" & "graph_players" & " >")
textfile2.Close()
wb1.Navigate("/test*****ml")
Dim fullurl As String = "http://elitecrimes.net/" & totalcaptcha
PictureBox1.ImageLocation = fullurl
Try
Dim playersgraph2 As HtmlElement
playersgraph2 = wb1.Document.GetElementById("graph_players")
Dim pathi4 As String = playersgraph2.GetAttribute("src")
PictureBox1.ImageLocation = pathi4
Catch
End Try
End If
' <td align=center><img src="antibot.php?PHPSESSID=48305a5764c76cb7d9fa1ef5379d8fb4" alt="Antibot" /></td>
End Sub








Dim source_code As String = WebBrowser1.DocumentText
For Each Image As HtmlElement In WebBrowser1.Document.Images
If Image.GetAttribute("src").Contains("BASE LINK OF THE CAPTCHA HERE!") Then
Dim Web As New Net.WebClient
PictureBox1.BackgroundImage = New Drawing.Bitmap(New IO.MemoryStream(Web.DownloadData(Image.GetAttribute("src"))))
End If
Next
WebBrowser1.Document.GetElementById("ID HERE!!!").SetAttribute("value", TextBox1.Text)
