abs0lut3z33r0 Posted February 7, 2012 Share Posted February 7, 2012 (edited) .I am getting the following error on sslstrip 0.8 and 0.9 on backtrack5 . SSLStrip runs successfuly for sometime (1-2mins) then it crashes with a successful sslstrip.log sslstrip 0.8 by Moxie Marlinspike running... Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite why = getattr(selectable, method)() File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 460, in doRead return self.protocol.dataReceived(data) File "/usr/lib/python2.6/dist-packages/twisted/protocols/basic.py", line 259, in dataReceived return self.rawDataReceived(data) File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 537, in rawDataReceived self.handleResponseEnd() File "/pentest/web/sslstrip/sslstrip/ServerConnection.py", line 110, in handleResponseEnd HTTPClient.handleResponseEnd(self) File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 500, in handleResponseEnd self.handleResponse(B) File "/pentest/web/sslstrip/sslstrip/ServerConnection.py", line 121, in handleResponse self.shutdown() File "/pentest/web/sslstrip/sslstrip/ServerConnection.py", line 141, in shutdown self.client.finish() File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 900, in finish "Request.finish called on a request after its connection was lost; " exceptions.RuntimeError: Request.finish called on a request after its connection was lost; use Request.notifyFinish to keep track of this. Traceback (most recent call last): File "./sslstrip.py", line 105, in main reactor.run() File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1170, in run self.mainLoop() File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1182, in mainLoop self.doIteration(t) File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 140, in doSelect _logrun(selectable, _drdw, selectable, method, dict) --- <exception caught here> --- File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 156, in _doReadOrWrite self._disconnectSelectable(selectable, why, method=="doRead") File "/usr/lib/python2.6/dist-packages/twisted/internet/posixbase.py", line 191, in _disconnectSelectable selectable.readConnectionLost(f) File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 508, in readConnectionLost self.connectionLost(reason) File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 677, in connectionLost Connection.connectionLost(self, reason) File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 519, in connectionLost protocol.connectionLost(reason) File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 489, in connectionLost self.handleResponseEnd() File "/pentest/web/sslstrip/sslstrip/ServerConnection.py", line 110, in handleResponseEnd HTTPClient.handleResponseEnd(self) File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 500, in handleResponseEnd self.handleResponse(B) File "/pentest/web/sslstrip/sslstrip/ServerConnection.py", line 121, in handleResponse self.shutdown() File "/pentest/web/sslstrip/sslstrip/ServerConnection.py", line 141, in shutdown self.client.finish() File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 900, in finish "Request.finish called on a request after its connection was lost; " exceptions.RuntimeError: Request.finish called on a request after its connection was lost; use Request.notifyFinish to keep track of this. Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite why = getattr(selectable, method)() File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 460, in doRead return self.protocol.dataReceived(data) File "/usr/lib/python2.6/dist-packages/twisted/protocols/basic.py", line 259, in dataReceived return self.rawDataReceived(data) File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 537, in rawDataReceived self.handleResponseEnd() File "/pentest/web/sslstrip/sslstrip/ServerConnection.py", line 110, in handleResponseEnd HTTPClient.handleResponseEnd(self) File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 500, in handleResponseEnd self.handleResponse(B) File "/pentest/web/sslstrip/sslstrip/ServerConnection.py", line 121, in handleResponse self.shutdown() File "/pentest/web/sslstrip/sslstrip/ServerConnection.py", line 141, in shutdown self.client.finish() File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 900, in finish "Request.finish called on a request after its connection was lost; " exceptions.RuntimeError: Request.finish called on a request after its connection was lost; use Request.notifyFinish to keep track of this. Edited February 7, 2012 by abs0lut3z33r0 Quote Link to comment Share on other sites More sharing options...
Diggs Posted February 7, 2012 Share Posted February 7, 2012 This is kind of a known issue with sslstrip. It shows up when an ssl connection has been closed at an unexpected time. It pops up pretty regularly, but can be ignored. I would suggest to upgrading it to 0.9 which is the most recent version: http://www.thoughtcrime.org/software/sslstrip/ I would also make sure that ettercap is upgraded if you are using it. Otherwise it acts really funny with newer versions of the Linux kernel. Quote Link to comment Share on other sites More sharing options...
abs0lut3z33r0 Posted February 8, 2012 Author Share Posted February 8, 2012 I have tried 0.9 , i get the same errors on that too . Which vs. of kernel did it work fine? Quote Link to comment Share on other sites More sharing options...
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.