xp4xbox / Python-Backdoor

This project is a cross-platform backdoor/reverse shell and post-exploitation tool written in Python3
GNU General Public License v3.0
714 stars 205 forks source link

Pyinstaller path not found #62

Closed Rezureaxx closed 3 years ago

Rezureaxx commented 3 years ago

Hey i am working on windows and i like the project but there is one issue with the setup.py file. It can not find my pyinstaller.

I installed the requirements. And I also downloaded the Pyinstaller.exe again. Is there a pyinstaller.exe command i can run to build the exe?

Thanks :D

xp4xbox commented 3 years ago

What is your pyinstaller path?

Rezureaxx commented 3 years ago

I dont know....If i type pyinstaller in cmd i get the error that it can not find it... But if i type pip install pyinstaller i get this :

Requirement already satisfied: pyinstaller in c:\users\marvin\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (4.2)
Requirement already satisfied: pefile>=2017.8.1 in c:\users\marvin\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from pyinstaller) (2019.4.18)
Requirement already satisfied: altgraph in c:\users\marvin\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from pyinstaller) (0.17)
Requirement already satisfied: setuptools in c:\program files\windowsapps\pythonsoftwarefoundation.python.3.9_3.9.1264.0_x64__qbz5n2kfra8p0\lib\site-packages (from pyinstaller) (49.2.1)
Requirement already satisfied: pywin32-ctypes>=0.2.0 in c:\users\marvin\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from pyinstaller) (0.2.0)
Requirement already satisfied: pyinstaller-hooks-contrib>=2020.6 in c:\users\marvin\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from pyinstaller) (2021.1)
Requirement already satisfied: future in c:\users\marvin\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from pefile>=2017.8.1->pyinstaller) (0.18.2)
xp4xbox commented 3 years ago

Open up your python install directory and search for 'pyinstaller' using windows explorer

Rezureaxx commented 3 years ago

c:\users\marvin\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (4.2) This is my pyinstaller path

xp4xbox commented 3 years ago

And what is your python install path?

HaythemBH2003 commented 3 years ago

simply uninstall python, re-install it and tick "Add Python to Path" at the installation graphical interface. Try it and let me know if it worked.

Rezureaxx commented 3 years ago

Okay i tried it a second time and now it works. I uninstalled python and installed it again and added it to the path. Then i installed all the requierements and now it works.

Good Work and thanks

HaythemBH2003 commented 3 years ago

I'm glad it works ! Happy to help.