Jump to content
UBot Underground

Need help again on small bot


Recommended Posts

Hello,

Im needing help again as I build my first bot, below is the code I have so far, but again Im having trouble generating phone numbers for yandex. Im also trying to figure out how to save each email and password I generate to a file, but I am just not getting it. Any help will be appreciated.

 

navigate("https://passport.yandex.com/registration/mail?from=mail&require_hint=1&origin=hostroot_crpt_reliable&retpath=https%3A%2F%2Fpassport.yandex.com%2Fpassport%3Fmode%3Dsubscribe%26from%3Dmail%26retpath%3Dhttps%253A%252F%252Fmail.yandex.com""Wait")
type text(<first name field>$account data("First Name"), "Standard")
type text(<last name field>$account data("Last Name"), "Standard")
type text(<name="login">$account data("Username"), "Standard")
type text($element offset(<password field>, 0), $account data("Password"), "Standard")
type text($element offset(<password field>, 1), $account data("Password"), "Standard")
change dropdown(<name="hint_question_id">"Random")
type text(<name="hint_answer">"Some lame answer""Standard")
type text(<phone field>"""Standard")
type text(<name="answer">$solve captcha(<class="captcha__captcha__text">), "Standard")

Link to post
Share on other sites

EDIT

I finally figured out the phone number issue, I was trying to add a 1 in front of the area code, and Yandex only wants 10 digets.

 

Hi,

Ok, Im now using the (rand) function with loop and its now generating the 11 digits but Yandex is still saying it is not a valid number. As far as I can tell Yandex is wanting a 11 digit number, but its still telling me it invalid?

 

navigate("https://passport.yandex.com/registration/mail?from=mail&require_hint=1&origin=hostroot_crpt_reliable&retpath=https%3A%2F%2Fpassport.yandex.com%2Fpassport%3Fmode%3Dsubscribe%26from%3Dmail%26retpath%3Dhttps%253A%252F%252Fmail.yandex.com""Wait")
type text(<first name field>$account data("First Name"), "Standard")
type text(<last name field>$account data("Last Name"), "Standard")
type text(<name="login">$account data("Username"), "Standard")
type text($element offset(<password field>, 0), $account data("Password"), "Standard")
type text($element offset(<password field>, 1), $account data("Password"), "Standard")
change dropdown(<name="hint_question_id">"Random")
type text(<name="hint_answer">"Some lame answer""Standard")
loop(11) {
    type text(<phone field>$rand(1, 9), "Standard")
}
type text(<name="answer">$solve captcha(<class="captcha__captcha__text">), "Standard")

Link to post
Share on other sites

EDIT

I finally figured out the phone number issue, I was trying to add a 1 in front of the area code, and Yandex only wants 10 digets.

 

Hi,

Ok, Im now using the (rand) function with loop and its now generating the 11 digits but Yandex is still saying it is not a valid number. As far as I can tell Yandex is wanting a 11 digit number, but its still telling me it invalid?

 

navigate("https://passport.yandex.com/registration/mail?from=mail&require_hint=1&origin=hostroot_crpt_reliable&retpath=https%3A%2F%2Fpassport.yandex.com%2Fpassport%3Fmode%3Dsubscribe%26from%3Dmail%26retpath%3Dhttps%253A%252F%252Fmail.yandex.com""Wait")

type text(<first name field>$account data("First Name"), "Standard")

type text(<last name field>$account data("Last Name"), "Standard")

type text(<name="login">$account data("Username"), "Standard")

type text($element offset(<password field>, 0), $account data("Password"), "Standard")

type text($element offset(<password field>, 1), $account data("Password"), "Standard")

change dropdown(<name="hint_question_id">"Random")

type text(<name="hint_answer">"Some lame answer""Standard")

loop(11) {

    type text(<phone field>$rand(1, 9), "Standard")

}

type text(<name="answer">$solve captcha(<class="captcha__captcha__text">), "Standard")

 

Looks like they have some algorithms to check if the phone number is valid or not.

You have to generate the number in a proper way.

 

You can get some ideas about the correct structure here:

http://fakenumber.org/

 

Dan

Link to post
Share on other sites

EDIT

I finally figured out the phone number issue, I was trying to add a 1 in front of the area code, and Yandex only wants 10 digets.

 

Hi,

Ok, Im now using the (rand) function with loop and its now generating the 11 digits but Yandex is still saying it is not a valid number. As far as I can tell Yandex is wanting a 11 digit number, but its still telling me it invalid?

 

navigate("https://passport.yandex.com/registration/mail?from=mail&require_hint=1&origin=hostroot_crpt_reliable&retpath=https%3A%2F%2Fpassport.yandex.com%2Fpassport%3Fmode%3Dsubscribe%26from%3Dmail%26retpath%3Dhttps%253A%252F%252Fmail.yandex.com""Wait")

type text(<first name field>$account data("First Name"), "Standard")

type text(<last name field>$account data("Last Name"), "Standard")

type text(<name="login">$account data("Username"), "Standard")

type text($element offset(<password field>, 0), $account data("Password"), "Standard")

type text($element offset(<password field>, 1), $account data("Password"), "Standard")

change dropdown(<name="hint_question_id">"Random")

type text(<name="hint_answer">"Some lame answer""Standard")

loop(11) {

    type text(<phone field>$rand(1, 9), "Standard")

}

type text(<name="answer">$solve captcha(<class="captcha__captcha__text">), "Standard")

also save passwords and usernames to a variable first for use and then use in your code instead of account data. they then can be used for saving later for example

 

ui save file("completed account save location"#uisavelocation)

reset account("Any")

set(#username$account data("Username"), "Global")

set(#password$account data("Password"), "Global")

comment("your signup code here with account data replaced by #username #password")

if($exists(<something on the signup complete page>)) {

    then {

        add item to list(%complete_accounts"{#username}:{#password}""Delete""Global")

    }

}

save to file(#uisavelocation%complete_accounts)

Link to post
Share on other sites

Hi,

Thankyou for all the help, I have another question, can you explain about this section of your example code?

 

comment("your signup code here with account data replaced by #username #password")

Im not sure what Im supposed to do with that section, below is what I have so far, but Im sure it isn't correct lol, because it isnt saving any of the created emails so Im sure Im doing something wrong.

 

ui save file("completed account save location"#uisavelocation)

reset account("Any")
set(#username$account data("Username"), "Global")
set(#password$account data("Password"), "Global")
comment("your signup code here with account data replaced by #username #password")
if($exists(<something on the signup complete page>)) {
    then {
        add item to list(%complete_accounts"{#username}:{#password}""Delete""Global")
    }
}
save to file(#uisavelocation%complete_accounts)
clear cookies
navigate("https://passport.yandex.com/registration/mail?from=mail&require_hint=1&origin=hostroot_crpt_reliable&retpath=https%3A%2F%2Fpassport.yandex.com%2Fpassport%3Fmode%3Dsubscribe%26from%3Dmail%26retpath%3Dhttps%253A%252F%252Fmail.yandex.com""Wait")
type text(<first name field>$account data("First Name"), "Standard")
type text(<last name field>$account data("Last Name"), "Standard")
type text(<name="login">#username"Standard")
type text($element offset(<password field>, 0), #password"Standard")
type text($element offset(<password field>, 1), #password"Standard")
change dropdown(<name="hint_question_id">"Random")
type text(<name="hint_answer">$random text(15), "Standard")
loop(1) {
    type text(<phone field>$rand(2, 2), "Standard")
    loop(1) {
        type text(<phone field>$rand(1, 1), "Standard")
        loop(1) {
            type text(<phone field>$rand(4, 4), "Standard")
            loop(7) {
                type text(<phone field>$rand(1, 9), "Standard")
            }
        }
    }
}
type text(<name="answer">$solve captcha(<class="captcha__captcha__text">), "Standard")
wait for element(<name="answer">"""Appear")
click(<create account button>"Left Click""No")

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