katana icon indicating copy to clipboard operation
katana copied to clipboard

Headless issue with root user.

Open nullenc0de opened this issue 3 years ago • 1 comments

-hl wont work if your root. But -sc seems to work. You might need to make a --no-sandbox flag for the root only users of the world.

image

nullenc0de avatar Nov 07 '22 15:11 nullenc0de

@ehsandeep : Two new flags can be added for the headless browser :

-hns,-headless-no-sandbox                                  Passes the --no-sandbox flag to chromium
-hoa,-headless-optional-arguments                          Passes optional arguments to chromium

parthmalhotra avatar Nov 07 '22 16:11 parthmalhotra

@nullenc0de @parthmalhotra this is now fixed in the dev branch with https://github.com/projectdiscovery/katana/pull/132

new options added:-

   -ho, -headless-options string[]  start headless chrome with additional options
   -nos, -no-sandbox                start headless chrome in --no-sandbox mode

ehsandeep avatar Nov 11 '22 05:11 ehsandeep