8000 Nuclei Scan Result Import Error · Issue #1697 · ivre/ivre · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Nuclei Scan Result Import Error #1697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Fusion-Priyakant opened this issue Apr 3, 2025 · 3 comments
Closed

Nuclei Scan Result Import Error #1697

Fusion-Priyakant opened this issue Apr 3, 2025 · 3 comments
Assignees
Labels

Comments

@Fusion-Priyakant
Copy link

I am getting an error while importing nuclei scan results.

ivre scan2db -c Nuclei -s Nuclei output.json
WARNING:ivre:Exception (file 'output.json')
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ivre/tools/scan2db.py", line 151, in main
if database.store_scan(
~~~~~~~~~~~~~~~~~~~^
scan,
^^^^^
...<7 lines>...
zgrab_port=args.zgrab_port,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/lib/python3/dist-packages/ivre/db/init.py", line 2316, in store_scan
return store_scan_function(fname, **kargs)
File "/usr/lib/python3/dist-packages/ivre/db/init.py", line 3719, in store_scan_json_dismap
"port": rec["port"],
~~~^^^^^^^^
KeyError: 'port'
INFO:ivre:0 results imported.

======================================
ivre version
IVRE - Network recon framework
Copyright 2011 - 2024 Pierre LALET pierre@droids-corp.org
Version 0.9.21+kali

Python 3.13.2 (main, Mar 13 2025, 14:29:07) [GCC 14.2.0]

Linux kali 6.12.13-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.12.13-1kali1 (2025-02-11) x86_64

Dependencies:
MySQLdb: 1.4.6
OpenSSL: 25.0.0
PIL: 11.1.0
bottle: 0.13.2
cryptography: 43.0.0
dbus: 1.3.2
krbV: missing
matplotlib: 3.8.3
psycopg2: 2.9.10 (dt dec pq3 ext lo64)
pycurl: missing
pymongo: 4.10.1
sqlalchemy: 2.0.32
tinydb: 4.8.2
elasticsearch: missing
elasticsearch_dsl: missing

===================
nuclei --version
[INF] Nuclei Engine Version: v3.4.1
[INF] Nuclei Config Directory: /root/.config/nuclei
[INF] Nuclei Cache Directory: /root/.cache/nuclei
[INF] PDCP Directory: /root/.pdcp

Let me know if I am missing anything

@p-l-
Copy link
Member
p-l- commented Apr 9, 2025

Hi,

Sorry for the delay, could you share the file you are trying to import so that we can debug it?

@p-l- p-l- added the bug label Apr 9, 2025
@p-l- p-l- self-assigned this Apr 9, 2025
@Fusion-Priyakant
Copy link
Author

I can't share the file as it contains client information. But please look at this schema https://github.com/projectdiscovery/nuclei/blob/dev/nuclei-jsonschema.json, and the import should support all of them.

@p-l-
Copy link
Member
p-l- commented Apr 18, 2025

I'm sorry but I cannot work on that issue without further details on what is broken. I'm working with IVRE and Nuclei and it seems to work so I don't know how to help you on that.

@p-l- p-l- closed this as completed Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
0