Jump to content

Recommended Posts

Posted

Hey guys

I've no idea what I should try anymore.

I've tried to setup DNSSpoof.

My setup:

- Both Wlan-interfaces enabled(Wlan0 and Wlan1)

- Client-Mode connection to a Wifi-Network.

Then I've enabled DNSSpoof by clicking on the tick-box.

My DNSSpoof-file contains the following line:

google.com *.*

Now the problem:

There is no redirect. I can connect to any site I want but I don't get redirected. What could be the problem.

What could be the problem?

Posted

You need to specify the ip you want the response to point to. The asterisk is a wildcard, used for 1 or more domains / sub-domains. Your config should be:

172.16.42.1 *.google.com

172.16.42.1 google.com

Where 172.16.42.1 is the pineapple's ip.

Posted

I've changed it to:

172.16.42.1 *.*

And still I doesn't get redirected. Do I have to change something else? For example add a file inside the /www directory?

Posted (edited)

You could try running tcpdump on the target host to verify where you are checking dns from.

If the host isn't using dhcp from the pineapple or statically configured to use the pineapple for dns this isn't going to work.

Edited by phpsystems
Posted

I've noticed that most current browsers use the search engine when you enter an address in the addressbar.

When I start DNS spoof and ping the address (on the client) it returns the correct (spoofed) IP.

When I start a browser and enter the address (on the client) in the addressbar it uses the engine and goes directly to the original page.

To check if the DNS spoof is working correctly:

- Start the DNS spoof.

- Connect the client to the pineapple.

- Flush the DNS on the client. (just to be sure)

- Ping the spoofed address on the client. (don't use a browser)

Does it return the correct IP you've chosen in the DNS spoof?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...