Please help [account creator]

Status
Not open for further replies.

johnwu

Registered
Original poster
Joined
Aug 6, 2011
Posts
1
Reaction score
0
Points
0
I am building an account creator by the use of httpwebrequest but I have some problems with it hope you can help me. I will also post my developments of my program here so others can lean.

here's my problems

1. How to know what to put in the post data part of my code ?
- solved: Got it with Tamper data add on Firefox


2 How to read the captcha and make it appear n the Picturebox object
I'm stuck with this part I should make a request first to the site so I can what is the captcha : I'm CLUELESS :)

here's my code


Code:
Imports System.Net
Imports System.IO
Imports System.Text


Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim postData = "[email protected]&passwd=lfethtypkpf&passwdAgain=lfethtypkpf"
        Dim encoding As New ASCIIEncoding()

        Dim byte1 As Byte() = encoding.GetBytes(postData)

        Dim cookie As New CookieContainer

        'Now pass the data to the form handler, in this case lets consider (somewebsite/login.php)


        Dim request As HttpWebRequest = HttpWebRequest.Create("https://www.google.com/accounts/ServiceLogin?service=adwords&hl=en-US&ltmpl=signup&passive=false&ifr=false&alwf=true&continue=https://adwords.google.com/um/SignupToken&app=Signup&sourceid=awo&subid=ww-en-et-awhp_canal")
        request.Method = WebRequestMethods.Http.Post
        request.ContentType = "application/x-www-form-urlencoded"
        request.ContentLength = byte1.Length
        request.CookieContainer = cookie

        Dim postStream As Stream = request.GetRequestStream

        postStream.Write(byte1, 0, byte1.Length)
        postStream.Close()

        Dim response As Stream = request.GetResponse.GetResponseStream
        Dim reader As New StreamReader(response)

        Dim html As String = reader.ReadToEnd

        TextBox1.Text = html
    End Sub
End Class


OK I will just use Tamper data to get the post data. I found a very helpful video

<iframe width="560" height="349" src="http://www.youtube.com/embed/iq6eOrRNa38" frameborder="0" allowfullscreen></iframe>

I found the post data but something is messy in here

continue=https://adwords.google.com/um/SignupToken&service=adwords&naui=3&ifr=true&skipvpage=true&sendvemail=false&dsh=1664095607370702951&migrate=true&hl=en-US&awui=3&Email=testinglngtoh%40yahoo.com&Passwd=asdasdasd&PasswdAgain=asdasdasd&newaccounttoken=gKhXQEFivQ0qjAfXiabWqAa2kB0qEc4HVTPY0WhojEo-47qlFNnxqdaIIEb-I6wXEXEDOzze2sWjo8VH38xGHw:u5VXkwlHDBDVrbIa0N8qnA&newaccounturl=https://www.google.com/accounts/Captcha?ctoken=gKhXQEFivQ0qjAfXiabWqAa2kB0qEc4HVTPY0WhojEo-47qlFNnxqdaIIEb-I6wXEXEDOzze2sWjo8VH38xGHw%253Au5VXkwlHDBDVrbIa0N8qnA&newaccounttoken_audio=C9wHS9BAQO_Pbe30aUZQRB62jaGTb0KWBK7-YN4igj8CikYZNZ9iqE5wWA2-pFWUEXEDOzze2sWjo8VH38xGHw:T2VP1sFZxWtzdtJQgWCGQQ&newaccounturl_audio=https://www.google.com/accounts/Captcha?ctoken=C9wHS9BAQO_Pbe30aUZQRB62jaGTb0KWBK7-YN4igj8CikYZNZ9iqE5wWA2-pFWUEXEDOzze2sWjo8VH38xGHw%253AT2VP1sFZxWtzdtJQgWCGQQ&newaccountcaptcha=maxeted
 

Aristide

Old School
old school
member
Joined
Apr 29, 2011
Posts
1,843
Reaction score
215
Points
158
Location
Milan, Italy
first,i found chrome is better than tamper data. and ill search for the captcha thing. but i think that you just need to add a picturebox with the url of the captcha
 
Status
Not open for further replies.