widatec 0 Posted September 10, 2014 Report Share Posted September 10, 2014 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 Quote Link to post Share on other sites
null_datatype 0 Posted September 13, 2014 Report Share Posted September 13, 2014 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.