Author Topic: dns_spoof in ettercap is spoofing to my ip, but not loading my page [screenshot]  (Read 1193 times)

0 Members and 9 Guests are viewing this topic.

Offline TheRaven

  • /dev/null
  • *
  • Posts: 6
  • Cookies: -2
    • View Profile
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
« Last Edit: July 20, 2014, 11:04:21 pm by TheRaven »

Offline Architect

  • Sir
  • ***
  • Posts: 428
  • Cookies: 56
  • STFU
    • View Profile
    • Rootd IRC
What kind of setup is the networking in the VM?

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
What kind of  VM do you use? typically you choose Bridged as your connection in VM settings.

Offline lucid

  • #Underground
  • Titan
  • **
  • Posts: 2683
  • Cookies: 243
  • psychonaut
    • View Profile
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?
"Hacking is at least as much about ideas as about computers and technology. We use our skills to open doors that should never have been shut. We open these doors not only for our own benefit but for the benefit of others, too." - Brian the Hacker

Quote
15:04  @Phage : I'm bored of Python

Offline Architect

  • Sir
  • ***
  • Posts: 428
  • Cookies: 56
  • STFU
    • View Profile
    • Rootd IRC
What is your router's IP address?

Haha! Phage got jokes. Lol... or is it?


Offline TheRaven

  • /dev/null
  • *
  • Posts: 6
  • Cookies: -2
    • View Profile
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.

Offline lucid

  • #Underground
  • Titan
  • **
  • Posts: 2683
  • Cookies: 243
  • psychonaut
    • View Profile
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.
"Hacking is at least as much about ideas as about computers and technology. We use our skills to open doors that should never have been shut. We open these doors not only for our own benefit but for the benefit of others, too." - Brian the Hacker

Quote
15:04  @Phage : I'm bored of Python

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
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
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline TheRaven

  • /dev/null
  • *
  • Posts: 6
  • Cookies: -2
    • View Profile
No, really though, can we work on the task at hand?

Offline lucid

  • #Underground
  • Titan
  • **
  • Posts: 2683
  • Cookies: 243
  • psychonaut
    • View Profile
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.
"Hacking is at least as much about ideas as about computers and technology. We use our skills to open doors that should never have been shut. We open these doors not only for our own benefit but for the benefit of others, too." - Brian the Hacker

Quote
15:04  @Phage : I'm bored of Python

Offline TheRaven

  • /dev/null
  • *
  • Posts: 6
  • Cookies: -2
    • View Profile
what question?

Offline Schalla

  • VIP
  • Peasant
  • *
  • Posts: 81
  • Cookies: 29
    • View Profile
Execute these commands on commandline and paste the output -_-

ifconfig
route -n
arp -a
« Last Edit: July 22, 2014, 03:46:10 pm by Schalla »