Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable XSS auditor in chrome v60 (09/2017)?

I was reading about PHP_SELF XSS vulnerability and I wanted to test it in chrome v60, I tried to disable the XSS auditor with :

$ chrome.exe --args --disable-web-security  
$ chrome.exe --disable-web-security  
$ chrome.exe --disable-xss-auditor  
$ chrome.exe --disable-xss-auditor --enable-devtools-experiments --disable-features=enable-automatic-password-saving

but nothing worked, can you tell me how to properly disable it ?

like image 576
Reda LM Avatar asked Jan 30 '23 14:01

Reda LM


2 Answers

This one (that you already tried) should work:

chrome.exe --disable-xss-auditor

You just need to make sure that all instances of Chrome have been killed before you run that command.

like image 96
Brandon S Avatar answered Feb 04 '23 19:02

Brandon S


I haven't still tried that out because Firefox works best for me while testing for XSS. In case you really need to bypass the chrome auditor, here is a great article you should check and hope that helps you.:)

Brutelogic chrome XSS bypass

like image 39
john400 Avatar answered Feb 04 '23 20:02

john400