EvilZone
Hacking and Security => Hacking and Security => : TheRaven July 20, 2014, 11:02:17 PM
-
So I've been trying to figure this out on my own for a couple days through research and trying and retrying several tutorials. I've caved and I want to ask if anyone here can help.
I am running kali in a virtual machine.
I've got my index.html in /var/www/
I start apache2
Modified etter.conf by uncommenting ip tables line
Modified etter.dns to redirect google to 192.168.1.5 (kali IP)
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -p tcp —destination-port 80 -j REDIRECT —to-port 8080
ettercap -Tqi eth1 -M arp:remote -P dns_spoof // //
When I go onto my other machine and go to google, it goes to "This webpage is not available." and the output on the kali machine is as on the screenshot below. There is one line towards the middle that says something about DHCP, but I'm not sure what it is about.
Can anyone help me out on this? I'd really appreciate it. Thanks!
Here is the screenshot: http://i.imgur.com/5qEfJdE.png
-
What kind of setup is the networking in the VM?
-
What kind of VM do you use? typically you choose Bridged as your connection in VM settings.
-
You should find out exactly what it's saying about DHCP, it could be that you may need to set up some static route to make this work properly.
What is your router's IP address?
-
What is your router's IP address?
Haha! Phage got jokes. Lol... or is it?
(https://i.imgur.com/2HYzhyX.gif)
-
I'm on VMware Fusion and the network adapter is bridged.
Lucid, I don't know my router's IP. Maybe if you gave me screenshots of what you typed to get your router's IP along with the output, it'd help me out greatly.
-
Ok. If you don't know then that probably has something to do with the problem. On your host computer, type: ifconfig. Post the results.
-
Ok. If you don't know then that probably has something to do with the problem. On your host computer, type: ifconfig. Post the results.
Add route -n to that.
On both machines.
and arp -a
-
No, really though, can we work on the task at hand?
-
No, really though, can we work on the task at hand?
No, really though, can you answer simple questions?
ifconfig
route -n
arp -a
We weren't just saying that for no fucking reason.
-
what question?
-
Execute these commands on commandline and paste the output -_-
ifconfig
route -n
arp -a