EntySec / Ghost

Ghost Framework is an Android post-exploitation framework that exploits the Android Debug Bridge to remotely access an Android device.
https://entysec.com
MIT License
2.73k stars 931 forks source link

Issue with the installation #379

Closed Jigoronico closed 2 weeks ago

Jigoronico commented 2 weeks ago

Dear all,

On Windows, I received an error : PS C:\Users\nicod\AppData\Local\Programs\Python\Python312\Scripts> .\pip3 install git+https://github.com/EntySec/Ghost Collecting git+https://github.com/EntySec/Ghost Cloning https://github.com/EntySec/Ghost to c:\users\nicod\appdata\local\temp\pip-req-build-dh_sk_x8 ERROR: Error [WinError 2] The specified file could not be found while executing command git version ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?

So I try to install Git previously but seems I had another issue : Downloading https://github.com/EntySec/Ghost

Any help ?

Thanks

Jigoronico commented 2 weeks ago

In between, I tried a new method : C:\Windows\System32>git clone https://github.com/EntySec/Ghost Cloning into 'Ghost'... remote: Enumerating objects: 2159, done. remote: Counting objects: 100% (2150/2150), done. remote: Compressing objects: 100% (1141/1141), done. remote: Total 2159 (delta 1279), reused 1806 (delta 985), pack-reused 9 (from 1) Receiving objects: 100% (2159/2159), 427.20 KiB | 1.25 MiB/s, done. Resolving deltas: 100% (1279/1279), done.

After: C:\Windows\System32\Ghost>py setup.py

But I had: Traceback (most recent call last): File "C:\Windows\System32\Ghost\setup.py", line 25, in from setuptools import setup, find_packages ModuleNotFoundError: No module named 'setuptools'

Block for today...I will see later if someone is able to help me ;)

Jigoronico commented 2 weeks ago

Dear all, I found the solution...in fact Python installation was not well done. So I just repair it, and works fine. If someone fall to the same issue, check taht first