Traceback (most recent call last):

File "/usr/bin/sslstrip", line 108, in <module>
main(sys.argv[1:])
File "/usr/bin/sslstrip", line 101, in main
reactor.listenTCP(listenPort, strippingFactory)
File "/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 328
, in listenTCP
p.startListening()
File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 737, in startListening
skt.bind((self.interface, self.port))
File"<string>", line 1, in bind

TypeError: an integer is required
I upgraded from 0.2 to 0.5 and am now getting the above error when trying to run sslstrip.


I did the usual;

echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080

sslstrip.py -p -l 8080 <-- this is where it goes wrong
Python 2.5.2 and twisted are installed