EntySec / Ghost

Ghost Framework is an Android post-exploitation framework that exploits the Android Debug Bridge to remotely access an Android device.

Home Page:https://entysec.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unable to complete installation

GITS2029 opened this issue · comments

$ ghost
Traceback (most recent call last):
File "/usr/local/bin/ghost", line 33, in
sys.exit(load_entry_point('ghost==8.0.0', 'console_scripts', 'ghost')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/ghost", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/init.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/dist-packages/ghost-8.0.0-py3.11.egg/ghost/init.py", line 25, in
from ghost.core.base.console import Console
File "/usr/local/lib/python3.11/dist-packages/ghost-8.0.0-py3.11.egg/ghost/core/base/console.py", line 28, in
from ghost.core.base.device import Device
File "/usr/local/lib/python3.11/dist-packages/ghost-8.0.0-py3.11.egg/ghost/core/base/device.py", line 37, in
from pex.fs import FS
ModuleNotFoundError: No module named 'pex.fs'

┌──(git5㉿kali)-[~/Desktop/tools/Ghost/ghost]
└─$ sudo ghost
Traceback (most recent call last):
File "/usr/local/bin/ghost", line 33, in
sys.exit(load_entry_point('ghost==8.0.0', 'console_scripts', 'ghost')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/ghost", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/init.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/dist-packages/ghost-8.0.0-py3.11.egg/ghost/init.py", line 25, in
from ghost.core.base.console import Console
File "/usr/local/lib/python3.11/dist-packages/ghost-8.0.0-py3.11.egg/ghost/core/base/console.py", line 28, in
from ghost.core.base.device import Device
File "/usr/local/lib/python3.11/dist-packages/ghost-8.0.0-py3.11.egg/ghost/core/base/device.py", line 37, in
from pex.fs import FS
ModuleNotFoundError: No module named 'pex.fs'

pip3 uninstall pex, pip3 install git+https://github.com/entysec/pex