CLI Flag to Disable Headless Mode's Chromium Sandbox #3878
Labels
Status: Completed
Nothing further to be done with this issue. Awaiting to be closed.
Type: Enhancement
Most issues will probably ask for additions or changes.
Milestone
Please describe your feature request:
It would be nice to have a CLI flag to disable the Chromium sandbox that is configured when running headless templates. Right now this logic is what determines if chromium's sandbox is disabled or not.
-ho, -headless-options string[] start headless chrome with additional options
Describe the use case of this feature:
When running on AWS Fargate I want to be able to use Nuclei as a non-root user and still be able to launch chromium. I wish to do this by running Nuclei as a non-root user and passing in a flag to Nuclei to instruct Nuclei to disable chromium's sandbox functionality. Right now AWS Fargate does not allow containers to run in privileged mode, so the
--no-sandbox
flag must be passed to chromium for it to be able to run on AWS Fargate (see more information here). So currently the only way to run nuclei's headless templates in AWS Fargate is by running Nuclei as root, which is not ideal.The text was updated successfully, but these errors were encountered: