当前位置:网站首页>[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
边栏推荐
- [shutter] hero animation (hero realizes radial animation | hero component createrecttween setting)
- Depth (penetration) selector:: v-deep/deep/ and > > >
- 5.文件操作
- Tongda OA V12 process center
- Trial setup and use of idea GoLand development tool
- GBase 8c系统表-pg_collation
- 基于线程池的生产者消费者模型(含阻塞队列)
- Leetcode (540) -- a single element in an ordered array
- stm32F407-------DMA
- stm32F407-------IIC通讯协议
猜你喜欢

线程安全的单例模式

《上市风云》荐书——唯勇气最可贵

Depth (penetration) selector:: v-deep/deep/ and > > >

easyPOI

微信小程序开发工具 POST net::ERR_PROXY_CONNECTION_FAILED 代理问题

Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)

可視化yolov5格式數據集(labelme json文件)
![[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)](/img/ac/bf83f319ea787c5abd7ac3fabc9ede.jpg)
[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
【ROS进阶篇】第六讲 ROS中的录制与回放(rosbag)

Job object of collaboration in kotlin
随机推荐
力扣(LeetCode)183. 从不订购的客户(2022.07.02)
Storage basic operation
Swift development learning
Tongda OA homepage portal workbench
基于线程池的生产者消费者模型(含阻塞队列)
require. context
Restcloud ETL cross database data aggregation operation
单词单词单词
How do browsers render pages?
How to deal with cache hot key in redis
Hard core observation 547 large neural network may be beginning to become aware?
stm32F407-------ADC
Explore the conversion between PX pixels and Pt pounds, mm and MM
Visual yolov5 format data set (labelme JSON file)
5. File operation
详细些介绍如何通过MQTT协议和华为云物联网进行通信
oauth2.0鉴权,登录访问 “/oauth/token”,请求头Authorization(basicToken)如何取值???
苏世民:25条工作和生活原则
[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor
Comment communiquer avec Huawei Cloud IOT via le Protocole mqtt