Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: What's this error in sslstrip?

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Posts
    58

    Default What's this error in sslstrip?

    I use to use sslstrip in BT4 R2 and it worked just fine. I installed ferret and hamster and when I use sslstrip in BT5, while running sslstrip, I get this error after a few seconds of running and it gives me user names, but it doesn't show me my gmail or facebook passwords. They're shown as a bunch of numbers of and letters, meaning sslstrip isn't working for some reason. What does this mean? Am I doing something wrong? I'm doing exactly what I used to do in BT4 R2.
    # sslstrip -p -k -f

    sslstrip 0.8 by Moxie Marlinspike running...
    Unhandled error in Deferred:
    Traceback (most recent call last):
    File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
    File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 233, in _checkTimeout
    userDeferred.callback(result)
    File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 280, in callback
    self._startRunCallbacks(result)
    File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 354, in _startRunCallbacks
    self._runCallbacks()
    --- <exception caught here> ---
    File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/sslstrip/ClientRequest.py", line 113, in handleHostResolvedError
    logging.warning("Host resolution error: " + error)
    exceptions.TypeError: cannot concatenate 'str' and 'instance' objects
    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 "/usr/local/lib/python2.6/dist-packages/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 "/usr/local/lib/python2.6/dist-packages/sslstrip/ServerConnection.py", line 121, in handleResponse
    self.shutdown()
    File "/usr/local/lib/python2.6/dist-packages/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 "/usr/local/lib/python2.6/dist-packages/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 "/usr/local/lib/python2.6/dist-packages/sslstrip/ServerConnection.py", line 121, in handleResponse
    self.shutdown()
    File "/usr/local/lib/python2.6/dist-packages/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 "/usr/local/lib/python2.6/dist-packages/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 "/usr/local/lib/python2.6/dist-packages/sslstrip/ServerConnection.py", line 121, in handleResponse
    self.shutdown()
    File "/usr/local/lib/python2.6/dist-packages/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/local/bin/sslstrip", 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> ---

  2. #2
    Good friend of the forums comaX's Avatar
    Join Date
    Feb 2010
    Location
    Paris, France
    Posts
    338

    Default Re : What's this error in sslstrip?

    Pretty much the same here. It makes a lot of python error output, but it doesn't prevent it from working for me...
    Anyone got a hint about what we could do to fix that ?

    Edit : I did 2> /dev/null to take care of them. Since they are not fatal, and won't help very much in case of failure... Might just as well ignore it !
    Last edited by comaX; 05-26-2011 at 04:35 PM.
    Running both KDE and GNOME BT5 flawlessly. Thank you !

  3. #3
    Senior Member ghostdog67's Avatar
    Join Date
    Sep 2008
    Posts
    180

    Default Re: Re : What's this error in sslstrip?

    Hi

    You can fix the problem by deleting and re-installing sslstrip .

    root@bt:# sslstrip -p -k -f

    sslstrip 0.6 by Moxie Marlinspike running...

  4. #4
    Junior Member
    Join Date
    Apr 2010
    Posts
    58

    Default Re: Re : What's this error in sslstrip?

    Quote Originally Posted by ghostdog67 View Post
    Hi

    You can fix the problem by deleting and re-installing sslstrip .

    root@bt:# sslstrip -p -k -f

    sslstrip 0.6 by Moxie Marlinspike running...
    I see you're using version 0.6. I believe the version I have is 0.8. Should I get 0.6 instead?

  5. #5
    Good friend of the forums comaX's Avatar
    Join Date
    Feb 2010
    Location
    Paris, France
    Posts
    338

    Default Re : Re: Re : What's this error in sslstrip?

    Quote Originally Posted by ghostdog67 View Post
    Hi

    You can fix the problem by deleting and re-installing sslstrip .

    root@bt:# sslstrip -p -k -f

    sslstrip 0.6 by Moxie Marlinspike running...
    There were improvements since 0.6 and since BT devs put this version in it, I guess there is a reason. So, any other way to fix this ?
    By the way, I think errors come from python-twisted-web more than sslstrip, but I wouldn't bet on it for sure either.
    Running both KDE and GNOME BT5 flawlessly. Thank you !

  6. #6
    Junior Member
    Join Date
    May 2011
    Location
    Paradise
    Posts
    28

    Default Re: What's this error in sslstrip?

    Hey guys, long time lurker, first time poster.. I've been working on a script that incorporates sslstrip and ettercap in one section. Everything works great on BT4r2 but i have been getting the same errors everyone else has here on BT5.. I have discovered however it doesn't seem to be an issue with sslstrip catching and logging the data.. The logs catch https posts but ettercap does not display the data in the term window. The usernames/passwords are right there in the sslstrip log though.. So, maybe the issues is either in the way ettercap parses the data, or in the way sslstrips presents it to ettercap.. As we all know, sslstrip 0.6 DOES play nice with ettercap so I have a feeling 0.8 will too after some attention is brought to this issue.

    NOTE:According to Moxie's blog 0.8 was just released last month (4/24) but he has issued an update labeled 0.9 yesterday (5/15) which claims to fix some login issues with gmail and other sites (my testing has been primarily on gmail).. maybe this update has the solution? Is there anyway to get the new version in the repo's for an apt-get update/upgrade? one way or another i'll try to update to 0.9 later and see what happens..

    anyway, i'll be working on this over the next few days.. if anyone comes up with anything new lemme know. I'll do the same.. thanks guys!

  7. #7
    Junior Member
    Join Date
    Apr 2010
    Posts
    58

    Default Re: Re : Re: Re : What's this error in sslstrip?

    Quote Originally Posted by comaX View Post
    There were improvements since 0.6 and since BT devs put this version in it, I guess there is a reason. So, any other way to fix this ?
    By the way, I think errors come from python-twisted-web more than sslstrip, but I wouldn't bet on it for sure either.
    Which version did the developers use in BT? 0.6?

  8. #8
    Good friend of the forums comaX's Avatar
    Join Date
    Feb 2010
    Location
    Paris, France
    Posts
    338

    Default Re: Re : Re: Re : What's this error in sslstrip?

    Quote Originally Posted by yomama07024 View Post
    Which version did the developers use in BT? 0.6?
    The version bundled with BT5 is 0.8
    Running both KDE and GNOME BT5 flawlessly. Thank you !

  9. #9
    Just burned his ISO codeinspect's Avatar
    Join Date
    May 2011
    Posts
    5

    Default Re: What's this error in sslstrip?

    Just instaled sslstrip 0.9 ... works ok. But to be sure , replace line 1 in sslstrip.py from #!/usr/bin/env python to #!/usr/bin/python2.6 ... in this way, you will tell that sslstrip must use python version 2.6 , sslstrip 0.9 works with python 2.5 and above. Maybe in future will be ported to 3 .
    End: 0.9 works just fine on BT5.

  10. #10
    Just burned his ISO GrumpyOldGuy's Avatar
    Join Date
    Jan 2011
    Posts
    13

    Default Re: What's this error in sslstrip?

    Quote Originally Posted by J0hnnyb14z3 View Post
    Hey guys, long time lurker, first time poster.. I've been working on a script that incorporates sslstrip and ettercap in one section. Everything works great on BT4r2 but i have been getting the same errors everyone else has here on BT5.. I have discovered however it doesn't seem to be an issue with sslstrip catching and logging the data.. The logs catch https posts but ettercap does not display the data in the term window. The usernames/passwords are right there in the sslstrip log though.. So, maybe the issues is either in the way ettercap parses the data, or in the way sslstrips presents it to ettercap.. As we all know, sslstrip 0.6 DOES play nice with ettercap so I have a feeling 0.8 will too after some attention is brought to this issue.

    NOTE:According to Moxie's blog 0.8 was just released last month (4/24) but he has issued an update labeled 0.9 yesterday (5/15) which claims to fix some login issues with gmail and other sites (my testing has been primarily on gmail).. maybe this update has the solution? Is there anyway to get the new version in the repo's for an apt-get update/upgrade? one way or another i'll try to update to 0.9 later and see what happens..

    anyway, i'll be working on this over the next few days.. if anyone comes up with anything new lemme know. I'll do the same.. thanks guys!
    J0hnny - any insight on how Ettercap parses login/pass data? I'd like to mod my installation so that additional logins/passes show up in the xterm window instead of having to read the log files manually. Just don't know where to mod Ettercap.

Page 1 of 2 12 LastLast

Similar Threads

  1. sslstrip Error
    By bobtenfor in forum Beginners Forum
    Replies: 2
    Last Post: 10-05-2010, 09:22 PM
  2. SSLstrip error - what is wrong?
    By poltn22 in forum OLD BackTrack 4 (pre) Final
    Replies: 1
    Last Post: 01-20-2010, 08:16 PM
  3. SSLstrip error
    By Deadboy in forum OLD Newbie Area
    Replies: 3
    Last Post: 09-20-2009, 08:39 PM
  4. Error on running sslstrip 0.5
    By jkroeder in forum OLD Newbie Area
    Replies: 0
    Last Post: 09-13-2009, 11:52 PM
  5. SSLStrip error
    By victormartini in forum OLD BackTrack 4 (pre) Final
    Replies: 3
    Last Post: 07-26-2009, 03:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •