当前位置:网站首页>Cookie加密15 登录加密
Cookie加密15 登录加密
2022-06-30 01:23:00 【范之度】
网址:84e30ac5376fb6f065eb98c2c2d5168b8e8ab661
登录加密体现在登录后能够携带cookie访问必须要的网址,比如小说网站的我的书柜,淘宝的我的购物车。
先找到密码传输的位置(一般都有载荷的),看cookie的设置过程

,然后找到我的书柜返回位置,发现,果然带着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(书架中的网址)
def main():
login()
if __name__ == '__main__':
main()
边栏推荐
- Seata and the three platforms are working together in the summer of programming. Millions of bonuses are waiting for you
- 英伟达Jetson Nano的初步了解
- Good test / development programmers vs. average programmers
- Sentinel source code analysis Part 6 - sentinel adapter module Chapter 4 zuul2 gateway
- Machinery -- nx2007 (UG) finite element analysis tutorial 1 -- simple object
- Vl6180x distance and light sensor hands-on experience
- Varnish 基础概览2
- Quality management of functional modules of MES management system
- Analysis of natural frequency and buckling load of cylinder by finite element method
- Sentinel source code analysis Part 7 - sentinel adapter module - Summary
猜你喜欢

Sentinel source code analysis Part 7 - sentinel adapter module - Summary

Resizekit2.net size and resolution independent

How to refuse the useless final review? Ape tutoring: it is important to find a suitable review method

Using tsne to visualize the similarity of different sentences

What if you can't write your composition well? Ape counseling: parents should pay attention to these points

一文读懂,MES管理系统模块功能

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

如何拒绝期末复习无用功?猿辅导:找准适合自己的复习方法很重要

Wechat applet - requestsubscribemessage:fail can only be invoked by user tap gesture

R语言线性回归模型拟合诊断异常值分析家庭燃气消耗量和卡路里实例带自测题
随机推荐
浅析现代Web端im即时通讯开发技术
The first technology podcast month will be launched soon
Visual studio 2017 cannot open the include file: 'qopenglfunctions_3_3_core': no such file or directory
Pytroch Learning Notes 6: NN network layer convolution layer
c语言选择,循环概述
Equivalence class partition method for test case design method
Practical application of information security
Varnish 基础概览4
Ansible ad-hoc 临时命令
Sentinel source code analysis Chapter 9 - core process - lookprocesschain finding resource processing chain
Wechat applet - requestsubscribemessage:fail can only be invoked by user tap gesture
Mechanical --nx2007 (UG) -- gap analysis (interference inspection)
post请求出现WebKitFormBoundaryk的解决办法
2022-06-29:x = { a, b, c, d }, y = { e, f, g, h }, x、y两个小数组长度都是4。 如果有: a + e = b + f = c + g = d + h
Seata et les trois plateformes travaillent main dans la main pour programmer Summer, un million de bonus vous attend
C language final without failing (Part 1)
VIM编辑器常用指令
Tetris game based on STM32F103
挖财的课程靠谱吗,让开户安全吗?
How to view the size of all files in a folder?