nuclei: [ERR] failed to load provider keys got yaml: unmarshal errors:

./nuclei
[ERR] failed to load provider keys got yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `/home/z...` into sources.Provider

                    __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v2.9.5

		projectdiscovery.io

[INF] Current nuclei version: v2.9.5 (latest)
[INF] Current nuclei-templates version: v9.5.0 (latest)
[INF] New templates added in latest release: 62
[INF] Templates loaded for current scan: 5958
[INF] No results found. Better luck next time!`

If anyone has such a problem, this is because uncover could not find the configuration file

the file that should be: /home/user/.config/uncover/provider-config.yaml

Solution: go install -v github.com/projectdiscovery/uncover/cmd/uncover@latest then run it 1 time uncover application the configuration file is generated automatically:

That’s it, regards, have a nice day.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 8
  • Comments: 15 (4 by maintainers)

Most upvoted comments

Reopening as this needs to be fixed in nuclei.

./nuclei
[ERR] failed to load provider keys got yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `/home/z...` into sources.Provider

                    __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v2.9.5

		projectdiscovery.io

[INF] Current nuclei version: v2.9.5 (latest)
[INF] Current nuclei-templates version: v9.5.0 (latest)
[INF] New templates added in latest release: 62
[INF] Templates loaded for current scan: 5958
[INF] No results found. Better luck next time!`

If anyone has such a problem, this is because uncover could not find the configuration file

the file that should be: /home/user/.config/uncover/provider-config.yaml

Solution: go install -v github.com/projectdiscovery/uncover/cmd/uncover@latest then run it 1 time uncover application the configuration file is generated automatically:

That’s it, regards, have a nice day.

That’s worked for me, Thanks for the solution…

./nuclei
[ERR] failed to load provider keys got yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `/home/z...` into sources.Provider

                    __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v2.9.5

		projectdiscovery.io

[INF] Current nuclei version: v2.9.5 (latest)
[INF] Current nuclei-templates version: v9.5.0 (latest)
[INF] New templates added in latest release: 62
[INF] Templates loaded for current scan: 5958
[INF] No results found. Better luck next time!`

If anyone has such a problem, this is because uncover could not find the configuration file

the file that should be: /home/user/.config/uncover/provider-config.yaml

Solution: go install -v github.com/projectdiscovery/uncover/cmd/uncover@latest then run it 1 time uncover application the configuration file is generated automatically:

That’s it, regards, have a nice day.

worked for me thanks, ran uncover once.

@leorac, that’s a temporary solution before we fix the issue in the nuclei.

@timeisflowing, thanks for opening this issue and sharing a temporary solution for others.

Any solution for Windows?

Just install uncover and the problem will be solved enough.

just want to say that i did install in windows uncover with following command

go install -v github.com/projectdiscovery/uncover/cmd/uncover@latest

but still getting the same error…

Any solution for Windows?

Just install uncover and the problem will be solved enough.