[Commotion-admin] [luci-commotion] [CLOSED] DNS spoofing to captive portal on non-internet connected networks (#291)

oti-tech notifications at github.com
Wed Jun 18 13:46:40 EDT 2014


<a href="https://github.com/dismantl"><img src="https://avatars.githubusercontent.com/u/2007008?" align="left" width="96" height="96" hspace="10"></img></a> **Issue by [dismantl](https://github.com/dismantl)**
_Wednesday Jun 12, 2013 at 22:49 GMT_
_Originally opened as https://github.com/opentechinstitute/luci-commotion-splash/pull/1_

----

To test:

0. Install this version of commotion-splash on a router (using this Makefile: https://github.com/opentechinstitute/commotion-splash/blob/dns-spoof/openwrt/Makefile)
1. bring up a node as an internet gateway (and with this version of commotion-splash, obvio), and connect to it. Open a browser and go to any page; it should captive portal you.
2. run "dig commotionwireless.net" from your computer, and it should give you our server's IP address: 209.66.96.69.
3. Now unplug the ethernet connection to the router's PoE jack, so it is no longer connected to the upstream gateway.
4. Open another browser, and go to redemmas.org. You should still get captive-portaled.
5. To double-check, run "dig indyreader.org" from your computer, and it should give you 1.2.3.4 as the IP address. Shazam!

----

_**[dismantl](https://github.com/dismantl)** included the following code: https://github.com/opentechinstitute/luci-commotion-splash/pull/1/commits_


---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/luci-commotion/issues/291
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140618/dfe45073/attachment-0001.html>


More information about the Commotion-admin mailing list