Created
July 26, 2022 10:07
-
-
Save chongshenng/607ab56776e3aaea0582ae4836e01dbc to your computer and use it in GitHub Desktop.
Steps to connect to wireless with http authentication
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ref: https://superuser.com/a/262795 | |
| You will have to look once at the source of the login form to find out the names of the user and password fields. As the authentication redirect all pages, use any URL to get that source: | |
| curl http://www.google.com > login.html | |
| For example, you'll find: | |
| <form method="POST" action="http://my-public-provider.com/agree.php"> | |
| <input type="checkbox" name="agree" value="yes">I agree | |
| <input type="submit" name="push" value="Send"> | |
| </form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment