当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - How can I access to a website which has md5 using python?

问题描述:

I'm using python to access to my school's website to get some data(first step is to log in).however the website encrypt the password before post to the server,just like this:

  1. fill password in the form(which named 'pw')
  2. encrypt for the first time:pw = md5(pw)
  3. encrypt for the second time:pw = md5(pw+sharedValue)(the sharedValue is different every time when open the website)
  4. post the pw which has been encrypted twice,and turn to the welcome page

    So,how can I access to this website using python?


I have tried to open the website to get the sharedValue and get the encrypted-twice-password in python and then post those data to the server, however it didn't return anything.

分享给朋友:
您可能感兴趣的文章:
随机阅读: