-
Notifications
You must be signed in to change notification settings - Fork 257
Closed
Labels
Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Nothing further to be done with this issue. Awaiting to be closed.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Description
uncover version:
main | dev
Current Behavior:
- issue detected in nuclei [ERR] failed to load provider keys got yaml: unmarshal errors: nuclei#3749
- when
$HOME/.config/uncoverdoes not exist . fileutil.Unmarshal treats it as a string and unmarshal its which causes unmarshal error
Expected Behavior:
no error
Steps to Reproduce
- Temporarily move config folder to different location
mv ~/.config/uncover ~/.config/uncoverold- Run Nuclei it will show unmarshal error
$ nuclei
[ERR] failed to load provider keys got yaml: unmarshal errors:
line 1: cannot unmarshal !!str `/Users/...` into sources.Provider
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v2.9.5
projectdiscovery.io
[WRN] Found 3 templates loaded with deprecated protocol syntax, update before v2.9.5 for continued support.
[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: 5961
^C[INF] CTRL+C pressed: Exiting^ this happens because we try to unmarshal string
Anything else:
Line 99 in f84b0a3
return fileutil.Unmarshal(fileutil.YAML, []byte(location), provider)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Nothing further to be done with this issue. Awaiting to be closed.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.