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
| #!/usr/bin/env python | |
| import requests | |
| import sys | |
| import getpass | |
| username = input('Enter username: ') | |
| pa = str(getpass.getpass(prompt='Enter password: ')) | |
| with requests.session() as s: | |
| try: | |
| page = s.post('https://netaccess.iitm.ac.in/account/login' , data={ 'userLogin':username, 'userPassword':pa, 'submit':''}, verify=False) |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
| <keyboard group="0" id="5000" name="QWERTY no option" maxout="1"> | |
| <layouts> | |
| <layout first="0" last="0" modifiers="48" mapSet="312" /> | |
| </layouts> | |
| <modifierMap id="48" defaultIndex="0"> | |
| <keyMapSelect mapIndex="0"> | |
| <modifier keys="" /> | |
| </keyMapSelect> |