infobyte / faraday

Open Source Vulnerability Management Platform

Home Page:https://www.faradaysec.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to import Nuclei report

leogoldim opened this issue · comments

Please search the Wiki for a solution before posting a ticket. Use the “New Support Request” button to the right of the screen to submit a ticket for technical support.

Issue Type

  • Bug Re port

Faraday version

$ pip show faraday-cli
Name: faraday-cli
Version: 2.1.10

$ faraday-cli status
FARADAY SERVER IGNORE SSL SERVER VERSION USER VALID TOKEN WORKSPACE CLI VERSION


http://172.19.0.3:5985/ False community-4.6.2 faraday ✔ 2.1.10

$ nuclei --version
[INF] Nuclei Engine Version: v3.0.3

Component Name

If you know where the problem lays indicate it:
Nuclei Plugin

Steps to reproduce

Provide detailed steps on how the issue happened so we can try to reproduce it. If the issue is random, please provide as much information as possible.

I generate the nuclei report using the options -je and -irr ($ nuclei -list names.txt -je nuclei.json -irr), when I tried to import (faraday-cli tool report nuclei.json) I got an error.

Expected results

What did you expect to happen when following the steps above?

Import the Nuclei report into Faraday.

Debugging tracebacks (current results)

Error in plugin analysis: (naabu) 'list' object has no attribute 'keys'
Error in plugin analysis: (nuclei) 'list' object has no attribute 'keys'
Error in plugin analysis: (nuclei_legacy) 'list' object has no attribute 'keys'
Error in plugin analysis: (prowler) 'list' object has no attribute 'keys'
Error in plugin analysis: (shodan) 'list' object has no attribute 'keys'
Error in plugin analysis: (windowsdefender_jsonl) 'list' object has no attribute 'keys'
❌ Failed to detect report: nuclei.json

Screenshots

If you don't find anything on the logs, please provide screenshots of the error.

Environment information

Configuration files

Mention any settings you have changed/added/removed.

Reports/Extra data

If you are having issues with plugins, please attach relevant files if possible.
(strip your reports of all sensitive information beforehand).

OS

Provide information on your operating system. Example:

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"

@leogoldim could we get a sanitized json file to analyze, currently we often use nuclei to read reports and we are not having any issue here.