dcsimg
Results 1 to 2 of 2

Thread: Help Sign Up Bot

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2018
    Posts
    3

    Help Sign Up Bot

    So I'm doing this on a website that I think has some security against this but I'm not sure so I've tried

    Code:
    Dim htmlDoc=WebBrowser1.Document
    Dim elem_Input_UsrName As HtmlElement = htmlDoc.GetElementById("username")
    Dim elem_Input_PssWrd As HtmlElement = htmlDoc.GetElementById("password")
    Dim elem_Input_Submit As HtmlElement = getElementByClassName("Submit", "Input", htmlDoc)
    If elem_Input_UsrName IsNot Nothing AndAlso elem_Input_PssWrd IsNot Nothing Then
       elem_Input_UsrName.SetAttribute("value", "xyz@ABC.com")
       elem_Input_PssWrd.SetAttribute("value", "yourpassoword")
       elem_Input_Submit.InvokeMember("click")
    End If
    And I've also tried

    Code:
     WebBrowser1.Document.GetElementById("signup-password").SetAttribute("value", "qwerty123")
    I've also used
    Code:
     WebBrowser1.Document.GetElementById("signup-password").innertext = "qwerty123"
    WebBrowser1.Document.GetElementById("signup-password").outertext = "qwerty123"
    So basically I've tried everything that I know and its just a simple sign up form and every time it runs, It goes into the Box although when I click sign up it says theres nothing in the box although I clearly see there's something in the box.

    I don't know what to do any help would be extremely appreciated thanks!

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    32,616

    Re: Help Sign Up Bot

    Most likely, you are right. This is something the site does not want you to do, in which case this is also against the AUP of this site. However, the easiest thing to do is contact that site directly. It is never best to interact with a website through a program. That's always going to be the last resort because it will never be truly reliable. If sites WANT you to interact with them (and why else would the site be there?), then they generally are willing to create (or have already done so) an API to interact with the site. If there is an API, then use that, because no other solution has any durability.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width