Jump to content

Popup Page With Dnsspoof


Recommended Posts

Hello to everyone :) :) :) :)

I had 2.3.1 frimware installed to my pineapple and i was running a DnsSpoof attack with the config file like this :

# *


(so all the traffic was redirecting to the pineapple's ip). Every time a mobile was connecting to the wifi, a browser window was poping up to it with the index.php. Just like when you connect to a hotel's wifi and a disclaimer/login screen pops up by it self's( ;)).

Today after an upgrade to 2.4.1 frimware i noticed that the dnsspoof is working correctly, redirecting all the traffic to my pineapple BUT the browser window wont popup every time a mobile connects to it.

The index.php is the same and the mobiles i had tested with was iPhone and HTC.

Does anyone know how can this been fixed/done ?

Edited by KiatoG
Link to comment
Share on other sites

I know with apple iphones and touches there is a screen that pops up but that is actually a method apple uses to log in to those portal pages like at starbucks or hotel.

could be that the latest version of mk4 is now allowing the apple servers through?

does this happen when shareing internet with the mk4? try without internet.

Link to comment
Share on other sites

I thought of that to and have already tried it with out internet to the pineapple. I don't actually think that is because of the upgrade but i don't know what alse it can be :( . When the safari was poping up at the iPhone the dnsspoof.log was saying that the request was coming from "something.apple.com".

Link to comment
Share on other sites

I was having a bit of trouble with the redirect.php...... here is what I replaced it with.

$ref = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];

if (strpos($ref, "example")) { header('Location: example.html'); }


If your problem was that it wasn't redirecting properly, then this might help.

Edited by Neworld
Link to comment
Share on other sites

Join the conversation

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

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...