Jump to content
UBot Underground

Checking Sign Up


Recommended Posts

I want to make sure when I sign up to a site, in this case Wikis, that the sign up is correct. Since many Wikis are in other languages than English, the only way to check is by searching for the username used. However, it doesn't work. I don't know how many different ways I have tried. The result is always the same, it doesn't find the username.

 

For example you could try to scrape the following attribute (in German):

 

<a href="/mediawiki/index.php?title=Benutzer:Dfgdfg" title="Eigene Benutzerseite [alt-.]" accesskey="." class="new">Username</a>

 

from this site: http://computerschule-niederrad.de:7080/mediawiki/index.php?title=Spezial:Anmelden&type=signup

 

The username is also present in a headline, but that didn't work either. I have tried to use the document text and other ways to verify the sign up, but to no avail.

 

Any help welcome!

Link to post
Share on other sites

This is working for me...

 

navigate("http://computerschule-niederrad.de:7080/mediawiki/index.php?title=Spezial:Anmelden&type=signup", "Wait")
set(#username, "{$account data("Username")}{$rand(01, 100)}", "Global")
set(#password, $account data("Password"), "Global")
run javascript("document.getElementsByName(\"wpName\")[0].value =\"{#username}\";")
run javascript("document.getElementById(\"wpPassword2\").value =\"{#password}\";")
run javascript("document.getElementById(\"wpRetype\").value =\"{#password}\";")
run javascript("document.getElementById(\"wpEmail\").value =\"{$account data("Email")}\";")
run javascript("document.getElementById(\"wpRealName\").value =\"{$account data("First name")} {$account data("Last name")}\";")
click(<name="wpCreateaccount">, "Left Click", "No")
wait(3)
wait for browser event("Page Loaded", "")
if($exists(<id="pt-userpage">)) {
   then {
       add item to list(%results, "{$url},{#username},{#password}", "Delete", "Global")
   }
}

 

HTH,

Justin

Link to post
Share on other sites

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...