Jump to content

Dnsspoof


Recommended Posts

Can you change your name to Module Master? Whistle Master is good and all, but Module Master is a much more apt description!

Can't wait to see it at the bar! Thanks WM

telot

Link to comment
Share on other sites

  • 5 months later...
  • 2 weeks later...
  • 2 months later...

Captive portal files are used to "fake" the OS when connecting to the pineapple, thinking that the client is actually connected to the internet (e.g. for Windows 7 here)

Only the one for windows works (nsci.txt). The one for apples devices is not. The success.html file must be in /www/library/test/success.html in order to work. Like in petertfm's scrpit. :)

Link to comment
Share on other sites

  • 2 weeks later...
  • 5 months later...

I was hoping someone could help me out with a few things.... #1 if the redirect.php file is such an important one to update why isn't there a section for it in the dnsspoof infusion?

Also, can someone explain the new redirect.php coding? I've looked at the old documents out there on github etc but they all talk about the old way i.e.

"if (strpos($ref,<domain>") { header('Location: <targetpage>.html'); }"

The new info in the redirect.php is a bit more complex and I'm not quite certain what to do... There are several things I'd like to try doing but now after looking into dnsspoof they seem to be redirecting and not spoofing... If I could simply put a line in the spoof hosts that said "www.myspace.com www.facebook.com" which meant that anyone looking to go to facebook would be sent to myspace it would be nice but I know now that won't work. So how would I go about doing that?

Also, if I wanted to drive all traffic, i.e. all requested pages, to one specific webpage located on the internet, how would I do that?

Thanks!

Link to comment
Share on other sites

  • 3 months later...

i was playing with my pineapple (fw 3.0) after a long time and i was having some problems with the autostart feature. After some digging it turns out there is a wrong filepath at /pineapple/components/infusions/dnsspoof/includes/autostart.sh

Original:

dnsspoof -i br-lan -f /pineapple/config/spoofhost > /dev/null 2> ${MYPATH}log/output_${MYTIME}.log &

Correct:

dnsspoof -i br-lan -f /etc/pineapple/spoofhost > /dev/null 2 > ${MYPATH}log/output_${MYTIME}.log &

It's very wierd that no one noticed after such a long time!

Is 1.1 the latest version? :/

Edited by KiatoGS
Link to comment
Share on other sites

Until iOS 6 Apple's devices were just looking at .../library/test/success.html to check internet connection. Creating the same html file at /www/library/test/ it was easy to fool the device that it have internet connection BUT since iOS 7 is out this will not do the trick. iDevices are now cheking for internet connection using a list that contains over 200 servers. Here is a link with the solution for devices using lighttpd.

http://forum.daviddarts.com/read.php?9,8879,8910#msg-8910

Pineapple is using uhttpd. Mayde whistlemaster can do some of his magic ;).

Link to comment
Share on other sites

I dont think that it has to be part of the firmware because people that are using a captive protal DO want that pseudo-browser to pop-up.

I posted it here because dnsspoof infusion already has an option of installing " Fake captive portal files " (for iOS and Windows)

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.

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