当前位置:网站首页>Cookie encryption 15 login encryption
Cookie encryption 15 login encryption
2022-06-30 01:25:00 【Fan zhidu】
website :84e30ac5376fb6f065eb98c2c2d5168b8e8ab661
Login encryption can be carried after login cookie Visit the required web address , For example, my bookcase on the novel website , My shopping cart on Taobao .
First find the location of password transmission ( There is usually a load ), see cookie The setting process of

, Then find my bookcase and return to its location , Find out , Sure enough cookie

import time
import requests
login_url = "###"
session = requests.session()
def login():
headers = {
'Host': 'passport.17k.com',
'Connection': 'keep-alive',
'Content-Length': 45,
'Pragma': 'no-cache',
'Cache-Control': 'no-cache',
'sec-ch-ua': '"Chromium";v="21", " Not;A Brand";v="99"',
'sec-ch-ua-mobile': '?0',
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36',
'sec-ch-ua-platform': '"Windows"',
'CONTENT-TYPE': 'application/x-www-form-urlencoded; charset=UTF-8',
'Accept': '*/*',
'Origin': 'https://passport.17k.com',
'Sec-Fetch-Site': 'same-origin',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Dest': 'empty',
'Referer': 'https://passport.17k.com/login/',
'Accept-Encoding': 'gzip, deflate, br',
'Accept-Language': 'zh-CN,zh;q=0.9',
'Cookie': 'GUID=fed8f891-ef9a-4914-a580-56c4e6d3eae2; Hm_lvt_9793f42b498361373512340937deb2a0=1656494052; Hm_lpvt_9793f42b498361373512340937deb2a0=1656494298; sajssdk_2015_cross_new_user=1; sensorsdata2015jssdkcross=%7B%22distinct_id%22%3A%22fed8f891-ef9a-4914-a580-56c4e6d3eae2%22%2C%22%24device_id%22%3A%22181aec1149132a-0a649f46956651-5e133e12-1049088-181aec11492185%22%2C%22props%22%3A%7B%7D%7D',
}
data={
'loginName': '##212',
'password': '##40975'
}
session.post(login_url,verify=False)
html_set_cookie = requests.utils.dict_from_cookiejar(session.cookies)
print(html_set_cookie['__jsluid_s'])
session.get( Web address in bookshelf )
def main():
login()
if __name__ == '__main__':
main()
边栏推荐
- postman 之接口关联
- Understand the module function of MES management system
- ResizeKit2.NET大小和分辨率独立
- [machine learning Q & A] accuracy, accuracy, recall, ROC and AUC
- Mysql 监控2
- How to deal with occasional bugs?
- Sklearn notes: make_ Blobs generate clustering data
- Machinery -- nx2007 (UG) finite element analysis tutorial 2 -- assembly
- Interface Association of postman
- 数字垃圾是什么?跟随世界第一位AI艺术家,探索元碳艺术
猜你喜欢

Cookie加密15 登录加密

STC89C52 single chip microcomputer simple calculator design and code demonstration

Tetris game based on STM32F103

画画水族馆的应用特色及功能

Resizekit2.net size and resolution independent

js内容混淆,返回内容加密

Ansible ad-hoc temporary command

JS prototype and prototype chain (Lantern Festival meal)

I learned database at station B (V): DQL exercise

Analysis of natural frequency and buckling load of cylinder by finite element method
随机推荐
眼底出血术后需注意事项//每天必看
Wechat applet - requestsubscribemessage:fail can only be invoked by user tap gesture
The first technology podcast month will be launched soon
C语言 素数对猜想
The first unlucky person watching eth 2.0
Varnish 基础概览4
一文读懂,MES管理系统模块功能
Tetris game based on STM32F103
Varnish 基础概览10
Cookie加密15 登录加密
C language selection, loop overview
2020-12-03
C language final without failing (Part 1)
画画水族馆的应用特色及功能
C语言 数组元素循环右移问题
Cookie encryption 8
Machine learning notes: time series decomposition STL
post请求出现WebKitFormBoundaryk的解决办法
Varnish 基础概览2
【图神经网络】图分类学习研究综述[2]:基于图神经网络的图分类