Jump to content
UBot Underground

Newbie needs help with some basic proxy questions. Pls help.


Recommended Posts

Hi guys,


I need some clarifications regarding proxies -
I specifically want answers to these question - any help would be welcome.  :)

1. Can public proxies be - socks5 and socks4 type apart from normal http proxies?
2. Do all private proxies - require username and password for them to work?
3. Are all private proxies socks4/5 or can they be http too?

---------------------
4. Are the following code usages correct ?

For setting public proxies -
--------
If http proxies -
  change proxy(#proxytocheck)

if socks4 and socks5 can be public then -       
  change proxy("socks4://{#proxytocheck}")
  change proxy("socks5://{#proxytocheck}")
----------
for setting private proxies -
first of all -
  set proxy credentials(#username, #Password)
then -
  change proxy($random list item(%Privateproxies))
-----------
or

Is this the  standard format for private proxies ?
a list looking something like - PROXY : PORT  user : pw ?

In which case I would need to split the list items for use with both the above commands?

Thanks.

 

p.s - How do you guys handle all the variations in proxies in your bots? Do you have to cater to every permutation? - prvt/public/socks4 or 5/Is usrname-password -separate or part of list - in case of pvt etc?
 

Link to post
Share on other sites

2. yes

3. can be http

the proxy should be in ip:port format to be submitted to change proxy command (don't know about socks).

by default I personally request from customers to submit private proxies in ip:port:username:password format - this way it is very easy to extract ip,port, username and password and properly submit it in change proxy  and proxy credentials commands

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