Skip to content

Instantly share code, notes, and snippets.

@chongshenng
Created July 26, 2022 10:07
Show Gist options
  • Select an option

  • Save chongshenng/607ab56776e3aaea0582ae4836e01dbc to your computer and use it in GitHub Desktop.

Select an option

Save chongshenng/607ab56776e3aaea0582ae4836e01dbc to your computer and use it in GitHub Desktop.
Steps to connect to wireless with http authentication
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