Jump to content
UBot Underground

Exbrowser Change Attribute Hotmail


Recommended Posts

have some problem with changing attribute via ExBrowser for hotmail.com sign up page

 

current code:

plugin command("ExBrowser.dll", "ExBrowser CleanUp")
plugin command("ExBrowser.dll", "ExBrowser Launcher", "Firefox", "", "")
plugin command("ExBrowser.dll", "ExBrowser Navigate", "https://signup.live.com/signup")
plugin command("ExBrowser.dll", "ExBrowser Wait For Dom Ready", 10)
plugin command("ExBrowser.dll", "ExBrowser Type Text (Human Delay)", "x://input[@id=\'MemberName\']", $account data("Username"), 1, 100)
plugin command("ExBrowser.dll", "ExBrowser Click", "x://input[@id=\'Password\']")
wait($rand(3,5))
loop(5) {
    if($plugin function("ExBrowser.dll", "$ExBrowser Element Exist", "x://a[@id=\'suggLink\']")) {
        then {
            reset account("Any")
            plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://input[@id=\'MemberName\']", "value", $account data("Username"))
        }
    }
}

so, what i need is to change username if current one is not available but dont find the solution with ExBrowser

if username1 is not validate change to username2 ...

 

I would appreciate someone for help

Link to post
Share on other sites
  • 2 weeks later...

This will get you past the email field:

plugin command("ExBrowser.dll", "ExBrowser CleanUp")
plugin command("ExBrowser.dll", "ExBrowser Launcher", "Chrome", "", "")
plugin command("ExBrowser.dll", "ExBrowser Navigate", "https://signup.live.com/signup")
wait(20)
plugin command("ExBrowser.dll", "ExBrowser Move Mouse", "x://a[@id=\"liveEasiSwitch\"]")
plugin command("ExBrowser.dll", "ExBrowser Click", "x://a[@id=\"liveEasiSwitch\"]")
plugin command("ExBrowser.dll", "ExBrowser Type Text (Human Delay)", "x://input[@id=\'MemberName\']", "{$account data("Username")}{$rand(212,987)}", 1, 100)
plugin command("ExBrowser.dll", "ExBrowser Send Special Key", "x://body", "Tab")
plugin command("ExBrowser.dll", "ExBrowser Click", "x://input[@id=\'Password\']")
wait($rand(3,5))
stop script
loop(5) {
    if($plugin function("ExBrowser.dll", "$ExBrowser Element Exist", "x://a[@id=\'suggLink\']")) {
        then {
            reset account("Any")
            plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://input[@id=\'MemberName\']", "value", $account data("Username"))
        }
    }
} 

The easy way to get through stuff like this is to do it manually, write it down, then code your actions one by one, helped me out immensely using this little trick.  

Do one step and put 'stop script' after it and move along one step at a time. 

 
Peace,

LJ


That 20 second pause is annoying so you can probably trim that down a bit...

Link to post
Share on other sites

This will get you past the email field:

plugin command("ExBrowser.dll", "ExBrowser CleanUp")
plugin command("ExBrowser.dll", "ExBrowser Launcher", "Chrome", "", "")
plugin command("ExBrowser.dll", "ExBrowser Navigate", "https://signup.live.com/signup")
wait(20)
plugin command("ExBrowser.dll", "ExBrowser Move Mouse", "x://a[@id=\"liveEasiSwitch\"]")
plugin command("ExBrowser.dll", "ExBrowser Click", "x://a[@id=\"liveEasiSwitch\"]")
plugin command("ExBrowser.dll", "ExBrowser Type Text (Human Delay)", "x://input[@id=\'MemberName\']", "{$account data("Username")}{$rand(212,987)}", 1, 100)
plugin command("ExBrowser.dll", "ExBrowser Send Special Key", "x://body", "Tab")
plugin command("ExBrowser.dll", "ExBrowser Click", "x://input[@id=\'Password\']")
wait($rand(3,5))
stop script
loop(5) {
    if($plugin function("ExBrowser.dll", "$ExBrowser Element Exist", "x://a[@id=\'suggLink\']")) {
        then {
            reset account("Any")
            plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://input[@id=\'MemberName\']", "value", $account data("Username"))
        }
    }
} 

The easy way to get through stuff like this is to do it manually, write it down, then code your actions one by one, helped me out immensely using this little trick.  

 

Do one step and put 'stop script' after it and move along one step at a time. 

 

Peace,

LJ

That 20 second pause is annoying so you can probably trim that down a bit...

 

Thanks for your reply but still script is not working, again the problem is in Change Attribute Element

 

part of your code that dont work:

plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://input[@id=\'MemberName\']", "value", $account data("Username"))

the Xpath expresion  "x://input[@id=\'MemberName\']" is correct and work for ExBrowser Type Text (Human Delay) but its not working for ExBrowser Change Attribute

 

The problem should be in hotmail page source, ive look throw the html page source and there username not apear there in any way

Link to post
Share on other sites

Thanks for your reply but still script is not working, again the problem is in Change Attribute Element

 

part of your code that dont work:

plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://input[@id=\'MemberName\']", "value", $account data("Username"))

the Xpath expresion  "x://input[@id=\'MemberName\']" is correct and work for ExBrowser Type Text (Human Delay) but its not working for ExBrowser Change Attribute

 

The problem should be in hotmail page source, ive look throw the html page source and there username not apear there in any way

 

If type text works, just use type text. There is no advantage in using change element really.

It always depends on how the site is coded. Some sites only work with type text. Because there is javascript that checks user inputs.

On some sites you have to move the mouse to the element first. On some sites you have to click into the element first. 

 

Just test all the available options and pick the one that works. 

 

And type text is the clearner approach. It uses a direct API. Change attribute is using javascript. 

 

PS: For ExBrowser support, please use support(ad)bot-factory.com  if you need direct help. Or post your question in the ExBrowser thread. If you open a  new thread, it's very easy to miss that.

 

Hope that helps

Dan

Link to post
Share on other sites
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...