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

Legion 0.4.3-1700529501 crashes on scan starting stage 3 #248

Open pabumake opened 11 months ago

pabumake commented 11 months ago

Started to tinker around with Kali and tried out Legion, scanned my local home network and it resulted in this crash.

OS: Kali Linux 2023.4 ARM running as Parallels VM on a M1 Mac

Used Settings:

[23:44:12] INFO     runStagedNmap called for stage 1                                                                                                                 controller.py:773
           INFO     Adding process: <db.entities.process.process object at 0xffff8076aed0>                                                                     ProcessRepository.py:69
           INFO     Queuing: nmap -T4 -sV -sSU -O -p T:80,81,443,4443,8080,8081,8082 -vvvv 192.168.178.0/24 -oA                                                      controller.py:704
                    /root/.local/share/legion/tmp/legion-t2hnvczh-running/nmap/20231215234412903039-nmapstage1                                                                        
           INFO     Running: nmap -T4 -sV -sSU -O -p T:80,81,443,4443,8080,8081,8082 -vvvv 192.168.178.0/24 -oA                                                      controller.py:624
                    /root/.local/share/legion/tmp/legion-t2hnvczh-running/nmap/20231215234412903039-nmapstage1                                                                        
           INFO     runCommand called for stage 1                                                                                                                    controller.py:724
           INFO     runCommand connected for stage 1                 

Crash Messages:

[23:50:48] INFO     Process 2 is done!                                                                                                                               controller.py:882
           INFO     Storing process output into db: <db.entities.processOutput.process_output object at 0xffff9a2c7a50>                                        ProcessRepository.py:86
           INFO     Halting process panel update timer as all processes are finished.                                                                                controller.py:639
           INFO     runStagedNmap called for stage 3                                                                                                                 controller.py:773
           INFO     Adding process: <db.entities.process.process object at 0xffff9a1a1390>                                                                     ProcessRepository.py:69
           INFO     Queuing: nmap -sV --script=vulners -vvvv 192.168.178.0/24 -oA                                                                                    controller.py:704
                    /root/.local/share/legion/tmp/legion-t2hnvczh-running/nmap/20231215235048073420-nmapstage3                                                                        
           INFO     Running: nmap -sV --script=vulners -vvvv 192.168.178.0/24 -oA                                                                                    controller.py:624
                    /root/.local/share/legion/tmp/legion-t2hnvczh-running/nmap/20231215235048073420-nmapstage3                                                                        
           INFO     runCommand called for stage 3                                                                                                                    controller.py:724
           INFO     runCommand connected for stage 3                                                                                                                 controller.py:727
QWidget::repaint: Recursive repaint detected
zsh: segmentation fault  sudo legion
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.