当前位置:网站首页>[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
边栏推荐
- elastic stack
- 通达OA v12流程中心
- 502 (bad gateway) causes and Solutions
- 基于线程池的生产者消费者模型(含阻塞队列)
- 【 tutoriel】 Chrome ferme les cors et les messages de la politique inter - domaines et apporte des cookies à travers les domaines
- 去除网页滚动条方法以及内外边距
- Wechat applet development tool post net:: err_ PROXY_ CONNECTION_ Failed agent problem
- Gbase 8C system table PG_ authid
- The Sandbox阐释对元宇宙平台的愿景
- 微信小程序开发工具 POST net::ERR_PROXY_CONNECTION_FAILED 代理问题
猜你喜欢
![[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor](/img/06/ab333a4752de27eae2dd937cf579e2.png)
[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor

Solution for processing overtime orders (Overtime unpaid)

深度学习笔记(持续更新中。。。)

Ni visa fails after LabVIEW installs the third-party visa software

Recommendation letter of "listing situation" -- courage is the most valuable

Detailed analysis of micro service component sentinel (hystrix)

内存池(内核角度理解new开辟空间的过程)

The use of Flink CDC mongodb and the implementation of Flink SQL parsing complex nested JSON data in monggo

Hard core observation 547 large neural network may be beginning to become aware?

微服务组件Sentinel (Hystrix)详细分析
随机推荐
【CodeForces】CF1338A - Powered Addition【二进制】
Kotlin middle process understanding and Practice (I)
4. Classes and objects
Swift development learning
Redis: simple use of redis
Coroutinecontext in kotlin
线程安全的单例模式
Startup mode and scope builder of collaboration in kotlin
【教程】chrome关闭跨域策略cors、samesite,跨域带上cookie
easyPOI
Awk from getting started to being buried (2) understand the built-in variables and the use of variables in awk
Su Shimin: 25 principles of work and life
Machine learning notes (constantly updating...)
[codeforces] cf1338a - Powered addition [binary]
【ROS进阶篇】第六讲 ROS中的录制与回放(rosbag)
require.context
Detailed analysis of micro service component sentinel (hystrix)
UDP receive queue and multiple initialization test
缺少库while loading shared libraries: libisl.so.15: cannot open shared object file: No such file
Explore the conversion between PX pixels and Pt pounds, mm and MM