Jump to content
UBot Underground

Need Help With $List From Text


Recommended Posts

Hey guys. I bumped in small problem and need some help. I was building the bot to check some accounts on some portal and there was problem with $list from file!

 

my usernames and passwords are in format of:

username:password

 

All working fine, BUT if i have account where username and password are the same value, it reads only username and nothing after that or delimiter.

 

What can i do to fix this and get username and password on each account even if they are same value?

Link to post
Share on other sites

if you are putting them is a list (un and pw) you rill need to change advance setting to don't delete

 

add list to list(%u n p,%something,"Don\'t Delete","Global")

 

                                                             ^^^^

 

 

otherwise, if you  provide a snippet of code one could see exactly what the issue may be

 

CD

  • Like 1
Link to post
Share on other sites

You need to add them to another list and split them by : as the delimiter, here is an example:

clear list(%accounts)
comment("I\'m just adding this here for the example but you can
use list from file")
add list to list(%accounts,$list from text("username:password",$new line),"Delete","Global")
divider
comment("Code below is relevant to your issue")
clear list(%cur_account)
comment("Set : as the delimited to split the username and password")
add list to list(%cur_account,$list from text($next list item(%accounts),":"),"Delete","Global")
set(#username,$list item(%cur_account,0),"Global")
set(#password,$list item(%cur_account,1),"Global")
  • Like 1
Link to post
Share on other sites

Thank you guys for your time. I fixed it other way around, but this must be some bug. Everything is working just fine except when i have line like value:value, then data after delimiter just doesn't exist. In case value:value2 or any other, everything is fine...

 

So what i done is, i added extra characters to every line (like xyz22) then after use set > $replace xyz22 with nothing and i have it working :D Funny way arround but it works LOL

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