当前位置:网站首页>[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
2022-07-03 02:18:00 【Yun MuQing】
Google browser allows cross domain origin,disable samesite, Convenient for local development and debugging , test csrf Cross-site requests forge vulnerabilities
Writing time :2022 year 6 month 30 Japan
I still remember two years ago , test csrf Loopholes are handy . Today, ,csrf It's history
chrome,Firefox Update iteration to now , The cross domain request has been made to the last gasp
Developers who suffer from local debugging , One port on the front , One port at the back end , Cross domain cannot be brought cookie 了
The widely circulated method of opening cross domain on the Internet , Start with the following command chrome:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="D:\ChromeDevUserData"
This will start one with you originally chrome Non interfering browsers , But at present, the latest version of browser has been tested , Still can not be reproduced csrf, But use the following enhanced version , It seems to be able to solve the cross domain problem before and after local debugging
"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-site-isolation-trials --disable-web-security --disable-features=SameSiteByDefaultCookies,CookiesWithoutSameSiteMustBeSecure --user-data-dir="D:\ChromeDevUserData"
Still can not be reproduced csrf, Want to reproduce , Can only Use the old version chrome
Old edition chrome You can download it directly here :https://www.chromedownloads.net/chrome64win-stable/
If you don't want to use Baidu cloud disk , And if you want to download it on the official website , You can do this
- according to chrome Version number , Find the internal version number
https://omahaproxy.appspot.com/
- According to the build number , Go to download offline package
https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html
Test the available version :722274,19 year 12 The version of the month
choose win64 zip Use the above enhanced parameters to start
边栏推荐
- Recommendation letter of "listing situation" -- courage is the most valuable
- elastic stack
- 返回一个树形结构数据
- Awk from entry to burial (1) awk first meeting
- easyExcel
- Awk from getting started to getting into the ground (3) the built-in functions printf and print of awk realize formatted printing
- udp接收队列以及多次初始化的测试
- Face recognition 6-face_ recognition_ Py based on OpenCV, face detection and real-time tracking using Haar cascade and Dlib Library
- 机器学习笔记(持续更新中。。。)
- UDP receive queue and multiple initialization test
猜你喜欢
y54.第三章 Kubernetes从入门到精通 -- ingress(二七)
How can retail enterprises open the second growth curve under the full link digital transformation
UDP receive queue and multiple initialization test
微服务组件Sentinel (Hystrix)详细分析
4. 类和对象
Servlet中数据传到JSP页面使用el表达式${}无法显示问题
[shutter] hero animation (hero realizes radial animation | hero component createrecttween setting)
RestCloud ETL 跨库数据聚合运算
elastic stack
SPI mechanism
随机推荐
Groovy, "try with resources" construction alternative
Flink CDC mongoDB 使用及Flink sql解析monggo中复杂嵌套JSON数据实现
Gbase 8C system table PG_ conversion
File class (add / delete)
基于线程池的生产者消费者模型(含阻塞队列)
[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
elastic stack
stm32F407-------IIC通讯协议
Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
Trial setup and use of idea GoLand development tool
stm32F407-------ADC
iptables 4层转发
How do it students find short-term internships? Which is better, short-term internship or long-term internship?
缺少库while loading shared libraries: libisl.so.15: cannot open shared object file: No such file
stm32F407-------ADC
Awk from getting started to being buried (2) understand the built-in variables and the use of variables in awk
Machine learning process and method
Create + register sub apps_ Define routes, global routes and sub routes
深度学习笔记(持续更新中。。。)
GBase 8c 函数/存储过程参数(一)