Way to use proxies & login to site?

Kushal Kumaran kushal.kumaran+python at gmail.com
Sat Jun 6 10:16:09 CEST 2009


On Fri, Jun 5, 2009 at 10:32 PM, inVINCable <inVINCEable667 at gmail.com> wrote:
> On May 5, 12:51 pm, Kushal Kumaran <kushal.kuma... at gmail.com> wrote:
>> On Wed, Apr 29, 2009 at 8:21 AM, inVINCable <inVINCEable... at gmail.com> wrote:
>> > On Apr 27, 7:40 pm, inVINCable <inVINCEable... at gmail.com> wrote:
>> >> Hello,
>>
>> >> I have been using ClientForm to log in to sites & ClientCookie so I
>> >> can automatically log into my site to do some penetration testing,
>> >> although, I cannot figure out a solution to use proxies with this
>> >> logging in automatically. Does anyone have any solutions?
>>
>> >> Thanks :)
>>
>> >> Vince
>>
>> > Any ideas?
>>
>> If, like the example athttp://wwwsearch.sourceforge.net/ClientForm/,
>> you are using urllib2, you can read the documentation for that module.
>>  It also has examples for working with proxies.
>>
>
> Ok, I gotcha. Sounds neat, but the problem is, do you know if I can
> work with proxies and then connect to a site?

You can, if you read the examples section in the urllib2 documentation.

http://docs.python.org/library/urllib2.html

-- 
kushal



More information about the Python-list mailing list