omargnagy / subterfuge

Automatically exported from code.google.com/p/subterfuge
GNU General Public License v3.0
0 stars 0 forks source link

SSLStrip exceptions not caught/passed to GUI #131

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Subterfuge fails to catch exceptions passed from SSLStrip, and does not alert 
them to the GUI. This can lead to the following error in the terminal:

----

Starting up SSLstrip...

Traceback (most recent call last):
  File "/usr/share/subterfuge/sslstrip.py", line 108, in <module>
    main(sys.argv[1:])
  File "/usr/share/subterfuge/sslstrip.py", line 101, in main
    reactor.listenTCP(int(listenPort), strippingFactory)
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 436, in listenTCP
    p.startListening()
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 641, in startListening
    raise CannotListenError, (self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on any:10000: [Errno 
98] Address already in use.

----

This error is nonfatal, and should not hinder the operation of the program. 
Expect a fix for this to be released along with version 5.1.

Original issue reported on code.google.com by Mtoussain@gmail.com on 6 Nov 2013 at 3:55

GoogleCodeExporter commented 8 years ago
Hello again,

I have a question concerning the described error:
Could that be a problem caused by ports or port mapping?

When I start my Kali Linux machine it always displays the following warning:
"not starting portmapper is not running ... (warning)"

my host file located in /etc/hosts looks like this:
------------------------------------------------------------------
127.0.0.1       localhost
127.0.1.1       kali

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
------------------------------------------------------------------

Could there be any connection between the error and the portmapper not 
starting/not running?

THX
FriFri

Original comment by frifrit...@gmail.com on 13 Nov 2013 at 9:37