moxie0 / sslstrip

A tool for exploiting Moxie Marlinspike's SSL "stripping" attack.
http://www.thoughtcrime.org/software/sslstrip/
GNU General Public License v3.0
1.91k stars 428 forks source link

after running for some time, errors appear #25

Open majed17 opened 4 years ago

majed17 commented 4 years ago

`sslstrip -l 8080

sslstrip 0.9 by Moxie Marlinspike running... Unhandled Error Traceback (most recent call last): File "/usr/bin/sslstrip", line 105, in main reactor.run() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1267, in run self.mainLoop() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1279, in mainLoop self.doIteration(t) File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 235, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- --- File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 103, in callWithLogger return callWithContext({"system": lp}, func, *args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext return context.call({ILogContext: newCtx}, func, *args, *kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext return self.currentContext().callWithContext(ctx, func, args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext return func(*args,**kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 252, in _disconnectSelectable selectable.readConnectionLost(f) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 307, in readConnectionLost self.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 519, in connectionLost self._commonConnection.connectionLost(self, reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 327, in connectionLost protocol.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 596, in connectionLost self.handleResponseEnd() File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 119, in handleResponseEnd HTTPClient.handleResponseEnd(self) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 607, in handleResponseEnd self.handleResponse(b) File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 133, in handleResponse self.client.write(data) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1122, in write self.channel.writeHeaders(version, code, reason, headers) exceptions.AttributeError: 'NoneType' object has no attribute 'writeHeaders'

Unhandled Error Traceback (most recent call last): File "/usr/bin/sslstrip", line 105, in main reactor.run() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1267, in run self.mainLoop() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1279, in mainLoop self.doIteration(t) File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 235, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- --- File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 103, in callWithLogger return callWithContext({"system": lp}, func, *args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext return context.call({ILogContext: newCtx}, func, *args, *kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext return self.currentContext().callWithContext(ctx, func, args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext return func(*args,**kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 252, in _disconnectSelectable selectable.readConnectionLost(f) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 307, in readConnectionLost self.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 519, in connectionLost self._commonConnection.connectionLost(self, reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 327, in connectionLost protocol.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 596, in connectionLost self.handleResponseEnd() File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 119, in handleResponseEnd HTTPClient.handleResponseEnd(self) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 607, in handleResponseEnd self.handleResponse(b) File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 133, in handleResponse self.client.write(data) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1122, in write self.channel.writeHeaders(version, code, reason, headers) exceptions.AttributeError: 'NoneType' object has no attribute 'writeHeaders'

Unhandled Error Traceback (most recent call last): File "/usr/bin/sslstrip", line 105, in main reactor.run() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1267, in run self.mainLoop() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1279, in mainLoop self.doIteration(t) File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 235, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- --- File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 103, in callWithLogger return callWithContext({"system": lp}, func, *args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext return context.call({ILogContext: newCtx}, func, *args, *kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext return self.currentContext().callWithContext(ctx, func, args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext return func(*args,**kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 252, in _disconnectSelectable selectable.readConnectionLost(f) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 307, in readConnectionLost self.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 519, in connectionLost self._commonConnection.connectionLost(self, reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 327, in connectionLost protocol.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 596, in connectionLost self.handleResponseEnd() File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 119, in handleResponseEnd HTTPClient.handleResponseEnd(self) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 607, in handleResponseEnd self.handleResponse(b) File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 133, in handleResponse self.client.write(data) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1122, in write self.channel.writeHeaders(version, code, reason, headers) exceptions.AttributeError: 'NoneType' object has no attribute 'writeHeaders'

Unhandled Error Traceback (most recent call last): File "/usr/bin/sslstrip", line 105, in main reactor.run() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1267, in run self.mainLoop() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1279, in mainLoop self.doIteration(t) File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 235, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- --- File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 103, in callWithLogger return callWithContext({"system": lp}, func, *args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext return context.call({ILogContext: newCtx}, func, *args, *kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext return self.currentContext().callWithContext(ctx, func, args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext return func(*args,**kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 252, in _disconnectSelectable selectable.readConnectionLost(f) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 307, in readConnectionLost self.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 519, in connectionLost self._commonConnection.connectionLost(self, reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 327, in connectionLost protocol.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 596, in connectionLost self.handleResponseEnd() File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 119, in handleResponseEnd HTTPClient.handleResponseEnd(self) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 607, in handleResponseEnd self.handleResponse(b) File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 133, in handleResponse self.client.write(data) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1122, in write self.channel.writeHeaders(version, code, reason, headers) exceptions.AttributeError: 'NoneType' object has no attribute 'writeHeaders'

Unhandled Error Traceback (most recent call last): File "/usr/bin/sslstrip", line 105, in main reactor.run() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1267, in run self.mainLoop() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1279, in mainLoop self.doIteration(t) File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 235, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- --- File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 103, in callWithLogger return callWithContext({"system": lp}, func, *args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext return context.call({ILogContext: newCtx}, func, *args, *kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext return self.currentContext().callWithContext(ctx, func, args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext return func(*args,**kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 252, in _disconnectSelectable selectable.readConnectionLost(f) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 307, in readConnectionLost self.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 519, in connectionLost self._commonConnection.connectionLost(self, reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 327, in connectionLost protocol.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 596, in connectionLost self.handleResponseEnd() File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 119, in handleResponseEnd HTTPClient.handleResponseEnd(self) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 607, in handleResponseEnd self.handleResponse(b) File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 133, in handleResponse self.client.write(data) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1122, in write self.channel.writeHeaders(version, code, reason, headers) exceptions.AttributeError: 'NoneType' object has no attribute 'writeHeaders'

Unhandled Error Traceback (most recent call last): File "/usr/bin/sslstrip", line 105, in main reactor.run() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1267, in run self.mainLoop() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1279, in mainLoop self.doIteration(t) File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 235, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- --- File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 103, in callWithLogger return callWithContext({"system": lp}, func, *args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext return context.call({ILogContext: newCtx}, func, *args, *kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext return self.currentContext().callWithContext(ctx, func, args, kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext return func(*args,**kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 252, in _disconnectSelectable selectable.readConnectionLost(f) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 307, in readConnectionLost self.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 519, in connectionLost self._commonConnection.connectionLost(self, reason) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 327, in connectionLost protocol.connectionLost(reason) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 596, in connectionLost self.handleResponseEnd() File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 119, in handleResponseEnd HTTPClient.handleResponseEnd(self) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 607, in handleResponseEnd self.handleResponse(b) File "/usr/share/sslstrip/sslstrip/ServerConnection.py", line 133, in handleResponse self.client.write(data) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1122, in write self.channel.writeHeaders(version, code, reason, headers) exceptions.AttributeError: 'NoneType' object has no attribute 'writeHeaders' `