当前位置:网站首页>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()
边栏推荐
- 我,33岁,字节跳动测试开发,揭开北京“测试岗”的真实收入
- 【机器学习Q&A】余弦相似度、余弦距离、欧式距离以及机器学习中距离的含义
- C language final without failing (Part 1)
- Seata et les trois plateformes travaillent main dans la main pour programmer Summer, un million de bonus vous attend
- Understanding of int argc, char * * argv in C language main function
- Interface Association of postman
- Error reporting in Luban H5 installation
- ES6 one line code for array de duplication
- Pytroch Learning Notes 6: NN network layer convolution layer
- Vant weave - remove (clear) < van button > button component Click to display gray background effect
猜你喜欢

How to seamlessly transition from traditional microservice framework to service grid ASM

3-6sql injection website instance step 5: break through the background to obtain web administrator permissions

JS content confusion, return content encryption

英伟达Jetson Nano的初步了解

浅析现代Web端im即时通讯开发技术

C语言 我要通过

What is digital garbage? Follow the world's first AI artist to explore meta carbon Art

cookie加密11

Seata 与三大平台携手编程之夏,百万奖金等你来拿

ES6 one line code for array de duplication
随机推荐
MySQL function
Vl6180x distance and light sensor hands-on experience
田口实验法
3-6sql injection website instance step 5: break through the background to obtain web administrator permissions
[machine learning Q & A] data sampling and model verification methods, hyperparametric optimization, over fitting and under fitting problems
Varnish 基础概览4
R语言线性回归模型拟合诊断异常值分析家庭燃气消耗量和卡路里实例带自测题
Mysql 监控1
Is the course of digging money reliable and safe to open an account?
Three text to speech artifacts, each of which is very practical
HC32M0+ GPIO
[recommended] how to quickly locate a bug during testing
【机器学习Q&A】数据抽样和模型验证方法、超参数调优以及过拟合和欠拟合问题
VIM editor common instructions
Interface Association of postman
Preliminary understanding of NVIDIA Jetson nano
一文读懂,MES管理系统模块功能
我,33岁,字节跳动测试开发,揭开北京“测试岗”的真实收入
C语言 换个格式输出整数
“乘风破浪”的芒果超媒,能上岸吗?