TheHackerNextDoor Posted March 22, 2014 Share Posted March 22, 2014 I'm wondering how different devices check for internet, an d hopefully I will be able to use the DNSSpoof on my pineapple to make it look like they have internet, even when they don't. How does iOS know when there is internet? I set up a sample network on the pineapple, turned on randomroll, and connected to it on my iPod. Immediately, it opened a webpage with a dancing banana.(Lol) It said I had to log in, so therefore it new I was messing with the internet. How does it check? Same for Android/PC. Again, the purpose of this is to make it look like there is internet, even when there isn't. Quote Link to comment Share on other sites More sharing options...
cooper Posted March 22, 2014 Share Posted March 22, 2014 The device probably, on connecting to a network, will look up some url. Put a web proxy (squid or whatever) on it and see what it says. When I write code that needs to verify the validity of a configured proxy server, I typically load the front page of google. If the response is http 200 and some data, I'm happy. (The components that want to talk to something beyond the proxy need to verify the validity of their connection on their own accord). Quote Link to comment Share on other sites More sharing options...
Guest spazi Posted March 22, 2014 Share Posted March 22, 2014 (edited) That's a pretty good question, which I've never thought about. I'm guessing it receives some specific packet data or maybe pings a DNS server. Maybe it knows that there is internet when the router has received an IP address from the ISP.One easy way to find out is to load up wireshark and capture packets from a computer when the internet is disconnected.Try then to connect the internet, see what happens and compare it when it was disconnected :)I think I know what I'm doing this weekend hehe. Edited March 22, 2014 by spazi Quote Link to comment Share on other sites More sharing options...
TheHackerNextDoor Posted March 22, 2014 Author Share Posted March 22, 2014 Thanks! I'll try that when I get the chance. Quote Link to comment Share on other sites More sharing options...
i8igmac Posted March 22, 2014 Share Posted March 22, 2014 if the network does not have internet access, try and DNS spoof all domain and IP to destination 80 on local apacheserver... Quote Link to comment Share on other sites More sharing options...
TheHackerNextDoor Posted March 28, 2014 Author Share Posted March 28, 2014 if the network does not have internet access, try and DNS spoof all domain and IP to destination 80 on local apacheserver... I've already tried that. Quote Link to comment Share on other sites More sharing options...
barry99705 Posted March 31, 2014 Share Posted March 31, 2014 (edited) Take a look at the pineapple suprise posts in the mk5 section. The code has the sites ios and android devices hit for internet connectivity tests. Here it is. Had the link saved on my phone. https://github.com/troyhunt/PineappleSurprise/blob/master/index.php Edited March 31, 2014 by barry99705 Quote Link to comment Share on other sites More sharing options...
TheHackerNextDoor Posted April 1, 2014 Author Share Posted April 1, 2014 Take a look at the pineapple suprise posts in the mk5 section. The code has the sites ios and android devices hit for internet connectivity tests. Here it is. Had the link saved on my phone. https://github.com/troyhunt/PineappleSurprise/blob/master/index.php Just in time for April fool's day! 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.