Jump to content
UBot Underground

Recommended Posts

HELP!!!

 

I am working with a csv file of wordpress domains, usernames & passwords that I would like to loop through to perform certain functions. I am stuck at incrementing to the next site. Here is the code I'm working with:

 

clear table(&test)

create table from file("C:\\ubot\\domains.csv", &test)

loop($table total rows(&test)) {

navigate("{$table cell(&test, 1, 0)}/wp-admin/", "Wait")

type text(<username field>, $table cell(&test, 1, 1), "Standard")

type text(<password field>, $table cell(&test, 1, 2), "Standard")

click(<name="wp-submit">, "Left Click", "No")

increment(#test)

}

 

The increment(#test) is obviously wrong but I can't figure out how to get it looping in v.4. I thought it was relatively straight forward in v.3... what am I overlooking? Seems like it should be something simple but it is eluding me... :blink:

 

Thanks in advance,

Duane

Link to post
Share on other sites

HELP!!!

 

I am working with a csv file of wordpress domains, usernames & passwords that I would like to loop through to perform certain functions. I am stuck at incrementing to the next site. Here is the code I'm working with:

 

 

 

The increment(#test) is obviously wrong but I can't figure out how to get it looping in v.4. I thought it was relatively straight forward in v.3... what am I overlooking? Seems like it should be something simple but it is eluding me... :blink:

 

Thanks in advance,

Duane

Good question! I need to know this too.

Link to post
Share on other sites

You need to put the row in variable so you can increase its value. check the code below

 

clear table(&test)
create table from file("C:\\ubot\\domains.csv", &test)
set(#currentrow, 0, "Global")
loop($table total rows(&test)) {
   navigate("{$table cell(&test, #currentrow, 0)}/wp-admin/", "Wait")
   type text(<username field>, $table cell(&test, #currentrow, 1), "Standard")
   type text(<password field>, $table cell(&test, #currentrow, 2), "Standard")
   click(<name="wp-submit">, "Left Click", "No")
   increment(#currentrow)
}

  • Like 1
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...