-
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install error! #119
Comments
try installing with pip?
|
The error is more specific to python than ghauri. Try searching Google for the solution |
I not able to reproduce this issue |
I can reproduce the issue as follows for Python3.9 and Python3.11. The issue is being faced by setup.py file : Steps to Reproduce the issue for Python version 3.11 from non-user scenario:
python3 -V Referring the Installation guide from the Installation section of the repository.
git clone https://github.com/r0oth3x49/ghauri.git
cd ghauri
python3 -m pip install --upgrade -r requirements.txt As in the above screenshot, you can observe that the requirements are being already satisfied as some of the python libraries are already installed. Now, moving forward to the 3rd step of the Installation section.
First I ran the Now, in the above screenshot, you can observe that setup.py failed due to permission denied error and setup tools being deprecated. Now, let's try the second command which is So, from the above screenshot, the second command did work and installed ghauri tool successfully. So, let's proceed with the next step from the installation section.
So, from the above screenshot, we can observe that it worked and we can use tool with python3.11 but what about Python version 3.9. Let's find out. Now for Python version 3.9, I will skip 3 steps from the steps to reproduce for Python version 3.11. So I will basically start with step 1 and steps 4 to 6. Steps to Reproduce the Issue for Python Version 3.9 from non-user scenario:Note : Using Google Cloud Shell for Python Version 3.9.
python3 -V
python3 -m pip install --upgrade -r requirements.txt As in the above screenshot, you can observe that some of the requirements are upgraded to newer versions and some of the python libraries are already installed. Now, moving forward to the 3rd step of the Installation section.
First I ran the Root user scenario : Non-root user :
So, from the above screenshot, we can observe that it throws a command not found error for ghauri tool. So, to fix that I used the following commands as mentioned one-by-one : python3 -m pip install -e . --upgrade sudo python3 setup.py install ghauri --help I hope your issue is being resolved by these comment of mine. @blackcodersec |
If Anyone Getting Error While Executing
Close Terminal and Open New Terminal and try |
Hey guy, I can't find the path |
Hi, I reproduced according to the method you provided, but it still can't be executed |
@t1gress Did you followed the actual installation steps first from the Installation section of the main repository or you just followed the steps which is mentioned in this issue? Also may I know the actual python version installed on your Mac as well? |
@t1gress I hope this will help you if are facing the issue still after installation of ghauri tool. sudo python3 -m pip uninstall -r requirements.txt Just copy and paste the following commands to install ghauri tool : python3 -V
git clone https://github.com/r0oth3x49/ghauri.git
cd ghauri/
python3 -m pip install --upgrade -r requirements.txt
python3 setup.py install
python3 -m pip install -e .
ghauri --help
python3 -m pip install -e . --upgrade
sudo python3 setup.py install
ghauri --help |
@t1gress I hope this will help you if are facing the issue still after installation of ghauri tool. Just copy and paste the following commands to install ghauri tool : python3 -V
git clone https://github.com/r0oth3x49/ghauri.git
cd ghauri/
python3 -m pip install --upgrade -r requirements.txt
python3 setup.py install
python3 -m pip install -e .
ghauri --help
python3 -m pip install -e . --upgrade
sudo python3 setup.py install
ghauri --help
ls -la /usr/bin/ghauri
ls -la /usr/local/bin/ghauri If the ghauri tool is not installed in the $PATH variable, then source ~/.zshrc OR |
@Bornunique911 Thank you again for your patient reply. I executed the command according to your prompts again, but it still did not take effect, and the generated tools were not found in my |
@t1gress I don't have a Mac, so I am unable to say why the installation of the Ghauri tool is failing on Mac. Consequently, I am unable to figure out what is going wrong. Fortunately, it is working properly in Google Cloud Shell, where the Python version is 3.9.2. The steps I have provided for the installation work for Kali Linux, and I am unsure why it is not working on Mac. |
Thank you for your patient answer, I tried installing it in my kali virtual machine and it worked, I will use the tool in the virtual machine in the future |
Open Terminal and type given Command is for Kali Users Change with Your Machine Path |
Installation Update !!! You Can Try Below Command to install Ghauri. Specially For VPS Users
After Installation You Cant Find the Ghauri installed Location then Try
Then use Below Command
|
The text was updated successfully, but these errors were encountered: