Post Reply 
ProxHTTPSProxy, a Proxomitron SSL Helper Program
Jun. 01, 2010, 04:03 AM
Post: #84
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(Jun. 01, 2010 02:59 AM)whenever Wrote:  I forgot to set the socket back to blocking mode. Banging Head
Fixed.

I think you are doing great. This isn't... It's suppose to be some kind of fun. Wink Don't forget to play with the kid.

(Jun. 01, 2010 02:59 AM)whenever Wrote:  
(May. 31, 2010 08:32 PM)JJoe Wrote:  It looks like it has to be long enough to allow interaction with the SSL warning dialogs, "Allow for Session"? If I wait to click more than ssl_sock.settimeout, I have to reload the page.

Well, even 1 hour is not long enough. The socket should block forever until we finish interaction with the SSL warning dialogs. Should be fixed in version 0.1b.

Appears to be fixed. I do still need a ssl_sock.settimeout of .2 to get all the yahoo cookies.

I'm testing at https://ssl.scroogle.org/ , https://login.yahoo.com/ , https://bugzilla.mozilla.org/ , https://developer.mozilla.org/ .

What do you see at https://developer.mozilla.org/ ?
I see

Code:
New Message Log Window....

+++GET 1+++
Using Proxy - 127.0.0.1:8081
CONNECT https://developer.mozilla.org:443/ HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20
Proxy-Connection: keep-alive
Host: developer.mozilla.org
Loaded: OpenSSL 0.9.8 05 Jul 2005

+++SSL:GET 1+++
Using Proxy - 127.0.0.1:8081
SSL cipher TLSv1 AES256-SHA (256 bits)
GET https://developer.mozilla.org:443/ HTTP/1.1
Host: developer.mozilla.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
HTTP/1.0 200 Connection established
HTTP/1.0 Proxy-agent: HTTPSProxy/0.1b Python/2.6.5
SSL Verify: [1:60900360] error number 60900360

and

Code:
Exception happened during processing of request from ('127.0.0.1', 59345)
Traceback (most recent call last):
  File "C:\Python26\lib\SocketServer.py", line 558, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Python26\lib\SocketServer.py", line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Python26\lib\SocketServer.py", line 615, in __init__
    self.handle()
  File "C:\Python26\lib\BaseHTTPServer.py", line 329, in handle
    self.handle_one_request()
  File "C:\Python26\lib\BaseHTTPServer.py", line 323, in handle_one_request
    method()
  File "C:\Users\E3\Programs\HTTPSProxy 0.1\HTTPSProxy.py", line 110, in do_CONN
ECT
    resp = opener.open(req)
  File "C:\Python26\lib\urllib2.py", line 397, in open
    response = meth(req, response)
  File "C:\Python26\lib\urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python26\lib\urllib2.py", line 429, in error
    result = self._call_chain(*args)
  File "C:\Python26\lib\urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "C:\Python26\lib\urllib2.py", line 605, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "C:\Python26\lib\urllib2.py", line 391, in open
    response = self._open(req, data)
  File "C:\Python26\lib\urllib2.py", line 409, in _open
    '_open', req)
  File "C:\Python26\lib\urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "C:\Python26\lib\urllib2.py", line 1161, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "C:\Python26\lib\urllib2.py", line 1134, in do_open
    r = h.getresponse()
  File "C:\Python26\lib\httplib.py", line 986, in getresponse
    response.begin()
  File "C:\Python26\lib\httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "C:\Python26\lib\httplib.py", line 355, in _read_status
    raise BadStatusLine(line)
BadStatusLine
----------------------------------------

Loads without HTTPSProxy.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program - JJoe - Jun. 01, 2010 04:03 AM

Forum Jump: