View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007834||Kali Linux||[All Projects] General Bug||public||2022-08-02 17:34||2022-08-04 15:57|
|Target Version||Fixed in Version|
|Summary||0007834: Legion crashes every time it hits the first nap xml import|
|Description||Every time I launch legion, the first time it tries to import its xml data from the stage 1 nmap scan, the app crashes. Occurred on an existing kali install as well as a brand new one.|
|Steps To Reproduce||Install and update fresh kali from latest and make sure apt updates and upgrade are done in full.|
Launch Legion from menu or command prompt.
Input a host / ip to scan and app crashes as soon as step 1 of nmap completes, with a python segfault.
|Additional Information||If I modify the /usr/share/legion file to use /bin/bash instead of the default sh (the zsh shell default in new versions), no crash occurs.|
||Workaround: try again, it seems that it passes at the second run. I'm having a look to understand what's wrong.|
Fixed with https://gitlab.com/kalilinux/packages/pyexploitdb/-/commit/3d15e7bf0e8194f99e0c3ca2d93e6a9fbce1d0cf
The fix will be released with the package pyexploitdb version `0.2.0+20190604-0kali6`.
||Another workaround is to install the package `exploitdb`. This way pyexploitdb will use the database provided by the package, rather than doing a git clone.|
I still had intermittent issues with it (pre-fix), even on subsequent runs AFTER a successful one, but if this handles the underlying problem, I won't complain and the effort is appreciated.
Installed exploitdb and all is functioning as it should (uninstalled and reinstalled legion to get the startup script and packages back to default to confirm, and everything runs as it should).
||Thanks for reporting the issue!|
||FTR: the fix will be included in the upcoming version of Kali: 2022.3|
|2022-08-02 17:34||hayabusa||New Issue|
|2022-08-03 10:04||arnaudr||Note Added: 0016483|
|2022-08-03 13:17||arnaudr||Note Added: 0016484|
|2022-08-03 13:19||arnaudr||Note Added: 0016485|
|2022-08-03 16:53||hayabusa||Note Added: 0016487|
|2022-08-03 17:16||hayabusa||Note Added: 0016488|
|2022-08-03 17:18||arnaudr||Note Added: 0016489|
|2022-08-03 17:18||arnaudr||Assigned To||=> arnaudr|
|2022-08-03 17:18||arnaudr||Status||new => resolved|
|2022-08-03 17:18||arnaudr||Resolution||open => fixed|
|2022-08-04 15:57||arnaudr||Note Added: 0016490|