Jump to content
UBot Underground

Sockets, Socket Set Headers and Proxies....


Recommended Posts

To choose from a special Proxy System, i need to set a Request Header like "X-Proxy: 1.2.3.4". Basically, the power to do so is in uBot Studio (see "set user agent"), but there is no "freestyle" command to manipulate Headers.

 

"socket set header" wont do they trick, since the socket container doesnt work thr a proxy.

 

Anyone got an idea how to solve this dilemma? :-)

 

TIA and best wishes,

Tom

Link to post
Share on other sites

To choose from a special Proxy System, i need to set a Request Header like "X-Proxy: 1.2.3.4". Basically, the power to do so is in uBot Studio (see "set user agent"), but there is no "freestyle" command to manipulate Headers.

 

"socket set header" wont do they trick, since the socket container doesnt work thr a proxy.

 

Anyone got an idea how to solve this dilemma? :-)

 

TIA and best wishes,

Tom

 

I read in a Support Ticket that a proxy cannot be changed for socket containers.

 

However, if you are interested in modifying the socket headers you can certainly do so.  

 

In the following example, I have changed the HTTP_X_FORWARDED_FOR header.  For security reasons, this is a good header to change, since some recipients can determine if a client is simply switching to a different IP from within the same hosting server:

plugin command("SocketCommands.dll", "socket container") {
    plugin command("SocketCommands.dll", "socket set header", "x-forwarded-for", "5.6.7.8")
    plugin command("SocketCommands.dll", "socket navigate", "GET", "http://www.lagado.com/proxy-test")
    load html($plugin function("SocketCommands.dll", "$socket page html"))
}

Although the "x-forwarded-for" header is not in the drop down list, ubot studio 5 recognizes it ;)  Here is a listing of other headers you can toy with: http://security.stackexchange.com/questions/8721/benefits-of-identifying-clients-based-upon-the-x-forwarded-for-or-similar-http

 

I would like the option of being able to change proxies for socket containers, since it would lend for more successful robots to get around the technical aspects.

 

I hope at some point in the ubot development we can also change MIME plugins, screen size, and fonts.

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