Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Error execution legion #250

Open
bosjr opened this issue Jan 21, 2024 · 4 comments
Open

Error execution legion #250

bosjr opened this issue Jan 21, 2024 · 4 comments

Comments

@bosjr
Copy link

bosjr commented Jan 21, 2024

Au moment de l'mport de nmap, LEGION plante
A la sortie j'ai ------------------------VULNERS
Loading database...
[]
[]
NEW CVE: {'id': '', 'severity': 'PRION:CVE-2023-26044', 'url': '5.0', 'type': '/a', 'version': '1.1', 'source': 'apache', 'product': 'coyote_http_connector'}
NEW CVE: {'id': '', 'severity': 'PRION:CVE-2022-36032', 'url': '5.0', 'type': '/a', 'version': '1.1', 'source': 'apache', 'product': 'coyote_http_connector'}
Traceback (most recent call last):
File "/usr/share/legion/app/importers/NmapImporter.py", line 330, in run
db_script.output = scr.output
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'output'
zsh: IOT instruction sudo legion

@Picachu5137
Copy link

hello, have same issue

NEW CVE: {'id': '', 'severity': 'CVE-2021-43980', 'url': '2.6', 'type': '/a', 'version': '9.0.7', 'source': 'apache', 'product': 'tomcat'}
NEW CVE: {'id': '', 'severity': 'SMNTC-111247', 'url': '0.0', 'type': '/a', 'version': '9.0.7', 'source': 'apache', 'product': 'tomcat'}
NEW CVE: {'id': '', 'severity': 'SMNTC-111245', 'url': '0.0', 'type': '/a', 'version': '9.0.7', 'source': 'apache', 'product': 'tomcat'}
Traceback (most recent call last):
  File "/usr/share/legion/app/importers/NmapImporter.py", line 330, in run
    db_script.output = scr.output
    ^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'output'
zsh: IOT instruction  sudo legion

@Tynthdall
Copy link

exactly the same

Loading database...
[]
[]
[]
[]
[]
NEW CVE: {'id': '', 'severity': 'PRION:CVE-2023-26044', 'url': '5.0', 'type': '/a', 'version': '1.1', 'source': 'apache', 'product': 'coyote_http_connector'}
NEW CVE: {'id': '', 'severity': 'PRION:CVE-2022-36032', 'url': '5.0', 'type': '/a', 'version': '1.1', 'source': 'apache', 'product': 'coyote_http_connector'}
NEW CVE: {'id': '', 'severity': 'OSV:CVE-2023-26044', 'url': '5.0', 'type': '/a', 'version': '1.1', 'source': 'apache', 'product': 'coyote_http_connector'}
NEW CVE: {'id': '', 'severity': 'OSV:CVE-2022-36032', 'url': '5.0', 'type': '/a', 'version': '1.1', 'source': 'apache', 'product': 'coyote_http_connector'}
NEW CVE: {'id': '', 'severity': 'OSV:BIT-APACHE-2021-31618', 'url': '5.0', 'type': '/a', 'version': '1.1', 'source': 'apache', 'product': 'coyote_http_connector'}
-----------------------*http-server-header
Traceback (most recent call last):
  File "/usr/share/legion/app/importers/NmapImporter.py", line 330, in run
    db_script.output = scr.output
    ^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'output'
zsh: IOT instruction  sudo legion

image

@bernardyip
Copy link

bernardyip commented May 27, 2024

You can try the fix I suggested in #247 .

@sscottgvit
Copy link
Contributor

I do have a solution for this that will be coming in the first release on the new repo very soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

5 participants