mikew Posted February 16, 2016 Share Posted February 16, 2016 I have an odd use case and I'd like to employ my Pineapple. I'd like to have connected clients think they have internet access, even though they won't. For instance, I know when an iOS device connects to an access point, it pings captive.apple.com looking for the world "Success" to know if that connection has valid internet access and is not a captive portal requiring further steps to activate. Microsoft and Android have something similar that I would also want to emulate, although I haven't yet researched their exact details. What would be the best way to emulate this on a nano? I presume I would need a DNS server, and a web server of some kind. My end goal is to have clients connect to my Pineapple, then any request they make be answered and return no/random data. Anyone done anything like this with a nano yet? Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted February 16, 2016 Share Posted February 16, 2016 This would make a fantastic module and yes, it's basically as simple as you've described. I'd go about it with dnsmasq and the built in webserver. Quote Link to comment Share on other sites More sharing options...
dustbyter Posted February 17, 2016 Share Posted February 17, 2016 Check out PineappleSurprise. https://github.com/troyhunt/PineappleSurprise/blob/master/index.php 2 Quote Link to comment Share on other sites More sharing options...
mikew Posted February 17, 2016 Author Share Posted February 17, 2016 Thanks dustbyter, that looks like a great start on exactly what I'm looking for. I dropped it into my landing page and it's a good chunk of what I'd like to accomplish, thanks! -Mike Quote Link to comment Share on other sites More sharing options...
Forkish Posted May 12, 2016 Share Posted May 12, 2016 Thanks dustbyter, that looks like a great start on exactly what I'm looking for. I dropped it into my landing page and it's a good chunk of what I'd like to accomplish, thanks! -Mike Mr. Mike, I would love to see if not your exact use, something very close to what you accomplished utilizing the pineapple surprise code. If not, so be but it it will be greatly admired and appreciated by jerks around the world. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.