4

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 ?

Reda LM
  • 191
  • 1
  • 2
  • 10
  • same here, I couldn't get it to work, however I found a workaround using curl https://security.stackexchange.com/a/230222/196025 – 8ctopus Apr 21 '20 at 08:05

2 Answers2

7

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.

Brandon S
  • 1,543
  • 1
  • 13
  • 13
1

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

john400
  • 392
  • 4
  • 10
  • 20