js破解 楚楚 街的登錄參數加密

http://seller.chuchujie.com/sqe.php?s=/User/index

發起請求 找到登錄參數

 找到加密參數

 

import  requests
import  hashlib

def test(name,passwd):
    url = 'http://seller.chuchujie.com/sqe.php?s=/AccountSeller/login'

    md = hashlib.md5()
    md.update(passwd.encode())
    data = {
        "login_type": "",
        "channle": "",
        "sms_code": "",
        "redirect_uri": "",
        "username": name,
        "password": md.hexdigest(),
        # "password":'asdfas',
    }
    s = requests.Session()
    res = s.post(url,data=data)
    print(res.text)

    # html = s.get('http://seller.chuchujie.com/sqe.php?s=/User/index')
    # print(html.text)

test('賬號','密碼')

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章