Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Is captive portal supported in Mana toolkit??? #122

Open
simonpunk opened this issue Feb 6, 2016 · 1 comment
Open

Is captive portal supported in Mana toolkit??? #122

simonpunk opened this issue Feb 6, 2016 · 1 comment

Comments

@simonpunk
Copy link

@binkybear @jmingov
I wonder if we can set up a real captive portal website when launching the mana toolkit.
So far as I know, we can do it using no start-noupstream.sh script, but it doesn't give network access to every clients, it just simply like spoofing the dns forces clients always redirect to our fake portal website.

So, what I want is every clients who have connected to my wifi ap will be automatically directed to my captive portal website first, and once they have finished registration or something agreement of term of use, then they will be able to browse any website they want as usual. As I think this is really a good way to get all the clients hooked as long as they connect to the AP.

I found a article mentioned about this, but don't know whether it works or not.
Using_iptables_and_PHP_to_create_a_captive_portal
I have also tried to followed the steps but definitely something should be set up differently like the iptable configure.
Anyway, I don't know which part should be corrected. That's why I am asking for help.

@binkybear
Copy link
Collaborator

@simonpunk - Its def possible to do it (set up an evil twin/captive portal) to catch login and passwords. However, it's not something mana does out of the box so someone would have to write something to do this. There are some examples/programs that could help with this.

Something similar to this script: https://github.com/Byzantium/Byzantium/blob/master/captive_portal/captive-portal.sh where it marks traffic and drops it until it can confirm authorization. The post would have to be verified though but cloning is as simple as using wget. The IP tables will be different because of the way android uses routing tables.

If I have time I can look more into it but PR's are always welcome if you want to have a crack at it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants