Results 1 to 12 of 12
  1. #1
    silentrunner2's Avatar
    Join Date
    Jun 2008
    Gender
    male
    Posts
    629
    Reputation
    110
    Thanks
    2,870
    My Mood
    Busy

    [Help] Obtaining Document IDs [solved]

    Ok this is driving me kinda nuts, im not sure if im missing something or just being an idiot but I cant seem to find any button ID's or the first password ID. Im trying to make an account creator like my combat arms one. I found everything else but the first password and any buttons.

    I just went to the BFP4F site then hit signup then hit view page source and did it that way, thats how I learned to do it anyways.

    Heres Wat I Got Already (Feel free to use them in your own program)

    Email ID = "Email"
    Password ID = "Password" But it does not work
    Password Confirmation ID = "Password2"
    Country ID = "Country"
    Date Of Birth Day ID = "dob_day"
    Date Of Birth Month ID = "dob_month"
    Date Of Birth Year ID = "dob_year"
    Terms And Conditions ID = "tos_accept"
    Email Newsletter ID = "optin"
    Next Button ID = Not Found
    Reset Button ID = Not Found
    Last edited by silentrunner2; 03-20-2011 at 06:07 AM.
    My Projects


    Don't Ask For Thanks Earn It
    You: "Please Give Thanks"
    Me: "...................No"

  2. #2
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    To get the "Next" button:

    [highlight=vb.net]
    Dim nextButton As HtmlElement = (From h As HtmlElement in WebBrowser1.Document.GetElementsByTagName("button" ) Where h.InnerText = "Next" Select h)(0)
    nextButton.invokemember("click")
    [/highlight]
    Last edited by Jason; 03-20-2011 at 07:25 AM.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  3. The Following User Says Thank You to Jason For This Useful Post:

    Lyoto Machida (03-20-2011)

  4. #3
    silentrunner2's Avatar
    Join Date
    Jun 2008
    Gender
    male
    Posts
    629
    Reputation
    110
    Thanks
    2,870
    My Mood
    Busy
    Quote Originally Posted by Jason View Post
    To get the "Next" button:

    [highlight=vb.net]
    Dim nextButton As HtmlElement = (From h As HtmlElement in WebBrowser1.Document.GetElementsByTagName("button" ) Where h.InnerText = "Next" Select h)(0)
    nextButton.invokemember("click")
    [/highlight]
    ah thanks dude will give it a try, wat about the password one i assume its similar to that, its the one i need the most.
    My Projects


    Don't Ask For Thanks Earn It
    You: "Please Give Thanks"
    Me: "...................No"

  5. #4
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by silentrunner2 View Post
    ah thanks dude will give it a try, wat about the password one i assume its similar to that, its the one i need the most.
    As far as I can see the ID for the password box is correct, I'll have a look soon.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  6. #5
    silentrunner2's Avatar
    Join Date
    Jun 2008
    Gender
    male
    Posts
    629
    Reputation
    110
    Thanks
    2,870
    My Mood
    Busy
    Quote Originally Posted by Jason View Post


    As far as I can see the ID for the password box is correct, I'll have a look soon.
    Yh its kinda freaking me out all are working except the password one, I like triple checked my code to make sure I didn't make some dum mistake and all seems clean, I type in my textbox but nothing happens lol. Thanks for that code btw works gd
    My Projects


    Don't Ask For Thanks Earn It
    You: "Please Give Thanks"
    Me: "...................No"

  7. #6
    Lyoto Machida's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Far away with girls
    Posts
    3,734
    Reputation
    133
    Thanks
    1,621
    My Mood
    Aggressive
    Quote Originally Posted by Jason View Post
    To get the "Next" button:

    [highlight=vb.net]
    Dim nextButton As HtmlElement = (From h As HtmlElement in WebBrowser1.Document.GetElementsByTagName("button" ) Where h.InnerText = "Next" Select h)(0)
    nextButton.invokemember("click")
    [/highlight]
    WOW Jason thats exactly what i need ! Thanks!

    But one question, The TagName is what? The button name? Or what?

  8. #7
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by -Away View Post


    WOW Jason thats exactly what i need ! Thanks!

    But one question, The TagName is what? The button name? Or what?
    No, the 'tagname' is the name of the HTML tags you want to get. In this case the tagname was "button"

    <button ...etc >
    ^^^^^
    TagName.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  9. The Following 2 Users Say Thank You to Jason For This Useful Post:

    Lyoto Machida (03-20-2011),silentrunner2 (03-20-2011)

  10. #8
    silentrunner2's Avatar
    Join Date
    Jun 2008
    Gender
    male
    Posts
    629
    Reputation
    110
    Thanks
    2,870
    My Mood
    Busy
    Anyideas about the password ID its all I need to finish the creator its really bugging me can't figure it out. Help out a noob in need, thanks for the help as usual jason I can see why your a minion.
    My Projects


    Don't Ask For Thanks Earn It
    You: "Please Give Thanks"
    Me: "...................No"

  11. #9
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Okay I found the problem, the people that made the site are a bit silly, they used the same ID "password" twice, a little splash of LINQ will help out again!

    [highlight=vb.net]
    Dim pword As HtmlElement = WebBrowser1.Document.GetElementsByTagName("input") .Cast(Of HtmlElement).Where(Function(h As HtmlElement) h.TabIndex = 5 AndAlso h.Id = "password").Single()
    pword.SetAttribute("value", "FIXEDIT")
    [/highlight]

    Enjoy!
    Last edited by Jason; 03-20-2011 at 10:45 AM.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  12. The Following 2 Users Say Thank You to Jason For This Useful Post:

    Lyoto Machida (03-20-2011),silentrunner2 (03-20-2011)

  13. #10
    silentrunner2's Avatar
    Join Date
    Jun 2008
    Gender
    male
    Posts
    629
    Reputation
    110
    Thanks
    2,870
    My Mood
    Busy
    Thanks dude check ur inbox its not much but my way of saying thanks.
    Last edited by silentrunner2; 03-20-2011 at 11:07 AM.
    My Projects


    Don't Ask For Thanks Earn It
    You: "Please Give Thanks"
    Me: "...................No"

  14. #11
    Lyoto Machida's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Far away with girls
    Posts
    3,734
    Reputation
    133
    Thanks
    1,621
    My Mood
    Aggressive
    Jason is just PRO!!!!!!!!

    Hope some day code like him

  15. #12
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Thread is marked as solved.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)