Jump to content
UBot Underground

Recommended Posts

Allowed proxy formats

IP:PORT

IP:PORT:USER:PASS

socks4://IP:PORT

socks4://IP:PORT:USER:PASS

 

 

Organize your proxys into a list

    clear list(%proxys)
    add list to list(%proxys$list from file("{$special folder("Application")}\\Data\\proxys.txt"), "Delete""Global")

 

 

 

Proxy Procedure listed below will break down a proxy, and decide how it should use the proxy.  Call proxy procedure where you want to change your proxy in your code

 

define proxy procedure {
    if($comparison(%proxys"!="$nothing)) {
        then {
            clear list(%proxy breakdown)
            add list to list(%proxy breakdown$list from text($random list item(%proxys), ":"), "Don't delete""Global")
            if($comparison($list total(%proxy breakdown), "=", 4)) {
                then {
                    set proxy credentials($list item(%proxy breakdown, 2), $list item(%proxy breakdown, 3))
                    change proxy("{$list item(%proxy breakdown, 0)}:{$list item(%proxy breakdown, 1)}")
                }
                else if($comparison($list total(%proxy breakdown), "=", 5)) {
                    set proxy credentials($list item(%proxy breakdown, 3), $list item(%proxy breakdown, 4))
                    change proxy("{$list item(%proxy breakdown, 0)}:{$list item(%proxy breakdown, 1)}:{$list item(%proxy breakdown, 2)}")
                }
                else if($comparison($list total(%proxy breakdown), "=", 3)) {
                    change proxy("{$list item(%proxy breakdown, 0)}:{$list item(%proxy breakdown, 1)}:{$list item(%proxy breakdown, 2)}")
                }
                else {
                    change proxy("{$list item(%proxy breakdown, 0)}:{$list item(%proxy breakdown, 1)}")
                }
            }
            wait(1)
        }
        else {
        }
    }
}

  • Like 4
Link to post
Share on other sites

I just wanted to say that you have a potential bug in this line:

add list to list(%proxy breakdown, $list from text($random list item(%proxys), ":"), "Delete", "Global")

You should change parameter of "add list to list" from "Delete" to "Don't delete", since this code would fail if username is the same as password.

Link to post
Share on other sites

IP;PORT:USER:PASS

 

Is this correct?

";"

 

Between the Ip and Port

 

no ill fix it should be :

 

I just wanted to say that you have a potential bug in this line:

add list to list(%proxy breakdown, $list from text($random list item(%proxys), ":"), "Delete", "Global")

You should change parameter of "add list to list" from "Delete" to "Don't delete", since this code would fail if username is the same as password.

thanks you are correct

Link to post
Share on other sites
  • 2 years 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...