Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!python
- #-*-coding:utf-8-*-
- import requests
- def main():
- with requests.Session() as s:
- url = ''
- res = s.post(url, data = dict(
- pma_username = '',
- pma_password = ''
- ))
- if res.status_code == 200:
- print('login success!')
- else:
- print('login failed...')
- if __name__ == '__main__':
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement