-
Notifications
You must be signed in to change notification settings - Fork 175
IndexError: list index out of range #225
Comments
Just reinstall the app, it would work fine. |
First off, great program! However, I too am getting a similar situation, running Kali Linux. Reinstalling doesn't appear to make any difference, but I get a few syntax errors: david@kalilaptop:~$ sudo apt reinstall legion A couple of thing:
david@kalilaptop:~/legion$ {"time": "2022-10-08 12:34:58,582", "name": "runStagedNmap called for stage 1", "level": "INFO", "data": {"logger_name": "legion"}, "context": {"module": "controller", "filename": "controller.py", "line": 740}} Is there any reason 0.3.7 is still there instead of 0.3.8? |
@Snoopy34d 0.3.7 in the app info under the Kali release was a typo- it was indeed 0.3.8. Release 0.3.9 is in the process of being packaged by Kali and should be available soon. Release 0.3.10 is coming this next week and will follow in kali within a couple weeks as well. |
Have the same issue - reinstall is not solving the problem QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' |
@alm1931 @Snoopy34d @Elinas-of-Alba I fixed this issue by configs on my machine.
Happy hacking! |
@yuske - thank you!! Just updated to 0.3.9 (kali version) and was still getting the instant crash on a scan. Made these amendments to the config and it works perfectly again - Awesome! |
@Snoopy34d 0.3.10 will include a mechanism to detect an existing config under the user local, rename, and replace when breaking changes are made. It didn't occur to us that under the kali distribution a local config is created once if it doesn't exist and therefore doesn't get updated by reinstallation, updated, etc. |
@Snoopy34d - Sorry for the late reply! It works perfectly! Thank you very much Ok - it works to add the IP range but now it crashes in all stages: |
@Elinas-of-Alba What nmap version do you have? |
@sscottgvit Installed in snap as suggested in an other issue report |
@Elinas-of-Alba Interesting. Can you try the following in a root terminal:
Once done, if it doesn't crash, can you then run and let me know the result? |
──(root㉿Kali-EoA)-[~] Interesting - without root it works. |
@Elinas-of-Alba Very odd. For the heck of it can you try: Then try nmap again as root? |
Ok fixed it. The problem is that snap doesn't connect to the network manager with root privileges. Solution - removed snap and things are working perfect now. Thanks for your quick support!! |
@sscottgvit how can i solve this Traceback (most recent call last): please help me !!!!! |
Thank you so much. This seems to have resolved my issue. |
Thank you |
Hi All Having the same issue described here on version 0.3.9-1665098899. It seems to be either related to the BIND version of a server im scanning or the large return of the stage3 results. I can scan other systems that have port 53 open but different program and it does not crash. Return of the one that crashes is Return of one that does not crash is I can import other nmap scans that have returns for other things with no issues, just this one system and BIND version. Thank You |
Hello! I'm trying to run Legion 0.3.7 on Kali Linux, but it is crashing with the following errors upon scanning a host:
Traceback (most recent call last):
File "/usr/share/legion/app/importers/NmapImporter.py", line 283, in run
scrProcessorResults = scr.scriptSelector(db_host)
File "/usr/share/legion/parsers/Script.py", line 122, in scriptSelector
cveResults = self.getCves()
File "/usr/share/legion/parsers/Script.py", line 96, in getCves
cvesResults = self.processVulnersScriptOutput(cveOutput)
File "/usr/share/legion/parsers/Script.py", line 66, in processVulnersScriptOutput
resultCpeDetails['version'] = resultCpeData[4]
IndexError: list index out of range
zsh: IOT instruction legion
Thanks!
The text was updated successfully, but these errors were encountered: