Abacus-Group-RTO / legion

Legion is an open source, easy-to-use, super-extensible and semi-automated network penetration testing tool that aids in discovery, reconnaissance and exploitation of information systems.
GNU General Public License v3.0
1.03k stars 170 forks source link

Error execution legion #250

Open bosjr opened 10 months ago

bosjr commented 10 months ago

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 commented 9 months ago

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 commented 6 months ago

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 commented 6 months ago

You can try the fix I suggested in #247 .

sscottgvit commented 1 month ago

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