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] PyQT error in Parrot OS #199

Closed Anon-Exploiter closed 3 years ago

Anon-Exploiter commented 3 years ago

Hi,

I'm trying to setup legion on parrot os on HTB Pwnbox instance.

─[sg-vip-2]─[...]─[htb-...@htb-...]─[~/legion]
└──╼ [★]$ cat /etc/*release
DISTRIB_ID=Parrot
DISTRIB_RELEASE=4.9
DISTRIB_CODENAME=rolling
DISTRIB_DESCRIPTION="Parrot 4.9"
PRETTY_NAME="Parrot GNU/Linux 4.9"
NAME="Parrot GNU/Linux"
ID=parrot
ID_LIKE=debian
VERSION="4.9"
VERSION_ID="4.9"
HOME_URL="https://www.parrotsec.org/"
SUPPORT_URL="https://community.parrotsec.org/"
BUG_REPORT_URL="https://community.parrotsec.org/"

Can't install requirements.txt with pip2 while with pip3 it works fine but while execution of startLegion.sh it gives the following error:

image

Strap yourself in, we're starting Legion...
Python 3 bin is python (/usr/bin/python)
Pip 3 bin is pip (/usr/bin/pip)
Detected Parrot ? 
Traceback (most recent call last):
  File "legion.py", line 17, in <module>
    from app.ProjectManager import ProjectManager
  File "/home/htb-outhackthem/legion/app/ProjectManager.py", line 23, in <module>
    from app.Project import Project, ProjectProperties
  File "/home/htb-outhackthem/legion/app/Project.py", line 20, in <module>
    from app.auxiliary import Wordlist
  File "/home/htb-outhackthem/legion/app/auxiliary.py", line 21, in <module>
    from PyQt5 import QtCore, QtWidgets
ModuleNotFoundError: No module named 'PyQt5'

Output while installing requirements with pip2/3:

image

image

Anon-Exploiter commented 3 years ago

Do let me know if more details are required.

Anon-Exploiter commented 3 years ago

Closing due to no response.