1. Install go (follow https://go.dev/doc/install to have the newest version, don't use the version from your distro!)
  2. add this to your profile (~/.profile)
    export GOROOT=/usr/local/go
    export GOPATH=$HOME/go
    export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
  3. install nuclei using go (https://docs.nuclei.sh/getting-started/install, "go" tab)
  4. test that the installation was successful:
    nuclei --version
  5. create a folder called nuclei-templates
  6. download this file into the folder:
  7. run nuclei:
    nuclei -headless -u https://samltest.id -duc -fr -ms -t nuclei-templates/ -json-export output.json
  8. there will be a screenshot in the screenshots folder and machine-readable results in output.json (including the whole HTML response)